Home
last modified time | relevance | path

Searched refs:loopback_dev (Results 1 – 15 of 15) sorted by relevance

/net/ipv6/
Droute.c163 struct net_device *loopback_dev = net->loopback_dev; in rt6_uncached_list_flush_dev() local
166 if (dev == loopback_dev) in rt6_uncached_list_flush_dev()
179 rt->rt6i_idev = in6_dev_get(loopback_dev); in rt6_uncached_list_flush_dev()
377 struct net_device *loopback_dev = in ip6_dst_ifdown() local
378 dev_net(dev)->loopback_dev; in ip6_dst_ifdown()
380 if (idev && idev->dev != loopback_dev) { in ip6_dst_ifdown()
381 struct inet6_dev *loopback_idev = in6_dev_get(loopback_dev); in ip6_dst_ifdown()
1017 dev = dev_net(dev)->loopback_dev; in ip6_rt_get_dev_rcu()
2658 struct net_device *loopback_dev = net->loopback_dev; in ip6_blackhole_route() local
2661 rt = dst_alloc(&ip6_dst_blackhole_ops, loopback_dev, 1, in ip6_blackhole_route()
[all …]
Dxfrm6_policy.c142 in6_dev_get(dev_net(dev)->loopback_dev); in xfrm6_dst_ifdown()
Daddrconf.c3591 addrconf_ifdown(dev, dev != net->loopback_dev); in addrconf_notify()
3695 addrconf_ifdown(dev, dev != net->loopback_dev); in addrconf_notify()
7327 idev = ipv6_add_dev(init_net.loopback_dev); in addrconf_init()
7415 addrconf_ifdown(init_net.loopback_dev, true); in addrconf_cleanup()
/net/tipc/
Dbearer.c438 if (dev == net->loopback_dev) { in tipc_enable_l2_media()
750 struct net_device *dev = net->loopback_dev; in tipc_clone_to_loopback()
785 struct net_device *dev = net->loopback_dev; in tipc_attach_loopback()
804 dev_put(net->loopback_dev); in tipc_detach_loopback()
Dbearer.h252 if (unlikely(dev_nit_active(net->loopback_dev))) in tipc_loopback_trace()
/net/bpf/
Dtest_run.c567 struct net_device *dev = net->loopback_dev; in bpf_prog_test_run_skb()
688 if (dev && dev != net->loopback_dev) in bpf_prog_test_run_skb()
796 rxqueue = __netif_get_rx_queue(current->nsproxy->net_ns->loopback_dev, 0); in bpf_prog_test_run_xdp()
/net/ipv6/netfilter/
Dnf_reject_ipv6.c404 skb_in->dev = net->loopback_dev; in nf_send_unreach6()
/net/ipv4/
Droute.c1747 rth = rt_dst_alloc(dev_net(dev)->loopback_dev, flags, RTN_MULTICAST, in ip_route_input_mc()
2214 return dev ? : net->loopback_dev; in ip_rt_get_dev()
2757 dev_out = net->loopback_dev; in ip_route_output_key_hash_rcu()
2809 net->loopback_dev; in ip_route_output_key_hash_rcu()
2856 new->dev = net->loopback_dev; in ipv4_blackhole_route()
3378 skb->dev = net->loopback_dev; in inet_rtm_getroute()
Dfib_frontend.c390 dev == net->loopback_dev); in __fib_validate_source()
Dip_output.c348 new_rt = rt_dst_clone(net->loopback_dev, skb_rtable(skb)); in ip_mc_finish_output()
Dnexthop.c2610 cfg->nh_ifindex = net->loopback_dev->ifindex; in nexthop_create()
/net/netfilter/ipvs/
Dip_vs_core.c664 skb->dev = net->loopback_dev; in ip_vs_leave()
1451 skb->dev = ipvs->net->loopback_dev; in ip_vs_out()
Dip_vs_xmit.c225 skb->dev = net->loopback_dev; in ensure_mtu_is_adequate()
/net/mpls/
Daf_mpls.c2546 struct net_device *lo = net->loopback_dev; in resize_platform_label_table()
2560 struct net_device *lo = net->loopback_dev; in resize_platform_label_table()
/net/xfrm/
Dxfrm_policy.c3759 dst->dev = dev_net(dev)->loopback_dev; in xfrm_dst_ifdown()