Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/rc/
Drc-loopback.c35 struct loopback_dev { struct
47 static struct loopback_dev loopdev; argument
51 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()
/Linux-v4.19/drivers/net/
Dloopback.c160 dev_net(dev)->loopback_dev = NULL; in loopback_dev_free()
219 net->loopback_dev = dev; in loopback_net_init()
Dvrf.c491 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()
/Linux-v4.19/net/bpf/
Dtest_run.c140 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()
/Linux-v4.19/net/ipv6/
Droute.c161 struct net_device *loopback_dev = net->loopback_dev; in rt6_uncached_list_flush_dev() local
164 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() local
396 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 …]
Dxfrm6_policy.c264 in6_dev_get(dev_net(dev)->loopback_dev); in xfrm6_dst_ifdown()
Daddrconf.c3443 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()
/Linux-v4.19/include/net/
Dnet_namespace.h103 struct net_device *loopback_dev; /* The loopback */ member
/Linux-v4.19/net/ipv6/netfilter/
Dnf_reject_ipv6.c242 skb_in->dev = net->loopback_dev; in nf_send_unreach6()
/Linux-v4.19/net/decnet/
Ddn_route.c170 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()
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()
/Linux-v4.19/net/core/
Ddst.c175 dst->dev = dev_net(dst->dev)->loopback_dev; in dst_dev_put()
/Linux-v4.19/net/ipv4/
Droute.c1507 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()
/Linux-v4.19/net/netfilter/ipvs/
Dip_vs_core.c653 skb->dev = net->loopback_dev; in ip_vs_leave()
1442 skb->dev = ipvs->net->loopback_dev; in ip_vs_out()
Dip_vs_xmit.c226 skb->dev = net->loopback_dev; in ensure_mtu_is_adequate()
/Linux-v4.19/net/mpls/
Daf_mpls.c2294 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()
/Linux-v4.19/net/xfrm/
Dxfrm_policy.c2548 dst->dev = dev_net(dev)->loopback_dev; in xfrm_dst_ifdown()