Lines Matching full:rh
79 #define RIB_LOCK_INIT(rh) rm_init_flags(&(rh)->rib_lock, "rib head lock", RM_DUPOK) argument
80 #define RIB_LOCK_DESTROY(rh) rm_destroy(&(rh)->rib_lock) argument
81 #define RIB_RLOCK(rh) rm_rlock(&(rh)->rib_lock, &_rib_tracker) argument
82 #define RIB_RUNLOCK(rh) rm_runlock(&(rh)->rib_lock, &_rib_tracker) argument
83 #define RIB_WLOCK(rh) rm_wlock(&(rh)->rib_lock) argument
84 #define RIB_WUNLOCK(rh) rm_wunlock(&(rh)->rib_lock) argument
85 #define RIB_LOCK_ASSERT(rh) rm_assert(&(rh)->rib_lock, RA_LOCKED) argument
86 #define RIB_WLOCK_ASSERT(rh) rm_assert(&(rh)->rib_lock, RA_WLOCKED) argument
208 void tmproutes_init(struct rib_head *rh);
209 void tmproutes_destroy(struct rib_head *rh);
248 int nhops_init_rib(struct rib_head *rh);
249 void nhops_destroy_rib(struct rib_head *rh);
264 void nhops_update_ifmtu(struct rib_head *rh, struct ifnet *ifp, uint32_t mtu);
265 int nhops_dump_sysctl(struct rib_head *rh, struct sysctl_req *w);
305 int nhgrp_dump_sysctl(struct rib_head *rh, struct sysctl_req *w);
307 int nhgrp_get_filtered_group(struct rib_head *rh, const struct rtentry *rt,
328 void fib_destroy_rib(struct rib_head *rh);