Home
last modified time | relevance | path

Searched refs:fib_nh_gw_family (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/net/ipv4/
Dfib_semantics.c300 nh->fib_nh_gw_family != onh->fib_nh_gw_family || in nh_comp()
312 if (nh->fib_nh_gw_family == AF_INET && in nh_comp()
316 if (nh->fib_nh_gw_family == AF_INET6 && in nh_comp()
633 nh->fib_nh_gw_family = cfg->fc_gw_family; in fib_nh_init()
776 if (cfg->fc_gw_family != nh->fib_nh_gw_family || in fib_get_nhs()
913 cfg->fc_gw_family != nh->fib_nh_gw_family)) in fib_nh_match()
963 if (nh->fib_nh_gw_family != AF_INET || in fib_nh_match()
973 switch (nh->fib_nh_gw_family) { in fib_nh_match()
1249 if (nh->fib_nh_gw_family == AF_INET) in fib_check_nh()
1251 else if (nh->fib_nh_gw_family == AF_INET6) in fib_check_nh()
[all …]
Dnexthop.c278 if (fib_nh->fib_nh_gw_family && in nh_fill_node()
285 if (fib6_nh->fib_nh_gw_family && in nh_fill_node()
326 if (nhi->fib_nh.fib_nh_gw_family) in nh_nlmsg_size_single()
332 if (nhi->fib6_nh.fib_nh_gw_family) in nh_nlmsg_size_single()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dbpf_iter_ipv6_route.c41 if (fib6_nh->fib_nh_gw_family) { in dump_ipv6_route()
Dbpf_tracing_net.h21 #define fib_nh_gw_family nh_common.nhc_gw_family macro
/kernel/linux/linux-5.10/include/net/
Dip6_route.h78 f6i->fib6_nh->fib_nh_gw_family; in rt6_qualify_for_ecmp()
Dip_fib.h118 #define fib_nh_gw_family nh_common.nhc_gw_family macro
/kernel/linux/linux-5.10/net/ipv6/
Droute.c626 if (!fib6_nh->fib_nh_gw_family) in rt6_probe()
718 !(fib6_flags & RTF_NONEXTHOP) && nh->fib_nh_gw_family) { in rt6_score_route()
918 res->nh->fib_nh_gw_family; in rt6_is_gw_or_nonexthop()
1126 if (nh->fib_nh_gw_family) { in ip6_rt_copy_init()
1945 (arg->gw && !nh->fib_nh_gw_family) || in fib6_nh_find_match()
1946 (!arg->gw && nh->fib_nh_gw_family) || in fib6_nh_find_match()
2233 !res.nh->fib_nh_gw_family)) { in ip6_pol_route()
2869 if (nh->fib_nh_flags & RTNH_F_DEAD || !nh->fib_nh_gw_family || in ip6_redirect_nh_match()
3283 res.nh->fib_nh_gw_family || in ip6_route_check_nh()
3296 res.nh->fib_nh_gw_family) in ip6_route_check_nh()
[all …]
Dip6_fib.c2498 if (fib6_nh->fib_nh_gw_family) { in ipv6_route_native_seq_show()
Daddrconf.c2450 if (no_gw && rt->fib6_nh->fib_nh_gw_family) in addrconf_get_prefix_route()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c4006 return nh->fib_nh_gw_family || in mlxsw_sp_fi_is_gateway()
5164 return rt->fib6_nh->fib_nh_gw_family || in mlxsw_sp_rt6_is_gateway()
/kernel/linux/linux-5.10/net/core/
Dfilter.c5506 if (res.nh->fib_nh_gw_family) in bpf_ipv6_fib_lookup()