Searched refs:loopback_dev (Results 1 – 19 of 19) sorted by relevance
/linux-6.1.9/drivers/media/rc/ |
D | rc-loopback.c | 22 struct loopback_dev { struct 34 static struct loopback_dev loopdev; argument 38 struct loopback_dev *lodev = dev->priv; in loop_set_tx_mask() 52 struct loopback_dev *lodev = dev->priv; in loop_set_tx_carrier() 61 struct loopback_dev *lodev = dev->priv; in loop_set_tx_duty_cycle() 75 struct loopback_dev *lodev = dev->priv; in loop_set_rx_carrier_range() 90 struct loopback_dev *lodev = dev->priv; in loop_tx_ir() 143 struct loopback_dev *lodev = dev->priv; in loop_set_idle() 153 struct loopback_dev *lodev = dev->priv; in loop_set_wideband_receiver() 165 struct loopback_dev *lodev = dev->priv; in loop_set_carrier_report()
|
/linux-6.1.9/drivers/net/ |
D | loopback.c | 152 dev_net(dev)->loopback_dev = NULL; in loopback_dev_free() 224 net->loopback_dev = dev; in loopback_net_init()
|
D | vrf.c | 817 netdev_ref_replace(dst->dev, net->loopback_dev, in vrf_rt6_release() 819 dst->dev = net->loopback_dev; in vrf_rt6_release() 1064 netdev_ref_replace(dst->dev, net->loopback_dev, in vrf_rtable_release() 1066 dst->dev = net->loopback_dev; in vrf_rtable_release() 1122 if (port_dev == dev_net(dev)->loopback_dev) { in do_vrf_add_slave()
|
/linux-6.1.9/net/tipc/ |
D | bearer.h | 252 if (unlikely(dev_nit_active(net->loopback_dev))) in tipc_loopback_trace()
|
D | bearer.c | 438 if (dev == net->loopback_dev) { in tipc_enable_l2_media() 750 struct net_device *dev = net->loopback_dev; in tipc_clone_to_loopback() 785 struct net_device *dev = net->loopback_dev; in tipc_attach_loopback() 804 netdev_put(net->loopback_dev, &tn->loopback_pt.dev_tracker); in tipc_detach_loopback()
|
/linux-6.1.9/net/ipv6/ |
D | xfrm6_policy.c | 140 in6_dev_get(dev_net(dev)->loopback_dev); in xfrm6_dst_ifdown()
|
D | route.c | 1020 dev = dev_net(dev)->loopback_dev; in ip6_rt_get_dev_rcu() 2654 struct net_device *loopback_dev = net->loopback_dev; in ip6_blackhole_route() local 2657 rt = dst_alloc(&ip6_dst_blackhole_ops, loopback_dev, 1, in ip6_blackhole_route() 2670 rt->rt6i_idev = in6_dev_get(loopback_dev); in ip6_blackhole_route() 3563 if (dev != net->loopback_dev) { in fib6_nh_init() 3568 dev = net->loopback_dev; in fib6_nh_init() 4490 dst->dev == net->loopback_dev) in ip6_pkt_drop() 6625 init_net.ipv6.fib6_null_entry->fib6_nh->fib_nh_dev = init_net.loopback_dev; in ip6_route_init_special_entries() 6626 init_net.ipv6.ip6_null_entry->dst.dev = init_net.loopback_dev; in ip6_route_init_special_entries() 6627 init_net.ipv6.ip6_null_entry->rt6i_idev = in6_dev_get(init_net.loopback_dev); in ip6_route_init_special_entries() [all …]
|
D | addrconf.c | 3537 addrconf_ifdown(dev, dev != net->loopback_dev); in addrconf_notify() 3664 addrconf_ifdown(dev, dev != net->loopback_dev); in addrconf_notify() 7378 addrconf_ifdown(init_net.loopback_dev, true); in addrconf_cleanup()
|
/linux-6.1.9/include/net/ |
D | net_namespace.h | 118 struct net_device *loopback_dev; /* The loopback */ member
|
/linux-6.1.9/net/ipv6/netfilter/ |
D | nf_reject_ipv6.c | 404 skb_in->dev = net->loopback_dev; in nf_send_unreach6()
|
/linux-6.1.9/net/bpf/ |
D | test_run.c | 1083 struct net_device *dev = net->loopback_dev; in bpf_prog_test_run_skb() 1206 if (dev && dev != net->loopback_dev) in bpf_prog_test_run_skb() 1336 rxqueue = __netif_get_rx_queue(current->nsproxy->net_ns->loopback_dev, 0); in bpf_prog_test_run_xdp()
|
/linux-6.1.9/net/ipv4/ |
D | route.c | 1741 rth = rt_dst_alloc(dev_net(dev)->loopback_dev, flags, RTN_MULTICAST, in ip_route_input_mc() 2206 return dev ? : net->loopback_dev; in ip_rt_get_dev() 2746 dev_out = net->loopback_dev; in ip_route_output_key_hash_rcu() 2797 net->loopback_dev; in ip_route_output_key_hash_rcu() 2844 new->dev = net->loopback_dev; in ipv4_blackhole_route() 3366 skb->dev = net->loopback_dev; in inet_rtm_getroute()
|
D | fib_frontend.c | 390 dev == net->loopback_dev); in __fib_validate_source()
|
D | ip_output.c | 348 new_rt = rt_dst_clone(net->loopback_dev, skb_rtable(skb)); in ip_mc_finish_output()
|
D | nexthop.c | 2609 cfg->nh_ifindex = net->loopback_dev->ifindex; in nexthop_create()
|
/linux-6.1.9/net/netfilter/ipvs/ |
D | ip_vs_core.c | 664 skb->dev = net->loopback_dev; in ip_vs_leave() 1454 skb->dev = ipvs->net->loopback_dev; in ip_vs_out_hook()
|
D | ip_vs_xmit.c | 225 skb->dev = net->loopback_dev; in ensure_mtu_is_adequate()
|
/linux-6.1.9/net/mpls/ |
D | af_mpls.c | 2532 struct net_device *lo = net->loopback_dev; in resize_platform_label_table() 2546 struct net_device *lo = net->loopback_dev; in resize_platform_label_table()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_router.c | 7596 if (rule->iifindex == mlxsw_sp_net(mlxsw_sp)->loopback_dev->ifindex) in mlxsw_sp_router_fib_rule_event()
|