Home
last modified time | relevance | path

Searched refs:blackhole_netdev (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/
Dloopback.c62 struct net_device *blackhole_netdev; variable
63 EXPORT_SYMBOL(blackhole_netdev);
261 blackhole_netdev = alloc_netdev(0, "blackhole_dev", NET_NAME_UNKNOWN, in blackhole_netdev_init()
263 if (!blackhole_netdev) in blackhole_netdev_init()
267 dev_init_scheduler(blackhole_netdev); in blackhole_netdev_init()
268 dev_activate(blackhole_netdev); in blackhole_netdev_init()
271 blackhole_netdev->flags |= IFF_UP | IFF_RUNNING; in blackhole_netdev_init()
272 dev_net_set(blackhole_netdev, &init_net); in blackhole_netdev_init()
/kernel/linux/linux-5.10/lib/
Dtest_blackhole_dev.c69 skb->dev = blackhole_netdev; in test_blackholedev_init()
/kernel/linux/linux-5.10/net/core/
Ddst.c163 dst->dev = blackhole_netdev; in dst_dev_put()
/kernel/linux/linux-5.10/net/ipv4/
Droute.c1579 rt->dst.dev = blackhole_netdev; in rt_flush_dev()
/kernel/linux/linux-5.10/include/linux/
Dnetdevice.h5254 extern struct net_device *blackhole_netdev;
/kernel/linux/linux-5.10/net/ipv6/
Droute.c182 rt->dst.dev = blackhole_netdev; in rt6_uncached_list_flush_dev()