Lines Matching refs:nh

165 	struct nhop_object	*nh;
170 void nhop_free(struct nhop_object *nh);
181 void nhop_copy(struct nhop_object *nh, const struct nhop_object *nh_orig);
182 struct nhop_object *nhop_get_nhop(struct nhop_object *nh, int *perror);
183 int nhop_get_unlinked(struct nhop_object *nh);
185 void nhop_set_direct_gw(struct nhop_object *nh, struct ifnet *ifp);
186 bool nhop_set_gw(struct nhop_object *nh, const struct sockaddr *sa, bool is_gw);
189 void nhop_set_mtu(struct nhop_object *nh, uint32_t mtu, bool from_user);
190 void nhop_set_rtflags(struct nhop_object *nh, int rt_flags);
191 void nhop_set_pxtype_flag(struct nhop_object *nh, int nh_flag);
192 void nhop_set_broadcast(struct nhop_object *nh, bool is_broadcast);
193 void nhop_set_blackhole(struct nhop_object *nh, int blackhole_rt_flag);
194 void nhop_set_pinned(struct nhop_object *nh, bool is_pinned);
195 void nhop_set_redirect(struct nhop_object *nh, bool is_redirect);
196 void nhop_set_type(struct nhop_object *nh, enum nhop_type nh_type);
197 void nhop_set_src(struct nhop_object *nh, struct ifaddr *ifa);
198 void nhop_set_transmit_ifp(struct nhop_object *nh, struct ifnet *ifp);
205 void nhop_set_origin(struct nhop_object *nh, uint8_t origin);
206 uint8_t nhop_get_origin(const struct nhop_object *nh);
208 uint32_t nhop_get_idx(const struct nhop_object *nh);
209 uint32_t nhop_get_uidx(const struct nhop_object *nh);
210 void nhop_set_uidx(struct nhop_object *nh, uint32_t uidx);
211 enum nhop_type nhop_get_type(const struct nhop_object *nh);
212 int nhop_get_rtflags(const struct nhop_object *nh);
213 struct vnet *nhop_get_vnet(const struct nhop_object *nh);
214 struct nhop_object *nhop_select_func(struct nhop_object *nh, uint32_t flowid);
215 int nhop_get_upper_family(const struct nhop_object *nh);
216 bool nhop_set_upper_family(struct nhop_object *nh, int family);
217 int nhop_get_neigh_family(const struct nhop_object *nh);
218 uint32_t nhop_get_fibnum(const struct nhop_object *nh);
219 void nhop_set_fibnum(struct nhop_object *nh, uint32_t fibnum);
220 uint32_t nhop_get_expire(const struct nhop_object *nh);
221 void nhop_set_expire(struct nhop_object *nh, uint32_t expire);
222 struct rib_head *nhop_get_rh(const struct nhop_object *nh);