Searched refs:nhsel (Results 1 – 5 of 5) sorted by relevance
/linux-4.1.27/net/switchdev/ |
D | switchdev.c | 270 int nhsel; in netdev_switch_get_dev_by_nhs() local 274 for (nhsel = 0; nhsel < fi->fib_nhs; nhsel++) { in netdev_switch_get_dev_by_nhs() 275 const struct fib_nh *nh = &fi->fib_nh[nhsel]; in netdev_switch_get_dev_by_nhs() 287 if (nhsel > 0) { in netdev_switch_get_dev_by_nhs()
|
/linux-4.1.27/net/ipv4/ |
D | fib_semantics.c | 63 int nhsel; const struct fib_nh *nh; \ 64 for (nhsel = 0, nh = (fi)->fib_nh; \ 65 nhsel < (fi)->fib_nhs; \ 66 nh++, nhsel++) 69 int nhsel; struct fib_nh *nexthop_nh; \ 70 for (nhsel = 0, nexthop_nh = (struct fib_nh *)((fi)->fib_nh); \ 71 nhsel < (fi)->fib_nhs; \ 72 nexthop_nh++, nhsel++) 79 int nhsel; const struct fib_nh *nh = (fi)->fib_nh; \ 80 for (nhsel = 0; nhsel < 1; nhsel++) [all …]
|
D | fib_trie.c | 1386 int nhsel, err; in fib_table_lookup() local 1407 for (nhsel = 0; nhsel < fi->fib_nhs; nhsel++) { in fib_table_lookup() 1408 const struct fib_nh *nh = &fi->fib_nh[nhsel]; in fib_table_lookup() 1419 res->nh_sel = nhsel; in fib_table_lookup()
|
/linux-4.1.27/net/decnet/ |
D | dn_fib.c | 51 #define for_nexthops(fi) { int nhsel; const struct dn_fib_nh *nh;\ 52 for(nhsel = 0, nh = (fi)->fib_nh; nhsel < (fi)->fib_nhs; nh++, nhsel++) 54 #define change_nexthops(fi) { int nhsel; struct dn_fib_nh *nh;\ 55 for(nhsel = 0, nh = (struct dn_fib_nh *)((fi)->fib_nh); nhsel < (fi)->fib_nhs; nh++, nhsel++) 436 if (nhsel < fi->fib_nhs) { in dn_fib_semantic_match() 437 res->nh_sel = nhsel; in dn_fib_semantic_match() 483 res->nh_sel = nhsel; in dn_fib_select_multipath()
|
D | dn_table.c | 63 #define for_nexthops(fi) { int nhsel; const struct dn_fib_nh *nh;\ 64 for(nhsel = 0, nh = (fi)->fib_nh; nhsel < (fi)->fib_nhs; nh++, nhsel++)
|