Home
last modified time | relevance | path

Searched refs:fib_nh_dev (Results 1 – 18 of 18) sorted by relevance

/linux-6.6.21/net/ipv4/
Dfib_semantics.c276 if (!nexthop_nh->fib_nh_dev) in fib_release_info()
452 if (nh->fib_nh_dev == dev && in ip_fib_check_default()
815 if (ip_ignore_linkdown(nh->fib_nh_dev) && in fib_rebalance()
828 } else if (ip_ignore_linkdown(nexthop_nh->fib_nh_dev) && in fib_rebalance()
1065 nh->fib_nh_dev = fib6_nh.fib_nh_dev; in fib_check_nh_v6_gw()
1066 netdev_hold(nh->fib_nh_dev, &nh->fib_nh_dev_tracker, in fib_check_nh_v6_gw()
1068 nh->fib_nh_oif = nh->fib_nh_dev->ifindex; in fib_check_nh_v6_gw()
1150 nh->fib_nh_dev = dev; in fib_check_nh_v4_gw()
1199 nh->fib_nh_dev = dev = FIB_RES_DEV(res); in fib_check_nh_v4_gw()
1238 nh->fib_nh_dev = in_dev->dev; in fib_check_nh_nongw()
[all …]
Dnexthop.c1129 n = __ipv6_neigh_lookup_noref_stub(nh->fib_nh_dev, &nh->fib_nh_gw6); in ipv6_good_nh()
1145 n = __ipv4_neigh_lookup_noref(nh->fib_nh_dev, in ipv4_good_nh()
/linux-6.6.21/include/trace/events/
Dfib6.h65 if (res->nh && res->nh->fib_nh_dev) {
66 strscpy(__entry->name, res->nh->fib_nh_dev->name, IFNAMSIZ);
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dmp.c133 fib_dev = fib_info_nh(fi, i)->fib_nh_dev; in mlx5_lag_get_next_fib_dev()
141 fib_dev = fib_info_nh(fi, i)->fib_nh_dev; in mlx5_lag_get_next_fib_dev()
224 int i = mlx5_lag_dev_get_netdev_idx(ldev, fib_nh->fib_nh_dev); in mlx5_lag_fib_nexthop_event()
/linux-6.6.21/net/ipv6/
Droute.c475 dev = nh->fib_nh_dev; in __rt6_device_match()
636 dev = fib6_nh->fib_nh_dev; in rt6_probe()
688 neigh = __ipv6_neigh_lookup_noref(fib6_nh->fib_nh_dev, in rt6_check_neigh()
715 if (!oif || nh->fib_nh_dev->ifindex == oif) in rt6_score_route()
742 if (ip6_ignore_linkdown(nh->fib_nh_dev) && in find_match()
1010 struct net_device *dev = res->nh->fib_nh_dev; in ip6_rt_get_dev_rcu()
1124 const struct net_device *dev = nh->fib_nh_dev; in ip6_rt_copy_init()
1179 struct net_device *dev = res->nh->fib_nh_dev; in ip6_create_rt_rcu()
1585 struct net_device *dev = nh->fib_nh_dev; in fib6_mtu()
1947 if (arg->dev != nh->fib_nh_dev || in fib6_nh_find_match()
[all …]
Dfib6_rules.c189 res->nh->fib_nh_dev); in fib6_rule_action_alt()
Dndisc.c1358 rt->fib6_nh->fib_nh_dev, NULL, in ndisc_router_discovery()
1394 rt->fib6_nh->fib_nh_dev, NULL, in ndisc_router_discovery()
Dip6_fib.c2506 dev = fib6_nh->fib_nh_dev; in ipv6_route_native_seq_show()
Daddrconf.c2478 if (rt->fib6_nh->fib_nh_dev->ifindex != dev->ifindex) in addrconf_get_prefix_route()
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dbpf_iter_ipv6_route.c47 dev = fib6_nh->fib_nh_dev; in dump_ipv6_route()
Dbpf_tracing_net.h66 #define fib_nh_dev nh_common.nhc_dev macro
/linux-6.6.21/include/net/
Dip6_route.h310 return nha->fib_nh_dev == nhb->fib_nh_dev && in rt6_duplicate_nexthop()
Dnexthop.h505 return fib6_nh->fib_nh_dev; in fib6_info_nh_dev()
Dip_fib.h115 #define fib_nh_dev nh_common.nhc_dev macro
/linux-6.6.21/drivers/net/ethernet/rocker/
Drocker_ofdpa.c2288 nh_on_port = (nh->fib_nh_dev == ofdpa_port->dev); in ofdpa_port_fib_ipv4()
2732 ofdpa_port = ofdpa_port_dev_lower_find(nh->fib_nh_dev, rocker); in ofdpa_fib4_add()
2754 ofdpa_port = ofdpa_port_dev_lower_find(nh->fib_nh_dev, rocker); in ofdpa_fib4_del()
2783 ofdpa_port = ofdpa_port_dev_lower_find(nh->fib_nh_dev, rocker); in ofdpa_fib4_abort()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c3395 ifindex = fib6_nh->fib_nh_dev->ifindex; in mlxsw_sp_nexthop6_group_cmp()
3465 struct net_device *dev = fib6_nh->fib_nh_dev; in mlxsw_sp_nexthop6_group_hash()
4407 struct net_device *dev = fib_nh->fib_nh_dev; in mlxsw_sp_nexthop4_ipip_type()
4492 struct net_device *dev = fib_nh->fib_nh_dev; in mlxsw_sp_nexthop4_init()
4560 mlxsw_sp_nexthop_type_init(mlxsw_sp, nh, fib_nh->fib_nh_dev); in mlxsw_sp_nexthop4_event()
5734 if (dev && dev == rt->fib6_nh->fib_nh_dev && in mlxsw_sp_rt6_nexthop()
6718 return rt->fib6_nh->fib_nh_dev && in mlxsw_sp_nexthop6_ipip_type()
6719 mlxsw_sp_netdev_ipip_type(mlxsw_sp, rt->fib6_nh->fib_nh_dev, ret); in mlxsw_sp_nexthop6_ipip_type()
6727 struct net_device *dev = rt->fib6_nh->fib_nh_dev; in mlxsw_sp_nexthop6_init()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_encap.c1742 fib_dev = fib_info_nh(fen_info->fi, 0)->fib_nh_dev; in mlx5e_init_fib_work_ipv4()
/linux-6.6.21/net/core/
Dfilter.c6047 dev = res.nh->fib_nh_dev; in bpf_ipv6_fib_lookup()