Home
last modified time | relevance | path

Searched refs:nh_dev (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/net/decnet/
Ddn_fib.c95 if (nh->nh_dev) in dn_fib_free_info()
96 dev_put(nh->nh_dev); in dn_fib_free_info()
97 nh->nh_dev = NULL; in dn_fib_free_info()
214 nh->nh_dev = dev; in dn_fib_check_nh()
236 nh->nh_dev = DN_FIB_RES_DEV(res); in dn_fib_check_nh()
237 if (nh->nh_dev == NULL) in dn_fib_check_nh()
239 dev_hold(nh->nh_dev); in dn_fib_check_nh()
241 if (!(nh->nh_dev->flags & IFF_UP)) in dn_fib_check_nh()
258 nh->nh_dev = dev; in dn_fib_check_nh()
259 dev_hold(nh->nh_dev); in dn_fib_check_nh()
[all …]
/Linux-v5.10/include/net/
Ddn_fib.h20 struct net_device *nh_dev; member
43 #define dn_fib_dev fib_nh[0].nh_dev
52 #define DN_FIB_RES_DEV(res) (DN_FIB_RES_NH(res).nh_dev)
/Linux-v5.10/net/mpls/
Daf_mpls.c411 out_dev = rcu_dereference(nh->nh_dev); in mpls_forward()
699 RCU_INIT_POINTER(nh->nh_dev, dev); in mpls_nh_assign_dev()
1512 if (rtnl_dereference(nh->nh_dev) != dev) in mpls_ifdown()
1525 RCU_INIT_POINTER(nh->nh_dev, NULL); in mpls_ifdown()
1532 if (!rtnl_dereference(nh->nh_dev)) in mpls_ifdown()
1561 struct net_device *nh_dev = in mpls_ifup() local
1562 rtnl_dereference(nh->nh_dev); in mpls_ifup()
1568 if (nh_dev != dev) in mpls_ifup()
1996 dev = rtnl_dereference(nh->nh_dev); in mpls_dump_route()
2014 dev = rtnl_dereference(nh->nh_dev); in mpls_dump_route()
[all …]
Dinternal.h90 struct net_device __rcu *nh_dev; member
/Linux-v5.10/net/ipv6/
Danycast.c439 struct net_device *nh_dev; in ipv6_chk_acast_addr() local
451 nh_dev = fib6_info_nh_dev(aca->aca_rt); in ipv6_chk_acast_addr()
452 if (!nh_dev || !net_eq(dev_net(nh_dev), net)) in ipv6_chk_acast_addr()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dlag_mp.c131 struct net_device *nh_dev = nh->fib_nh_dev; in mlx5_lag_fib_route_event() local
132 int i = mlx5_lag_dev_get_netdev_idx(ldev, nh_dev); in mlx5_lag_fib_route_event()
/Linux-v5.10/tools/testing/selftests/net/forwarding/
Dvxlan_bridge_1d.sh600 local nh_dev=$1; shift
610 vxlan_encapped_ping_do 10 $ping_dev $(mac_get $nh_dev) \