Searched refs:fib_nh_gw_family (Results 1 – 11 of 11) sorted by relevance
300 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 …]
278 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()
41 if (fib6_nh->fib_nh_gw_family) { in dump_ipv6_route()
21 #define fib_nh_gw_family nh_common.nhc_gw_family macro
78 f6i->fib6_nh->fib_nh_gw_family; in rt6_qualify_for_ecmp()
118 #define fib_nh_gw_family nh_common.nhc_gw_family macro
626 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 …]
2498 if (fib6_nh->fib_nh_gw_family) { in ipv6_route_native_seq_show()
2450 if (no_gw && rt->fib6_nh->fib_nh_gw_family) in addrconf_get_prefix_route()
4006 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()
5506 if (res.nh->fib_nh_gw_family) in bpf_ipv6_fib_lookup()