Searched refs:fib_nhs (Results 1 – 13 of 13) sorted by relevance
66 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 …]
367 for (ret = 0; ret < res.fi->fib_nhs; ret++) { in __fib_validate_source()
1470 for (nhsel = 0; nhsel < fi->fib_nhs; nhsel++) { in fib_table_lookup()
1891 if (res->fi && res->fi->fib_nhs > 1) { in ip_mkroute_input()
54 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()
65 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()
1160 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()
51 for (ret = 0; ret < res.fi->fib_nhs; ret++) { in rpfilter_lookup_reverse()
153 for (i = 0; i < res.fi->fib_nhs; i++) { in nft_fib4_eval()
40 int fib_nhs; member
125 int fib_nhs; member
3707 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()
4311 if (res.fi->fib_nhs > 1) in bpf_ipv4_fib_lookup()