Searched refs:llt (Results 1 – 4 of 4) sorted by relevance
| /xnu-8019.80.24/bsd/net/ |
| H A D | if_llatbl.c | 88 static void lltable_unlink(struct lltable *llt); 90 static void llentries_unlink(struct lltable *llt, struct llentries *head); 93 static void htable_link_entry(struct lltable *llt, struct llentry *lle); 94 static int htable_foreach_lle(struct lltable *llt, llt_foreach_cb_t *f, 101 lltable_dump_af(struct lltable *llt, struct sysctl_req *wr) in lltable_dump_af() argument 107 if (llt->llt_ifp->if_flags & IFF_LOOPBACK) { in lltable_dump_af() 112 IF_AFDATA_RLOCK(llt->llt_ifp, llt->llt_af); in lltable_dump_af() 113 error = lltable_foreach_lle(llt, in lltable_dump_af() 114 (llt_foreach_cb_t *)llt->llt_dump_entry, wr); in lltable_dump_af() 115 IF_AFDATA_RUNLOCK(llt->llt_ifp, llt->llt_af); in lltable_dump_af() [all …]
|
| H A D | if_llatbl.h | 246 void lltable_link(struct lltable *llt); 267 void lltable_update_ifaddr(struct lltable *llt); 268 struct llentry *lltable_alloc_entry(struct lltable *llt, uint16_t flags, 270 void lltable_free_entry(struct lltable *llt, struct llentry *lle); 271 int lltable_delete_addr(struct lltable *llt, u_int flags, 273 void lltable_link_entry(struct lltable *llt, struct llentry *lle); 274 void lltable_unlink_entry(struct lltable *llt, struct llentry *lle); 276 struct ifnet *lltable_get_ifp(const struct lltable *llt); 277 int lltable_get_af(const struct lltable *llt); 279 int lltable_foreach_lle(struct lltable *llt, llt_foreach_cb_t *f, [all …]
|
| /xnu-8019.80.24/bsd/netinet/ |
| H A D | in.c | 149 static void in_lltable_free_entry(struct lltable *llt, struct llentry *lle); 154 static inline struct llentry * in_lltable_find_dst(struct lltable *llt, struct in_addr dst); 155 static void in_lltable_delete_entry(struct lltable *llt, struct llentry *lle); 156 static struct llentry * in_lltable_alloc(struct lltable *llt, uint16_t flags, const struct sockaddr… 157 static struct llentry * in_lltable_lookup(struct lltable *llt, uint16_t flags, const struct sockadd… 158 static int in_lltable_dump_entry(struct lltable *llt, struct llentry *lle, struct sysctl_req *wr); 2466 in_lltable_free_entry(struct lltable *llt, struct llentry *lle) in in_lltable_free_entry() argument 2472 KASSERT(llt != NULL, ("lltable is NULL")); in in_lltable_free_entry() 2476 ifp = llt->llt_ifp; in in_lltable_free_entry() 2477 IF_AFDATA_WLOCK_ASSERT(ifp, llt->llt_af); in in_lltable_free_entry() [all …]
|
| /xnu-8019.80.24/bsd/netinet6/ |
| H A D | in6.c | 4614 in6_lltable_free_entry(struct lltable *llt, struct llentry *lle) in in6_lltable_free_entry() argument 4619 KASSERT(llt != NULL, ("lltable is NULL")); in in6_lltable_free_entry() 4623 ifp = llt->llt_ifp; in in6_lltable_free_entry() 4624 if_afdata_wlock_assert(ifp, llt->llt_af); in in6_lltable_free_entry() 4625 lltable_unlink_entry(llt, lle); in in6_lltable_free_entry() 4699 in6_lltable_find_dst(struct lltable *llt, const struct in6_addr *dst) in in6_lltable_find_dst() argument 4705 hashidx = in6_lltable_hash_dst(dst, llt->llt_hsize); in in6_lltable_find_dst() 4706 lleh = &llt->lle_head[hashidx]; in in6_lltable_find_dst() 4720 in6_lltable_delete_entry(struct lltable *llt, struct llentry *lle) in in6_lltable_delete_entry() argument 4722 #pragma unused(llt) in in6_lltable_delete_entry() [all …]
|