Searched refs:llt (Results 1 – 4 of 4) sorted by relevance
| /xnu-8792.41.9/bsd/net/ |
| H A D | if_llatbl.c | 86 static void lltable_unlink(struct lltable *llt); 88 static void llentries_unlink(struct lltable *llt, struct llentries *head); 91 static void htable_link_entry(struct lltable *llt, struct llentry *lle); 92 static int htable_foreach_lle(struct lltable *llt, llt_foreach_cb_t *f, 99 lltable_dump_af(struct lltable *llt, struct sysctl_req *wr) in lltable_dump_af() argument 105 if (llt->llt_ifp->if_flags & IFF_LOOPBACK) { in lltable_dump_af() 110 IF_AFDATA_RLOCK(llt->llt_ifp, llt->llt_af); in lltable_dump_af() 111 error = lltable_foreach_lle(llt, in lltable_dump_af() 112 (llt_foreach_cb_t *)llt->llt_dump_entry, wr); in lltable_dump_af() 113 IF_AFDATA_RUNLOCK(llt->llt_ifp, llt->llt_af); in lltable_dump_af() [all …]
|
| H A D | if_llatbl.h | 242 void lltable_link(struct lltable *llt); 263 void lltable_update_ifaddr(struct lltable *llt); 264 struct llentry *lltable_alloc_entry(struct lltable *llt, uint16_t flags, 266 void lltable_free_entry(struct lltable *llt, struct llentry *lle); 267 int lltable_delete_addr(struct lltable *llt, u_int flags, 269 void lltable_link_entry(struct lltable *llt, struct llentry *lle); 270 void lltable_unlink_entry(struct lltable *llt, struct llentry *lle); 272 struct ifnet *lltable_get_ifp(const struct lltable *llt); 273 int lltable_get_af(const struct lltable *llt); 275 int lltable_foreach_lle(struct lltable *llt, llt_foreach_cb_t *f, [all …]
|
| /xnu-8792.41.9/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); 2444 in_lltable_free_entry(struct lltable *llt, struct llentry *lle) in in_lltable_free_entry() argument 2450 KASSERT(llt != NULL, ("lltable is NULL")); in in_lltable_free_entry() 2454 ifp = llt->llt_ifp; in in_lltable_free_entry() 2455 IF_AFDATA_WLOCK_ASSERT(ifp, llt->llt_af); in in_lltable_free_entry() [all …]
|
| /xnu-8792.41.9/bsd/netinet6/ |
| H A D | in6.c | 4665 in6_lltable_free_entry(struct lltable *llt, struct llentry *lle) in in6_lltable_free_entry() argument 4670 KASSERT(llt != NULL, ("lltable is NULL")); in in6_lltable_free_entry() 4674 ifp = llt->llt_ifp; in in6_lltable_free_entry() 4675 if_afdata_wlock_assert(ifp, llt->llt_af); in in6_lltable_free_entry() 4676 lltable_unlink_entry(llt, lle); in in6_lltable_free_entry() 4750 in6_lltable_find_dst(struct lltable *llt, const struct in6_addr *dst) in in6_lltable_find_dst() argument 4756 hashidx = in6_lltable_hash_dst(dst, llt->llt_hsize); in in6_lltable_find_dst() 4757 lleh = &llt->lle_head[hashidx]; in in6_lltable_find_dst() 4771 in6_lltable_delete_entry(struct lltable *llt, struct llentry *lle) in in6_lltable_delete_entry() argument 4773 #pragma unused(llt) in in6_lltable_delete_entry() [all …]
|