Home
last modified time | relevance | path

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

/linux-4.1.27/net/ipv4/
Dfib_semantics.c65 nhsel < (fi)->fib_nhs; \
71 nhsel < (fi)->fib_nhs; \
288 unsigned int val = fi->fib_nhs; in fib_info_hashfn()
312 if (fi->fib_nhs != nfi->fib_nhs) in fib_find_info()
322 (nfi->fib_nhs == 0 || nh_comp(fi, nfi) == 0)) in fib_find_info()
368 if (fi->fib_nhs) { in fib_nlmsg_size()
378 payload += nla_total_size(fi->fib_nhs * nhsize); in fib_nlmsg_size()
824 fi->fib_nhs = nhs; in fib_create_info()
1029 if (fi->fib_nhs == 1) { in fib_dump_info()
1043 if (fi->fib_nhs > 1) { in fib_dump_info()
[all …]
Dfib_frontend.c334 for (ret = 0; ret < res.fi->fib_nhs; ret++) { in __fib_validate_source()
Droute.c1683 if (res->fi && res->fi->fib_nhs > 1) in ip_mkroute_input()
2223 if (res.fi->fib_nhs > 1 && fl4->flowi4_oif == 0) in __ip_route_output_key()
Dfib_trie.c1407 for (nhsel = 0; nhsel < fi->fib_nhs; nhsel++) { in fib_table_lookup()
/linux-4.1.27/net/decnet/
Ddn_fib.c52 for(nhsel = 0, nh = (fi)->fib_nh; nhsel < (fi)->fib_nhs; nh++, nhsel++)
55 for(nhsel = 0, nh = (struct dn_fib_nh *)((fi)->fib_nh); nhsel < (fi)->fib_nhs; nh++, nhsel++)
135 if (fi->fib_nhs != nfi->fib_nhs) in dn_fib_find_info()
142 (nfi->fib_nhs == 0 || dn_fib_nh_comp(fi, nfi) == 0)) in dn_fib_find_info()
287 fi->fib_nhs = nhs; in dn_fib_create_info()
436 if (nhsel < fi->fib_nhs) { in dn_fib_semantic_match()
707 } else if (dev && fi->fib_nhs) { in dn_fib_sync_down()
723 if (dead == fi->fib_nhs) { in dn_fib_sync_down()
Ddn_table.c64 for(nhsel = 0, nh = (fi)->fib_nh; nhsel < (fi)->fib_nhs; nh++, nhsel++)
283 if (fi->fib_nhs) { in dn_fib_nlmsg_size()
293 payload += nla_total_size(fi->fib_nhs * nhsize); in dn_fib_nlmsg_size()
335 if (fi->fib_nhs == 1) { in dn_fib_dump_info()
345 if (fi->fib_nhs > 1) { in dn_fib_dump_info()
Ddn_route.c1163 if (res.fi->fib_nhs > 1 && fld.flowidn_oif == 0) in dn_route_output_slow()
1402 if (res.fi->fib_nhs > 1 && fld.flowidn_oif == 0) in dn_route_input_slow()
/linux-4.1.27/net/ipv4/netfilter/
Dipt_rpfilter.c52 for (ret = 0; ret < res.fi->fib_nhs; ret++) { in rpfilter_lookup_reverse()
/linux-4.1.27/include/net/
Ddn_fib.h38 int fib_nhs; member
Dip_fib.h117 int fib_nhs; member
/linux-4.1.27/net/switchdev/
Dswitchdev.c274 for (nhsel = 0; nhsel < fi->fib_nhs; nhsel++) { in netdev_switch_get_dev_by_nhs()