Searched refs:loopback_dev (Results 1 – 17 of 17) sorted by relevance
35 struct loopback_dev { struct47 static struct loopback_dev loopdev; argument51 struct loopback_dev *lodev = dev->priv; in loop_set_tx_mask()65 struct loopback_dev *lodev = dev->priv; in loop_set_tx_carrier()74 struct loopback_dev *lodev = dev->priv; in loop_set_tx_duty_cycle()88 struct loopback_dev *lodev = dev->priv; in loop_set_rx_carrier_range()103 struct loopback_dev *lodev = dev->priv; in loop_tx_ir()144 struct loopback_dev *lodev = dev->priv; in loop_set_idle()154 struct loopback_dev *lodev = dev->priv; in loop_set_learning_mode()166 struct loopback_dev *lodev = dev->priv; in loop_set_carrier_report()
160 dev_net(dev)->loopback_dev = NULL; in loopback_dev_free()219 net->loopback_dev = dev; in loopback_net_init()
491 dst->dev = net->loopback_dev; in vrf_rt6_release()721 dst->dev = net->loopback_dev; in vrf_rtable_release()777 if (port_dev == dev_net(dev)->loopback_dev) { in do_vrf_add_slave()
140 skb->protocol = eth_type_trans(skb, current->nsproxy->net_ns->loopback_dev); in bpf_prog_test_run_skb()189 rxqueue = __netif_get_rx_queue(current->nsproxy->net_ns->loopback_dev, 0); in bpf_prog_test_run_xdp()
161 struct net_device *loopback_dev = net->loopback_dev; in rt6_uncached_list_flush_dev() local164 if (dev == loopback_dev) in rt6_uncached_list_flush_dev()177 rt->rt6i_idev = in6_dev_get(loopback_dev); in rt6_uncached_list_flush_dev()182 rt->dst.dev = loopback_dev; in rt6_uncached_list_flush_dev()395 struct net_device *loopback_dev = in ip6_dst_ifdown() local396 dev_net(dev)->loopback_dev; in ip6_dst_ifdown()398 if (idev && idev->dev != loopback_dev) { in ip6_dst_ifdown()399 struct inet6_dev *loopback_idev = in6_dev_get(loopback_dev); in ip6_dst_ifdown()885 dev = dev_net(dev)->loopback_dev; in ip6_rt_get_dev_rcu()2133 struct net_device *loopback_dev = net->loopback_dev; in ip6_blackhole_route() local[all …]
264 in6_dev_get(dev_net(dev)->loopback_dev); in xfrm6_dst_ifdown()
3443 addrconf_ifdown(dev, dev != net->loopback_dev); in addrconf_notify()3564 addrconf_ifdown(dev, dev != net->loopback_dev); in addrconf_notify()6737 idev = ipv6_add_dev(init_net.loopback_dev); in addrconf_init()6825 addrconf_ifdown(init_net.loopback_dev, 2); in addrconf_cleanup()
103 struct net_device *loopback_dev; /* The loopback */ member
242 skb_in->dev = net->loopback_dev; in nf_send_unreach6()
170 n->dev = dev_net(dev)->loopback_dev; in dn_dst_ifdown()1032 dev_out = init_net.loopback_dev; in dn_route_output_slow()1090 dev_out = init_net.loopback_dev; in dn_route_output_slow()1113 dev_out = init_net.loopback_dev; in dn_route_output_slow()1149 dev_out = init_net.loopback_dev; in dn_route_output_slow()
830 if (rv == 0 || dev == init_net.loopback_dev) in dn_dev_bind_default()833 dev = init_net.loopback_dev; in dn_dev_bind_default()
175 dst->dev = dev_net(dst->dev)->loopback_dev; in dst_dev_put()
1507 rt->dst.dev = net->loopback_dev; in rt_flush_dev()1650 rth = rt_dst_alloc(dev_net(dev)->loopback_dev, flags, RTN_MULTICAST, in ip_route_input_mc()2053 rth = rt_dst_alloc(l3mdev_master_dev_rcu(dev) ? : net->loopback_dev, in ip_route_input_slow()2432 dev_out = net->loopback_dev; in ip_route_output_key_hash_rcu()2484 net->loopback_dev; in ip_route_output_key_hash_rcu()2561 new->dev = net->loopback_dev; in ipv4_blackhole_route()
653 skb->dev = net->loopback_dev; in ip_vs_leave()1442 skb->dev = ipvs->net->loopback_dev; in ip_vs_out()
226 skb->dev = net->loopback_dev; in ensure_mtu_is_adequate()
2294 struct net_device *lo = net->loopback_dev; in resize_platform_label_table()2308 struct net_device *lo = net->loopback_dev; in resize_platform_label_table()
2548 dst->dev = dev_net(dev)->loopback_dev; in xfrm_dst_ifdown()