Home
last modified time | relevance | path

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

/net/ipv6/
Droute.c159 struct net_device *loopback_dev = net->loopback_dev; in rt6_uncached_list_flush_dev() local
162 if (dev == loopback_dev) in rt6_uncached_list_flush_dev()
175 rt->rt6i_idev = in6_dev_get(loopback_dev); in rt6_uncached_list_flush_dev()
391 struct net_device *loopback_dev = in ip6_dst_ifdown() local
392 dev_net(dev)->loopback_dev; in ip6_dst_ifdown()
394 if (idev && idev->dev != loopback_dev) { in ip6_dst_ifdown()
395 struct inet6_dev *loopback_idev = in6_dev_get(loopback_dev); in ip6_dst_ifdown()
1028 dev = dev_net(dev)->loopback_dev; in ip6_rt_get_dev_rcu()
2519 struct net_device *loopback_dev = net->loopback_dev; in ip6_blackhole_route() local
2522 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.c3522 addrconf_ifdown(dev, dev != net->loopback_dev); in addrconf_notify()
3646 addrconf_ifdown(dev, dev != net->loopback_dev); in addrconf_notify()
7067 idev = ipv6_add_dev(init_net.loopback_dev); in addrconf_init()
7155 addrconf_ifdown(init_net.loopback_dev, 2); in addrconf_cleanup()
/net/tipc/
Dbearer.c392 if (dev == net->loopback_dev) { in tipc_enable_l2_media()
684 struct net_device *dev = net->loopback_dev; in tipc_clone_to_loopback()
719 struct net_device *dev = net->loopback_dev; in tipc_attach_loopback()
738 dev_put(net->loopback_dev); in tipc_detach_loopback()
Dbearer.h242 if (unlikely(dev_nit_active(net->loopback_dev))) in tipc_loopback_trace()
/net/bpf/
Dtest_run.c300 skb->protocol = eth_type_trans(skb, current->nsproxy->net_ns->loopback_dev); in bpf_prog_test_run_skb()
365 rxqueue = __netif_get_rx_queue(current->nsproxy->net_ns->loopback_dev, 0); in bpf_prog_test_run_xdp()
/net/decnet/
Ddn_route.c163 n->dev = dev_net(dev)->loopback_dev; in dn_dst_ifdown()
1026 dev_out = init_net.loopback_dev; in dn_route_output_slow()
1084 dev_out = init_net.loopback_dev; in dn_route_output_slow()
1107 dev_out = init_net.loopback_dev; in dn_route_output_slow()
1143 dev_out = init_net.loopback_dev; in dn_route_output_slow()
Ddn_dev.c830 if (rv == 0 || dev == init_net.loopback_dev) in dn_dev_bind_default()
833 dev = init_net.loopback_dev; in dn_dev_bind_default()
/net/ipv6/netfilter/
Dnf_reject_ipv6.c246 skb_in->dev = net->loopback_dev; in nf_send_unreach6()
/net/ipv4/
Droute.c1735 rth = rt_dst_alloc(dev_net(dev)->loopback_dev, flags, RTN_MULTICAST, in ip_route_input_mc()
2180 rth = rt_dst_alloc(l3mdev_master_dev_rcu(dev) ? : net->loopback_dev, in ip_route_input_slow()
2563 dev_out = net->loopback_dev; in ip_route_output_key_hash_rcu()
2615 net->loopback_dev; in ip_route_output_key_hash_rcu()
2693 new->dev = net->loopback_dev; in ipv4_blackhole_route()
3162 skb->dev = net->loopback_dev; in inet_rtm_getroute()
Dfib_frontend.c396 dev == net->loopback_dev); in __fib_validate_source()
Dnexthop.c1232 cfg->nh_ifindex = net->loopback_dev->ifindex; in nexthop_create()
Dip_output.c350 new_rt = rt_dst_clone(net->loopback_dev, skb_rtable(skb)); in ip_mc_finish_output()
/net/netfilter/ipvs/
Dip_vs_core.c676 skb->dev = net->loopback_dev; in ip_vs_leave()
1469 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.c2516 struct net_device *lo = net->loopback_dev; in resize_platform_label_table()
2530 struct net_device *lo = net->loopback_dev; in resize_platform_label_table()
/net/xfrm/
Dxfrm_policy.c3738 dst->dev = dev_net(dev)->loopback_dev; in xfrm_dst_ifdown()