Home
last modified time | relevance | path

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

/linux-6.6.21/net/ipv4/
Dfib_semantics.c302 nh->fib_nh_gw_family != onh->fib_nh_gw_family || in nh_comp()
314 if (nh->fib_nh_gw_family == AF_INET && in nh_comp()
318 if (nh->fib_nh_gw_family == AF_INET6 && in nh_comp()
636 nh->fib_nh_gw_family = cfg->fc_gw_family; in fib_nh_init()
779 if (cfg->fc_gw_family != nh->fib_nh_gw_family || in fib_get_nhs()
916 cfg->fc_gw_family != nh->fib_nh_gw_family)) in fib_nh_match()
966 if (nh->fib_nh_gw_family != AF_INET || in fib_nh_match()
976 switch (nh->fib_nh_gw_family) { in fib_nh_match()
1254 if (nh->fib_nh_gw_family == AF_INET) in fib_check_nh()
1256 else if (nh->fib_nh_gw_family == AF_INET6) in fib_check_nh()
[all …]
Dnexthop.c747 if (fib_nh->fib_nh_gw_family && in nh_fill_node()
754 if (fib6_nh->fib_nh_gw_family && in nh_fill_node()
808 if (nhi->fib_nh.fib_nh_gw_family) in nh_nlmsg_size_single()
814 if (nhi->fib6_nh.fib_nh_gw_family) in nh_nlmsg_size_single()
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dbpf_iter_ipv6_route.c40 if (fib6_nh->fib_nh_gw_family) { in dump_ipv6_route()
Dbpf_tracing_net.h67 #define fib_nh_gw_family nh_common.nhc_gw_family macro
/linux-6.6.21/net/ipv6/
Droute.c632 if (!fib6_nh->fib_nh_gw_family) in rt6_probe()
724 !(fib6_flags & RTF_NONEXTHOP) && nh->fib_nh_gw_family) { in rt6_score_route()
924 res->nh->fib_nh_gw_family; in rt6_is_gw_or_nonexthop()
1132 if (nh->fib_nh_gw_family) { in ip6_rt_copy_init()
1948 (arg->gw && !nh->fib_nh_gw_family) || in fib6_nh_find_match()
1949 (!arg->gw && nh->fib_nh_gw_family) || in fib6_nh_find_match()
2230 !res.nh->fib_nh_gw_family)) { in ip6_pol_route()
2995 if (nh->fib_nh_flags & RTNH_F_DEAD || !nh->fib_nh_gw_family || in ip6_redirect_nh_match()
3382 res.nh->fib_nh_gw_family || in ip6_route_check_nh()
3395 res.nh->fib_nh_gw_family) in ip6_route_check_nh()
[all …]
Dip6_fib.c2499 if (fib6_nh->fib_nh_gw_family) { in ipv6_route_native_seq_show()
Daddrconf.c2480 if (no_gw && rt->fib6_nh->fib_nh_gw_family) in addrconf_get_prefix_route()
/linux-6.6.21/include/net/
Dip6_route.h78 f6i->fib6_nh->fib_nh_gw_family; in rt6_qualify_for_ecmp()
Dip_fib.h121 #define fib_nh_gw_family nh_common.nhc_gw_family macro
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c5518 return nh->fib_nh_gw_family || in mlxsw_sp_fi_is_gateway()
6767 return rt->fib6_nh->fib_nh_gw_family || in mlxsw_sp_rt6_is_gateway()
/linux-6.6.21/net/core/
Dfilter.c6044 if (res.nh->fib_nh_gw_family) in bpf_ipv6_fib_lookup()