Lines Matching full:rh
146 struct rib_head *rh; in fib6_lookup() local
151 rh = rt_tables_get_rnh(fibnum, AF_INET6); in fib6_lookup()
152 if (rh == NULL) in fib6_lookup()
164 RIB_RLOCK(rh); in fib6_lookup()
165 rn = rh->rnh_matchaddr((void *)&sin6, &rh->head); in fib6_lookup()
172 RIB_RUNLOCK(rh); in fib6_lookup()
176 RIB_RUNLOCK(rh); in fib6_lookup()
226 struct rib_head *rh; in lookup_nhop() local
231 rh = rt_tables_get_rnh(fibnum, AF_INET6); in lookup_nhop()
232 if (rh == NULL) in lookup_nhop()
246 RIB_RLOCK(rh); in lookup_nhop()
247 rn = rh->rnh_matchaddr((void *)&sin6, &rh->head); in lookup_nhop()
250 RIB_RUNLOCK(rh); in lookup_nhop()
297 struct rib_head *rh; in fib6_lookup_rt() local
302 rh = rt_tables_get_rnh(fibnum, AF_INET6); in fib6_lookup_rt()
303 if (rh == NULL) in fib6_lookup_rt()
317 RIB_RLOCK(rh); in fib6_lookup_rt()
318 rn = rh->rnh_matchaddr((void *)&sin6, &rh->head); in fib6_lookup_rt()
325 RIB_RUNLOCK(rh); in fib6_lookup_rt()