Home
last modified time | relevance | path

Searched refs:fib_nhs (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/net/ipv4/
Dfib_semantics.c66 nhsel < (fi)->fib_nhs; \
72 nhsel < (fi)->fib_nhs; \
297 unsigned int val = fi->fib_nhs; in fib_info_hashfn()
321 if (fi->fib_nhs != nfi->fib_nhs) in fib_find_info()
331 (nfi->fib_nhs == 0 || nh_comp(fi, nfi) == 0)) in fib_find_info()
377 if (fi->fib_nhs) { in fib_nlmsg_size()
399 payload += nla_total_size((fi->fib_nhs * nhsize) + in fib_nlmsg_size()
565 if (fi->fib_nhs < 2) in fib_rebalance()
1105 fi->fib_nhs = nhs; in fib_create_info()
1231 if (linkdown == fi->fib_nhs) in fib_create_info()
[all …]
Dfib_frontend.c367 for (ret = 0; ret < res.fi->fib_nhs; ret++) { in __fib_validate_source()
Dfib_trie.c1470 for (nhsel = 0; nhsel < fi->fib_nhs; nhsel++) { in fib_table_lookup()
Droute.c1891 if (res->fi && res->fi->fib_nhs > 1) { in ip_mkroute_input()
/Linux-v4.19/net/decnet/
Ddn_fib.c54 for(nhsel = 0, nh = (fi)->fib_nh; nhsel < (fi)->fib_nhs; nh++, nhsel++)
57 for(nhsel = 0, nh = (struct dn_fib_nh *)((fi)->fib_nh); nhsel < (fi)->fib_nhs; nh++, nhsel++)
137 if (fi->fib_nhs != nfi->fib_nhs) in dn_fib_find_info()
144 (nfi->fib_nhs == 0 || dn_fib_nh_comp(fi, nfi) == 0)) in dn_fib_find_info()
291 fi->fib_nhs = nhs; in dn_fib_create_info()
440 if (nhsel < fi->fib_nhs) { in dn_fib_semantic_match()
715 } else if (dev && fi->fib_nhs) { in dn_fib_sync_down()
731 if (dead == fi->fib_nhs) { in dn_fib_sync_down()
Ddn_table.c65 for(nhsel = 0, nh = (fi)->fib_nh; nhsel < (fi)->fib_nhs; nh++, nhsel++)
285 if (fi->fib_nhs) { in dn_fib_nlmsg_size()
295 payload += nla_total_size(fi->fib_nhs * nhsize); in dn_fib_nlmsg_size()
337 if (fi->fib_nhs == 1) { in dn_fib_dump_info()
347 if (fi->fib_nhs > 1) { in dn_fib_dump_info()
Ddn_route.c1160 if (res.fi->fib_nhs > 1 && fld.flowidn_oif == 0) in dn_route_output_slow()
1401 if (res.fi->fib_nhs > 1 && fld.flowidn_oif == 0) in dn_route_input_slow()
/Linux-v4.19/net/ipv4/netfilter/
Dipt_rpfilter.c51 for (ret = 0; ret < res.fi->fib_nhs; ret++) { in rpfilter_lookup_reverse()
Dnft_fib_ipv4.c153 for (i = 0; i < res.fi->fib_nhs; i++) { in nft_fib4_eval()
/Linux-v4.19/include/net/
Ddn_fib.h40 int fib_nhs; member
Dip_fib.h125 int fib_nhs; member
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c3707 fi->fib_nhs * sizeof(struct mlxsw_sp_nexthop); in mlxsw_sp_nexthop4_group_create()
3716 nh_grp->count = fi->fib_nhs; in mlxsw_sp_nexthop4_group_create()
/Linux-v4.19/net/core/
Dfilter.c4311 if (res.fi->fib_nhs > 1) in bpf_ipv4_fib_lookup()