| /src/sys/net/ |
| if_llatbl.h | 111 #define LLE_LOCK_TRACE(t, lle) log(LOG_DEBUG, \ 112 "%s:%d: LOCK(" #t "): lle=%p\n", \ 113 __func__, __LINE__, (lle)) 115 #define LLE_LOCK_TRACE(t, lle) do {} while (0) 118 #define LLE_WLOCK(lle) do { \ 119 LLE_LOCK_TRACE(WL, (lle)); \ 120 rw_enter(&(lle)->lle_lock, RW_WRITER); \ 122 #define LLE_RLOCK(lle) do { \ 123 LLE_LOCK_TRACE(RL, (lle)); \ 124 rw_enter(&(lle)->lle_lock, RW_READER); [all...] |
| if_llatbl.c | 75 static void htable_unlink_entry(struct llentry *lle); 76 static void htable_link_entry(struct lltable *llt, struct llentry *lle); 81 lltable_dump_entry(struct lltable *llt, struct llentry *lle, 96 a = (lle->la_flags & LLE_VALID) == LLE_VALID ? &lle->ll_addr : NULL; 102 if (sa->sa_family == AF_INET && lle->la_flags & LLE_PUB) { 115 rtm->rtm_rmx.rmx_expire = (lle->la_flags & LLE_STATIC) ? 0 : 116 time_mono_to_wall(lle->la_expire); 121 rtm->rtm_flags |= (lle->la_flags & LLE_STATIC) ? RTF_STATIC : 0; 122 if (lle->la_flags & LLE_PUB 192 struct llentry *lle, *next; local 274 struct llentry *lle, *next; local 305 struct llentry *lle, *next; local 343 struct llentry *lle; local 453 struct llentry *lle, *next; local 487 struct llentry *lle; local 638 struct llentry *lle; local 808 struct llentry *lle; local 879 struct llentry *lle; local [all...] |
| /src/sys/netinet/ |
| in.c | 2011 * Do actual deallocation of @lle. 2016 in_lltable_destroy_lle(struct llentry *lle) 2019 KASSERTMSG(lle->la_numheld == 0, "la_numheld=%d", lle->la_numheld); 2021 LLE_WUNLOCK(lle); 2022 LLE_LOCK_DESTROY(lle); 2023 llentry_pool_put(lle); 2029 struct llentry *lle; local 2031 lle = llentry_pool_get(PR_NOWAIT); 2032 if (lle == NULL) /* NB: caller generates msg * 2174 struct llentry *lle; local 2196 struct llentry *lle; local 2233 struct llentry *lle; local 2282 struct llentry *lle; local [all...] |
| if_arp.c | 1129 struct llentry *lle = NULL; local 1149 lle = lla_lookup(LLTABLE(ifp), 0, (struct sockaddr *)&sin); 1152 if ((lle != NULL) && (lle->la_flags & LLE_PUB)) { 1155 memcpy(ar_sha(ah), &lle->ll_addr, ah->ar_hln); 1156 LLE_RUNLOCK(lle); 1158 if (lle != NULL) 1159 LLE_RUNLOCK(lle);
|
| /src/sys/netinet6/ |
| in6.c | 2381 * Do actual deallocation of @lle. 2386 in6_lltable_destroy_lle(struct llentry *lle) 2389 KASSERTMSG(lle->la_numheld == 0, "la_numheld=%d", lle->la_numheld); 2391 LLE_WUNLOCK(lle); 2392 LLE_LOCK_DESTROY(lle); 2393 llentry_pool_put(lle); 2399 struct llentry *lle; local 2401 lle = llentry_pool_get(PR_NOWAIT); 2402 if (lle == NULL) /* NB: caller generates msg * 2495 struct llentry *lle; local 2516 struct llentry *lle; local 2554 struct llentry *lle; local 2598 struct llentry *lle; local [all...] |