Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/rc/
Drc-loopback.c22 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/
Dloopback.c152 dev_net(dev)->loopback_dev = NULL; in loopback_dev_free()
224 net->loopback_dev = dev; in loopback_net_init()
Dvrf.c817 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/
Dbearer.h252 if (unlikely(dev_nit_active(net->loopback_dev))) in tipc_loopback_trace()
Dbearer.c438 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/
Dxfrm6_policy.c140 in6_dev_get(dev_net(dev)->loopback_dev); in xfrm6_dst_ifdown()
Droute.c1020 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 …]
Daddrconf.c3537 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/
Dnet_namespace.h118 struct net_device *loopback_dev; /* The loopback */ member
/linux-6.1.9/net/ipv6/netfilter/
Dnf_reject_ipv6.c404 skb_in->dev = net->loopback_dev; in nf_send_unreach6()
/linux-6.1.9/net/bpf/
Dtest_run.c1083 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/
Droute.c1741 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()
Dfib_frontend.c390 dev == net->loopback_dev); in __fib_validate_source()
Dip_output.c348 new_rt = rt_dst_clone(net->loopback_dev, skb_rtable(skb)); in ip_mc_finish_output()
Dnexthop.c2609 cfg->nh_ifindex = net->loopback_dev->ifindex; in nexthop_create()
/linux-6.1.9/net/netfilter/ipvs/
Dip_vs_core.c664 skb->dev = net->loopback_dev; in ip_vs_leave()
1454 skb->dev = ipvs->net->loopback_dev; in ip_vs_out_hook()
Dip_vs_xmit.c225 skb->dev = net->loopback_dev; in ensure_mtu_is_adequate()
/linux-6.1.9/net/mpls/
Daf_mpls.c2532 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/
Dspectrum_router.c7596 if (rule->iifindex == mlxsw_sp_net(mlxsw_sp)->loopback_dev->ifindex) in mlxsw_sp_router_fib_rule_event()