Searched refs:nhsel (Results 1 – 4 of 4) sorted by relevance
/net/mpls/ |
D | internal.h | 161 int nhsel; struct mpls_nh *nh; u8 *__nh; \ 162 for (nhsel = 0, nh = (rt)->rt_nh, __nh = (u8 *)((rt)->rt_nh); \ 163 nhsel < (rt)->rt_nhn; \ 164 __nh += rt->rt_nh_size, nh = (struct mpls_nh *)__nh, nhsel++) 167 int nhsel; struct mpls_nh *nh; u8 *__nh; \ 168 for (nhsel = 0, nh = (struct mpls_nh *)((rt)->rt_nh), \ 170 nhsel < (rt)->rt_nhn; \ 171 __nh += rt->rt_nh_size, nh = (struct mpls_nh *)__nh, nhsel++)
|
/net/ipv4/ |
D | fib_semantics.c | 68 int nhsel; const struct fib_nh *nh; \ 69 for (nhsel = 0, nh = (fi)->fib_nh; \ 70 nhsel < fib_info_num_path((fi)); \ 71 nh++, nhsel++) 74 int nhsel; struct fib_nh *nexthop_nh; \ 75 for (nhsel = 0, nexthop_nh = (struct fib_nh *)((fi)->fib_nh); \ 76 nhsel < fib_info_num_path((fi)); \ 77 nexthop_nh++, nhsel++) 84 int nhsel; const struct fib_nh *nh = (fi)->fib_nh; \ 85 for (nhsel = 0; nhsel < 1; nhsel++) [all …]
|
D | fib_trie.c | 1573 int nhsel, err; in fib_table_lookup() local 1606 &nhsel); in fib_table_lookup() 1612 for (nhsel = 0; nhsel < fib_info_num_path(fi); nhsel++) { in fib_table_lookup() 1613 nhc = fib_info_nhc(fi, nhsel); in fib_table_lookup() 1623 res->nh_sel = nhsel; in fib_table_lookup()
|
D | route.c | 3137 int nhsel, genid = fnhe_genid(net); in fib_dump_info_fnhe() local 3139 for (nhsel = 0; nhsel < fib_info_num_path(fi); nhsel++) { in fib_dump_info_fnhe() 3140 struct fib_nh_common *nhc = fib_info_nhc(fi, nhsel); in fib_dump_info_fnhe()
|