nhsel 152 include/net/nexthop.h struct nexthop *nexthop_mpath_select(const struct nh_group *nhg, int nhsel) nhsel 157 include/net/nexthop.h if (nhsel >= nhg->num_nh) nhsel 160 include/net/nexthop.h return nhg->nh_entries[nhsel].nh; nhsel 214 include/net/nexthop.h struct fib_nh_common *nexthop_fib_nhc(struct nexthop *nh, int nhsel) nhsel 226 include/net/nexthop.h nh = nexthop_mpath_select(nh_grp, nhsel); nhsel 272 include/net/nexthop.h static inline struct fib_nh_common *fib_info_nhc(struct fib_info *fi, int nhsel) nhsel 275 include/net/nexthop.h return nexthop_fib_nhc(fi->nh, nhsel); nhsel 277 include/net/nexthop.h return &fi->fib_nh[nhsel].nh_common; nhsel 281 include/net/nexthop.h static inline struct fib_nh *fib_info_nh(struct fib_info *fi, int nhsel) nhsel 285 include/net/nexthop.h return &fi->fib_nh[nhsel]; nhsel 53 net/decnet/dn_fib.c #define for_nexthops(fi) { int nhsel; const struct dn_fib_nh *nh;\ nhsel 54 net/decnet/dn_fib.c for(nhsel = 0, nh = (fi)->fib_nh; nhsel < (fi)->fib_nhs; nh++, nhsel++) nhsel 56 net/decnet/dn_fib.c #define change_nexthops(fi) { int nhsel; struct dn_fib_nh *nh;\ nhsel 57 net/decnet/dn_fib.c for(nhsel = 0, nh = (struct dn_fib_nh *)((fi)->fib_nh); nhsel < (fi)->fib_nhs; nh++, nhsel++) nhsel 440 net/decnet/dn_fib.c if (nhsel < fi->fib_nhs) { nhsel 441 net/decnet/dn_fib.c res->nh_sel = nhsel; nhsel 487 net/decnet/dn_fib.c res->nh_sel = nhsel; nhsel 64 net/decnet/dn_table.c #define for_nexthops(fi) { int nhsel; const struct dn_fib_nh *nh;\ nhsel 65 net/decnet/dn_table.c for(nhsel = 0, nh = (fi)->fib_nh; nhsel < (fi)->fib_nhs; nh++, nhsel++) nhsel 66 net/ipv4/fib_semantics.c int nhsel; const struct fib_nh *nh; \ nhsel 67 net/ipv4/fib_semantics.c for (nhsel = 0, nh = (fi)->fib_nh; \ nhsel 68 net/ipv4/fib_semantics.c nhsel < fib_info_num_path((fi)); \ nhsel 69 net/ipv4/fib_semantics.c nh++, nhsel++) nhsel 72 net/ipv4/fib_semantics.c int nhsel; struct fib_nh *nexthop_nh; \ nhsel 73 net/ipv4/fib_semantics.c for (nhsel = 0, nexthop_nh = (struct fib_nh *)((fi)->fib_nh); \ nhsel 74 net/ipv4/fib_semantics.c nhsel < fib_info_num_path((fi)); \ nhsel 75 net/ipv4/fib_semantics.c nexthop_nh++, nhsel++) nhsel 82 net/ipv4/fib_semantics.c int nhsel; const struct fib_nh *nh = (fi)->fib_nh; \ nhsel 83 net/ipv4/fib_semantics.c for (nhsel = 0; nhsel < 1; nhsel++) nhsel 86 net/ipv4/fib_semantics.c int nhsel; \ nhsel 88 net/ipv4/fib_semantics.c for (nhsel = 0; nhsel < 1; nhsel++) nhsel 293 net/ipv4/fib_semantics.c onh = fib_info_nh(ofi, nhsel); nhsel 2174 net/ipv4/fib_semantics.c res->nh_sel = nhsel; nhsel 2183 net/ipv4/fib_semantics.c res->nh_sel = nhsel; nhsel 1443 net/ipv4/fib_trie.c int nhsel, err; nhsel 1473 net/ipv4/fib_trie.c for (nhsel = 0; nhsel < fib_info_num_path(fi); nhsel++) { nhsel 1474 net/ipv4/fib_trie.c struct fib_nh_common *nhc = fib_info_nhc(fi, nhsel); nhsel 1493 net/ipv4/fib_trie.c res->nh_sel = nhsel; nhsel 2920 net/ipv4/route.c int nhsel, genid = fnhe_genid(net); nhsel 2922 net/ipv4/route.c for (nhsel = 0; nhsel < fib_info_num_path(fi); nhsel++) { nhsel 2923 net/ipv4/route.c struct fib_nh_common *nhc = fib_info_nhc(fi, nhsel); nhsel 161 net/mpls/internal.h int nhsel; struct mpls_nh *nh; u8 *__nh; \ nhsel 162 net/mpls/internal.h for (nhsel = 0, nh = (rt)->rt_nh, __nh = (u8 *)((rt)->rt_nh); \ nhsel 163 net/mpls/internal.h nhsel < (rt)->rt_nhn; \ nhsel 164 net/mpls/internal.h __nh += rt->rt_nh_size, nh = (struct mpls_nh *)__nh, nhsel++) nhsel 167 net/mpls/internal.h int nhsel; struct mpls_nh *nh; u8 *__nh; \ nhsel 168 net/mpls/internal.h for (nhsel = 0, nh = (struct mpls_nh *)((rt)->rt_nh), \ nhsel 170 net/mpls/internal.h nhsel < (rt)->rt_nhn; \ nhsel 171 net/mpls/internal.h __nh += rt->rt_nh_size, nh = (struct mpls_nh *)__nh, nhsel++)