Searched refs:loopback_dev (Results 1 – 15 of 15) sorted by relevance
/net/ipv6/ |
D | route.c | 163 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 …]
|
D | xfrm6_policy.c | 142 in6_dev_get(dev_net(dev)->loopback_dev); in xfrm6_dst_ifdown()
|
D | addrconf.c | 3591 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/ |
D | bearer.c | 438 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()
|
D | bearer.h | 252 if (unlikely(dev_nit_active(net->loopback_dev))) in tipc_loopback_trace()
|
/net/bpf/ |
D | test_run.c | 567 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/ |
D | nf_reject_ipv6.c | 404 skb_in->dev = net->loopback_dev; in nf_send_unreach6()
|
/net/ipv4/ |
D | route.c | 1747 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()
|
D | fib_frontend.c | 390 dev == net->loopback_dev); in __fib_validate_source()
|
D | ip_output.c | 348 new_rt = rt_dst_clone(net->loopback_dev, skb_rtable(skb)); in ip_mc_finish_output()
|
D | nexthop.c | 2610 cfg->nh_ifindex = net->loopback_dev->ifindex; in nexthop_create()
|
/net/netfilter/ipvs/ |
D | ip_vs_core.c | 664 skb->dev = net->loopback_dev; in ip_vs_leave() 1451 skb->dev = ipvs->net->loopback_dev; in ip_vs_out()
|
D | ip_vs_xmit.c | 225 skb->dev = net->loopback_dev; in ensure_mtu_is_adequate()
|
/net/mpls/ |
D | af_mpls.c | 2546 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/ |
D | xfrm_policy.c | 3759 dst->dev = dev_net(dev)->loopback_dev; in xfrm_dst_ifdown()
|