Searched refs:blackhole_netdev (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/net/ |
H A D | loopback.c | 63 struct net_device *blackhole_netdev; variable 64 EXPORT_SYMBOL(blackhole_netdev); 262 blackhole_netdev = alloc_netdev(0, "blackhole_dev", NET_NAME_UNKNOWN, in blackhole_netdev_init() 264 if (!blackhole_netdev) in blackhole_netdev_init() 268 dev_init_scheduler(blackhole_netdev); in blackhole_netdev_init() 269 dev_activate(blackhole_netdev); in blackhole_netdev_init() 272 blackhole_netdev->flags |= IFF_UP | IFF_RUNNING; in blackhole_netdev_init() 273 dev_net_set(blackhole_netdev, &init_net); in blackhole_netdev_init()
|
/linux/lib/ |
H A D | test_blackhole_dev.c | 68 skb->dev = blackhole_netdev; in test_blackholedev_init()
|
/linux/net/core/ |
H A D | dst.c | 153 dst->dev = blackhole_netdev; in dst_dev_put() 154 netdev_ref_replace(dev, blackhole_netdev, &dst->dev_tracker, in dst_dev_put()
|
/linux/net/ipv6/ |
H A D | route.c | 178 rt->rt6i_idev = in6_dev_get(blackhole_netdev); in rt6_uncached_list_flush_dev() 184 rt->dst.dev = blackhole_netdev; in rt6_uncached_list_flush_dev() 185 netdev_ref_replace(rt_dev, blackhole_netdev, in rt6_uncached_list_flush_dev() 379 if (idev && idev->dev != blackhole_netdev) { in ip6_dst_ifdown() 380 struct inet6_dev *blackhole_idev = in6_dev_get(blackhole_netdev); in ip6_dst_ifdown()
|
H A D | addrconf.c | 381 if (dev->mtu < IPV6_MIN_MTU && dev != blackhole_netdev) in ipv6_add_dev() 418 if (dev != blackhole_netdev) { in ipv6_add_dev() 455 if (dev != blackhole_netdev) { in ipv6_add_dev() 466 if (dev != blackhole_netdev) { in ipv6_add_dev() 7473 idev = ipv6_add_dev(blackhole_netdev); in addrconf_init()
|
/linux/net/ipv4/ |
H A D | devinet.c | 298 if (dev != blackhole_netdev) { in inetdev_init() 354 if (!inetdev_init(blackhole_netdev)) in inet_blackhole_dev_init()
|
H A D | route.c | 1544 rt->dst.dev = blackhole_netdev; in rt_flush_dev() 1545 netdev_ref_replace(dev, blackhole_netdev, in rt_flush_dev()
|
/linux/include/linux/ |
H A D | netdevice.h | 5338 extern struct net_device *blackhole_netdev;
|
/linux/net/xfrm/ |
H A D | xfrm_policy.c | 3933 dst->dev = blackhole_netdev; in xfrm_dst_ifdown()
|