Searched refs:nhsel (Results 1 – 2 of 2) sorted by relevance
| /linux/include/net/ |
| H A D | nexthop.h | 336 struct nexthop *nexthop_mpath_select(const struct nh_group *nhg, int nhsel) in nexthop_mpath_select() 339 * the nexthop before checking nhsel in nexthop_mpath_select() 341 if (nhsel >= nhg->num_nh) in nexthop_mpath_select() 344 return nhg->nh_entries[nhsel].nh; 398 struct fib_nh_common *nexthop_fib_nhc(struct nexthop *nh, int nhsel) in nexthop_fib_nhc() 410 nh = nexthop_mpath_select(nh_grp, nhsel); in nexthop_fib_nhc() 425 int *nhsel) in nexthop_get_nhc_lookup() 438 *nhsel = i; in nexthop_get_nhc_lookup() 445 *nhsel = 0; in nexthop_get_nhc_lookup() 489 static inline struct fib_nh_common *fib_info_nhc(struct fib_info *fi, int nhsel) in fib_info_nhc() 334 nexthop_mpath_select(const struct nh_group * nhg,int nhsel) nexthop_mpath_select() argument 396 nexthop_fib_nhc(struct nexthop * nh,int nhsel) nexthop_fib_nhc() argument 423 nexthop_get_nhc_lookup(const struct nexthop * nh,int fib_flags,const struct flowi4 * flp,int * nhsel) nexthop_get_nhc_lookup() argument 487 fib_info_nhc(struct fib_info * fi,int nhsel) fib_info_nhc() argument 496 fib_info_nh(struct fib_info * fi,int nhsel) fib_info_nh() argument [all...] |
| /linux/net/ipv4/ |
| H A D | fib_trie.c | 1552 int nhsel, err; in fib_table_lookup() local 1585 &nhsel); in fib_table_lookup() 1591 for (nhsel = 0; nhsel < fib_info_num_path(fi); nhsel++) { in fib_table_lookup() 1592 nhc = fib_info_nhc(fi, nhsel); in fib_table_lookup() 1602 res->nh_sel = nhsel; in fib_table_lookup()
|