Home
last modified time | relevance | path

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

/linux/net/ipv4/
H A 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()
1064 nh->fib_nh_dev = fib6_nh.fib_nh_dev; in fib_check_nh_v6_gw()
1149 nh->fib_nh_dev = dev; in fib_check_nh_v4_gw()
1237 nh->fib_nh_dev = in_dev->dev; in fib_check_nh_nongw()
1240 if (!netif_carrier_ok(nh->fib_nh_dev)) in fib_check_nh_nongw()
1548 if (!nh->fib_nh_dev) in fib_create_info()
1612 if (!nexthop_nh->fib_nh_dev) in fib_create_info()
1972 if (nh->fib_nh_dev == dev) in fib_sync_mtu()
2025 nexthop_nh->fib_nh_dev == dev) { in fib_sync_down_dev()
[all …]
H A Dnexthop.c1360 n = __ipv6_neigh_lookup_noref_stub(nh->fib_nh_dev, &nh->fib_nh_gw6); in ipv6_good_nh()
1376 n = __ipv4_neigh_lookup_noref(nh->fib_nh_dev, in ipv4_good_nh()
/linux/include/trace/events/
H A Dfib6.h65 if (res->nh && res->nh->fib_nh_dev) {
66 strscpy(__entry->name, res->nh->fib_nh_dev->name, IFNAMSIZ);
/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A 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/net/ipv6/
H A Droute.c474 dev = nh->fib_nh_dev; in __rt6_device_match()
635 dev = fib6_nh->fib_nh_dev; in rt6_probe()
1959 if (arg->dev != nh->fib_nh_dev || in fib6_nh_find_match()
3419 if (dev != res.nh->fib_nh_dev) in ip6_route_check_nh()
3422 *_dev = dev = res.nh->fib_nh_dev; in ip6_route_check_nh()
3634 fib6_nh->fib_nh_dev = dev; in fib6_nh_init()
4094 (!nh->fib_nh_dev || in ip6_route_del()
4354 if (dev == nh->fib_nh_dev && in rt6_get_dflt_router()
4803 if (rt->fib6_nh->fib_nh_dev == dev) in rt6_multipath_uses_dev()
4934 if (nh->fib_nh_dev == arg->dev) { in fib6_nh_mtu_change()
[all …]
H A Dfib6_rules.c190 res->nh->fib_nh_dev); in fib6_rule_action_alt()
H A Dndisc.c1364 rt->fib6_nh->fib_nh_dev, NULL, in ndisc_router_discovery()
1401 rt->fib6_nh->fib_nh_dev, NULL, in ndisc_router_discovery()
H A Dip6_fib.c2565 dev = fib6_nh->fib_nh_dev; in ipv6_route_native_seq_show()
H A Daddrconf.c2515 if (rt->fib6_nh->fib_nh_dev->ifindex != dev->ifindex) in addrconf_get_prefix_route()
/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_ipv6_route.c47 dev = fib6_nh->fib_nh_dev; in dump_ipv6_route()
H A Dbpf_tracing_net.h102 #define fib_nh_dev nh_common.nhc_dev macro
/linux/include/net/
H A Dip6_route.h321 return nha->fib_nh_dev == nhb->fib_nh_dev && in rt6_duplicate_nexthop()
H A Dnexthop.h535 return fib6_nh->fib_nh_dev; in fib6_info_nh_dev()
H A Dip_fib.h117 #define fib_nh_dev nh_common.nhc_dev macro
/linux/drivers/net/ethernet/rocker/
H A 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/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c3507 ifindex = fib6_nh->fib_nh_dev->ifindex; in mlxsw_sp_nexthop6_group_cmp()
3577 struct net_device *dev = fib6_nh->fib_nh_dev; in mlxsw_sp_nexthop6_group_hash()
4525 struct net_device *dev = fib_nh->fib_nh_dev; in mlxsw_sp_nexthop4_ipip_type()
4610 struct net_device *dev = fib_nh->fib_nh_dev; in mlxsw_sp_nexthop4_init()
4682 mlxsw_sp_nexthop_type_init(mlxsw_sp, nh, fib_nh->fib_nh_dev); in mlxsw_sp_nexthop4_event()
5981 if (dev && dev == rt->fib6_nh->fib_nh_dev && in mlxsw_sp_rt6_nexthop()
6965 return rt->fib6_nh->fib_nh_dev && in mlxsw_sp_nexthop6_ipip_type()
6966 mlxsw_sp_netdev_ipip_type(mlxsw_sp, rt->fib6_nh->fib_nh_dev, ret); in mlxsw_sp_nexthop6_ipip_type()
6974 struct net_device *dev = rt->fib6_nh->fib_nh_dev; in mlxsw_sp_nexthop6_init()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_encap.c1742 fib_dev = fib_info_nh(fen_info->fi, 0)->fib_nh_dev; in mlx5e_init_fib_work_ipv4()
/linux/net/core/
H A Dfilter.c6141 dev = res.nh->fib_nh_dev; in bpf_ipv6_fib_lookup()