Lines Matching full:rh
138 struct rib_head *rh; in fib4_lookup() local
143 rh = rt_tables_get_rnh(fibnum, AF_INET); in fib4_lookup()
144 if (rh == NULL) in fib4_lookup()
155 RIB_RLOCK(rh); in fib4_lookup()
156 rn = rh->rnh_matchaddr((void *)&sin4, &rh->head); in fib4_lookup()
163 RIB_RUNLOCK(rh); in fib4_lookup()
167 RIB_RUNLOCK(rh); in fib4_lookup()
216 struct rib_head *rh; in lookup_nhop() local
221 rh = rt_tables_get_rnh(fibnum, AF_INET); in lookup_nhop()
222 if (rh == NULL) in lookup_nhop()
232 RIB_RLOCK(rh); in lookup_nhop()
233 rn = rh->rnh_matchaddr((void *)&sin4, &rh->head); in lookup_nhop()
236 RIB_RUNLOCK(rh); in lookup_nhop()
284 struct rib_head *rh; in fib4_lookup_rt() local
289 rh = rt_tables_get_rnh(fibnum, AF_INET); in fib4_lookup_rt()
290 if (rh == NULL) in fib4_lookup_rt()
302 RIB_RLOCK(rh); in fib4_lookup_rt()
303 rn = rh->rnh_matchaddr((void *)&sin4, &rh->head); in fib4_lookup_rt()
310 RIB_RUNLOCK(rh); in fib4_lookup_rt()