Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/drivers/net/
Dloopback.c152 dev_net(dev)->loopback_dev = NULL; in loopback_dev_free()
224 net->loopback_dev = dev; in loopback_net_init()
Dvrf.c805 netdev_ref_replace(dst->dev, net->loopback_dev, in vrf_rt6_release()
807 dst->dev = net->loopback_dev; in vrf_rt6_release()
1052 netdev_ref_replace(dst->dev, net->loopback_dev, in vrf_rtable_release()
1054 dst->dev = net->loopback_dev; in vrf_rtable_release()
1110 if (port_dev == dev_net(dev)->loopback_dev) { in do_vrf_add_slave()
/linux-6.6.21/net/tipc/
Dbearer.h253 if (unlikely(dev_nit_active(net->loopback_dev))) in tipc_loopback_trace()
Dbearer.c436 if (dev == net->loopback_dev) { in tipc_enable_l2_media()
761 struct net_device *dev = net->loopback_dev; in tipc_clone_to_loopback()
796 struct net_device *dev = net->loopback_dev; in tipc_attach_loopback()
815 netdev_put(net->loopback_dev, &tn->loopback_pt.dev_tracker); in tipc_detach_loopback()
/linux-6.6.21/net/ipv6/
Dxfrm6_policy.c134 in6_dev_get(dev_net(dev)->loopback_dev); in xfrm6_dst_ifdown()
Droute.c1021 dev = dev_net(dev)->loopback_dev; in ip6_rt_get_dev_rcu()
2655 struct net_device *loopback_dev = net->loopback_dev; in ip6_blackhole_route() local
2658 rt = dst_alloc(&ip6_dst_blackhole_ops, loopback_dev, 1, in ip6_blackhole_route()
2671 rt->rt6i_idev = in6_dev_get(loopback_dev); in ip6_blackhole_route()
3564 if (dev != net->loopback_dev) { in fib6_nh_init()
3569 dev = net->loopback_dev; in fib6_nh_init()
4490 dst->dev == net->loopback_dev) in ip6_pkt_drop()
6633 init_net.ipv6.fib6_null_entry->fib6_nh->fib_nh_dev = init_net.loopback_dev; in ip6_route_init_special_entries()
6634 init_net.ipv6.ip6_null_entry->dst.dev = init_net.loopback_dev; in ip6_route_init_special_entries()
6635 init_net.ipv6.ip6_null_entry->rt6i_idev = in6_dev_get(init_net.loopback_dev); in ip6_route_init_special_entries()
[all …]
Daddrconf.c3613 addrconf_ifdown(dev, dev != net->loopback_dev); in addrconf_notify()
3721 addrconf_ifdown(dev, dev != net->loopback_dev); in addrconf_notify()
7446 addrconf_ifdown(init_net.loopback_dev, true); in addrconf_cleanup()
/linux-6.6.21/include/net/
Dnet_namespace.h122 struct net_device *loopback_dev; /* The loopback */ member
/linux-6.6.21/net/bpf/
Dtest_run.c949 struct net_device *dev = net->loopback_dev; in bpf_prog_test_run_skb()
1072 if (dev && dev != net->loopback_dev) in bpf_prog_test_run_skb()
1205 rxqueue = __netif_get_rx_queue(current->nsproxy->net_ns->loopback_dev, 0); in bpf_prog_test_run_xdp()
1572 struct net_device *dev = net->loopback_dev; in bpf_prog_test_run_nf()
/linux-6.6.21/net/ipv6/netfilter/
Dnf_reject_ipv6.c410 skb_in->dev = net->loopback_dev; in nf_send_unreach6()
/linux-6.6.21/net/ipv4/
Droute.c1741 rth = rt_dst_alloc(dev_net(dev)->loopback_dev, flags, RTN_MULTICAST, in ip_route_input_mc()
2207 return dev ? : net->loopback_dev; in ip_rt_get_dev()
2747 dev_out = net->loopback_dev; in ip_route_output_key_hash_rcu()
2798 net->loopback_dev; in ip_route_output_key_hash_rcu()
2845 new->dev = net->loopback_dev; in ipv4_blackhole_route()
3365 skb->dev = net->loopback_dev; in inet_rtm_getroute()
Dfib_frontend.c390 dev == net->loopback_dev); in __fib_validate_source()
Dip_output.c353 new_rt = rt_dst_clone(net->loopback_dev, skb_rtable(skb)); in ip_mc_finish_output()
Dnexthop.c2632 cfg->nh_ifindex = net->loopback_dev->ifindex; in nexthop_create()
/linux-6.6.21/net/netfilter/ipvs/
Dip_vs_core.c664 skb->dev = net->loopback_dev; in ip_vs_leave()
1448 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.6.21/net/mpls/
Daf_mpls.c2538 struct net_device *lo = net->loopback_dev; in resize_platform_label_table()
2552 struct net_device *lo = net->loopback_dev; in resize_platform_label_table()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c7824 if (rule->iifindex == mlxsw_sp_net(mlxsw_sp)->loopback_dev->ifindex) in mlxsw_sp_router_fib_rule_event()