Searched refs:nh_dev (Results 1 – 7 of 7) sorted by relevance
95 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 …]
20 struct net_device *nh_dev; member43 #define dn_fib_dev fib_nh[0].nh_dev52 #define DN_FIB_RES_DEV(res) (DN_FIB_RES_NH(res).nh_dev)
411 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() local1562 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 …]
90 struct net_device __rcu *nh_dev; member
439 struct net_device *nh_dev; in ipv6_chk_acast_addr() local451 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()
131 struct net_device *nh_dev = nh->fib_nh_dev; in mlx5_lag_fib_route_event() local132 int i = mlx5_lag_dev_get_netdev_idx(ldev, nh_dev); in mlx5_lag_fib_route_event()
600 local nh_dev=$1; shift610 vxlan_encapped_ping_do 10 $ping_dev $(mac_get $nh_dev) \