Lines Matching refs:nexthop
21 struct nexthop;
51 struct nexthop *nh_parent;
64 struct nexthop *nh;
69 struct nexthop *nh_parent; /* nexthop of group with this entry */
79 struct nexthop { struct
102 struct nexthop *nexthop_find_by_id(struct net *net, u32 id);
105 static inline bool nexthop_get(struct nexthop *nh) in nexthop_get()
110 static inline void nexthop_put(struct nexthop *nh) in nexthop_put()
116 static inline bool nexthop_cmp(const struct nexthop *nh1, in nexthop_cmp()
117 const struct nexthop *nh2) in nexthop_cmp()
122 static inline bool nexthop_is_multipath(const struct nexthop *nh) in nexthop_is_multipath()
133 struct nexthop *nexthop_select_path(struct nexthop *nh, int hash);
135 static inline unsigned int nexthop_num_path(const struct nexthop *nh) in nexthop_num_path()
150 struct nexthop *nexthop_mpath_select(const struct nexthop *nh, int nhsel) in nexthop_mpath_select()
164 int nexthop_mpath_fill_node(struct sk_buff *skb, struct nexthop *nh, in nexthop_mpath_fill_node()
171 struct nexthop *nhe = nhg->nh_entries[i].nh; in nexthop_mpath_fill_node()
184 static inline bool nexthop_is_blackhole(const struct nexthop *nh) in nexthop_is_blackhole()
203 struct nexthop *nh; in nexthop_path_fib_result()
212 struct fib_nh_common *nexthop_fib_nhc(struct nexthop *nh, int nhsel) in nexthop_fib_nhc()
237 int fib_check_nexthop(struct nexthop *nh, u8 scope,
259 int fib6_check_nexthop(struct nexthop *nh, struct fib6_config *cfg,
262 static inline struct fib6_nh *nexthop_fib6_nh(struct nexthop *nh) in nexthop_fib6_nh()
289 struct nexthop *nh = res->f6i->nh; in nexthop_path_fib6_result()
304 int nexthop_for_each_fib6_nh(struct nexthop *nh,