Home
last modified time | relevance | path

Searched refs:nhsel (Results 1 – 4 of 4) sorted by relevance

/net/mpls/
Dinternal.h161 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/
Dfib_semantics.c68 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 …]
Dfib_trie.c1573 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()
Droute.c3137 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()