Lines Matching refs:nhop_object
52 const struct sockaddr *mask, struct nhop_object *nh);
169 struct nhop_object *rt_nhop; /* nexthop data */
232 bool nhop_can_multipath(const struct nhop_object *nh);
233 bool match_nhop_gw(const struct nhop_object *nh, const struct sockaddr *gw);
235 const struct rtentry *rt, const struct nhop_object *nh);
237 const struct nhop_object *nh);
250 void nhop_ref_object(struct nhop_object *nh);
251 int nhop_try_ref_object(struct nhop_object *nh);
252 void nhop_ref_any(struct nhop_object *nh);
253 void nhop_free_any(struct nhop_object *nh);
255 void nhop_set_type(struct nhop_object *nh, enum nhop_type nh_type);
256 void nhop_set_rtflags(struct nhop_object *nh, int rt_flags);
259 struct nhop_object **nh_ret);
260 int nhop_create_from_nhop(struct rib_head *rnh, const struct nhop_object *nh_orig,
261 struct rt_addrinfo *info, struct nhop_object **pnh_priv);
273 struct nhop_object *nhops[0]; /* nhops */
276 static inline struct nhop_object *
277 nhop_select(struct nhop_object *nh, uint32_t flowid)
310 typedef bool nhgrp_filter_cb_t(const struct nhop_object *nh, void *data);
322 int rtsock_routemsg(int cmd, struct rtentry *rt, struct nhop_object *nh,