Lines Matching defs:lr
184 struct if_llreach *lr;
190 if ((lr = ln->ln_llreach) != NULL) {
197 IFLR_LOCK(lr);
198 if (bcmp(addr, lr->lr_key.addr, alen) != 0) {
199 IFLR_UNLOCK(lr);
203 lr = NULL;
207 lr->lr_probes = 0; /* reset probe count */
208 IFLR_UNLOCK(lr);
216 if (lr == NULL) {
217 lr = ln->ln_llreach = ifnet_llreach_alloc(ifp,
219 if (lr != NULL) {
220 lr->lr_probes = 0; /* reset probe count */
226 if (nd6_debug && lr != NULL && why != NULL) {
2259 struct if_llreach *lr;
2278 lr = ln->ln_llreach;
2279 if (lr) {
2280 IFLR_LOCK(lr);
2281 lr->lr_rssi = rssi;
2282 lr->lr_lqm = (int32_t) lqm;
2283 lr->lr_npm = (int32_t) npm;
2284 IFLR_UNLOCK(lr);
2298 nd6log((LOG_DEBUG, "%s: host route to %s [lr=%p]\n", __func__,
2299 ip6_sprintf(&sin6->sin6_addr), lr));