Home
last modified time | relevance | path

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

/linux-4.4.14/net/ipv4/
Dfib_semantics.c65 nhsel < (fi)->fib_nhs; \
71 nhsel < (fi)->fib_nhs; \
290 unsigned int val = fi->fib_nhs; in fib_info_hashfn()
314 if (fi->fib_nhs != nfi->fib_nhs) in fib_find_info()
324 (nfi->fib_nhs == 0 || nh_comp(fi, nfi) == 0)) in fib_find_info()
370 if (fi->fib_nhs) { in fib_nlmsg_size()
392 payload += nla_total_size((fi->fib_nhs * nhsize) + in fib_nlmsg_size()
540 if (fi->fib_nhs < 2) in fib_rebalance()
1055 fi->fib_nhs = nhs; in fib_create_info()
1156 if (linkdown == fi->fib_nhs) in fib_create_info()
[all …]
Dfib_frontend.c362 for (ret = 0; ret < res.fi->fib_nhs; ret++) { in __fib_validate_source()
Dfib_trie.c1418 for (nhsel = 0; nhsel < fi->fib_nhs; nhsel++) { in fib_table_lookup()
Droute.c1743 if (res->fi && res->fi->fib_nhs > 1) { in ip_mkroute_input()
/linux-4.4.14/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.c1168 if (res.fi->fib_nhs > 1 && fld.flowidn_oif == 0) in dn_route_output_slow()
1407 if (res.fi->fib_nhs > 1 && fld.flowidn_oif == 0) in dn_route_input_slow()
/linux-4.4.14/net/ipv4/netfilter/
Dipt_rpfilter.c51 for (ret = 0; ret < res.fi->fib_nhs; ret++) { in rpfilter_lookup_reverse()
/linux-4.4.14/include/net/
Ddn_fib.h38 int fib_nhs; member
Dip_fib.h120 int fib_nhs; member
/linux-4.4.14/net/switchdev/
Dswitchdev.c1129 for (nhsel = 0; nhsel < fi->fib_nhs; nhsel++) { in switchdev_get_dev_by_nhs()