Lines Matching defs:lltable

68 	struct lltable		 *lle_tbl;
141 typedef struct llentry *(llt_lookup_t)(struct lltable *, u_int flags,
143 typedef struct llentry *(llt_alloc_t)(struct lltable *, u_int flags,
145 typedef void (llt_delete_t)(struct lltable *, struct llentry *);
146 typedef void (llt_prefix_free_t)(struct lltable *,
148 typedef int (llt_dump_entry_t)(struct lltable *, struct llentry *,
153 typedef void (llt_free_entry_t)(struct lltable *, struct llentry *);
155 typedef void (llt_free_tbl_t)(struct lltable *);
156 typedef void (llt_link_entry_t)(struct lltable *, struct llentry *);
159 typedef int (llt_foreach_cb_t)(struct lltable *, struct llentry *, void *);
160 typedef int (llt_foreach_entry_t)(struct lltable *, llt_foreach_cb_t *, void *);
162 struct lltable {
163 SLIST_ENTRY(lltable) llt_link;
209 struct lltable *lltable_allocate_htbl(uint32_t hsize);
210 void lltable_free(struct lltable *);
211 void lltable_link(struct lltable *llt);
220 struct llentry *llentry_alloc(struct ifnet *, struct lltable *,
232 void lltable_update_ifaddr(struct lltable *llt);
233 struct llentry *lltable_alloc_entry(struct lltable *llt, u_int flags,
235 void lltable_free_entry(struct lltable *llt, struct llentry *lle);
236 int lltable_delete_addr(struct lltable *llt, u_int flags,
238 void lltable_link_entry(struct lltable *llt, struct llentry *lle);
239 void lltable_unlink_entry(struct lltable *llt, struct llentry *lle);
241 struct ifnet *lltable_get_ifp(const struct lltable *llt);
242 int lltable_get_af(const struct lltable *llt);
244 int lltable_foreach_lle(struct lltable *llt, llt_foreach_cb_t *f,
250 lla_lookup(struct lltable *llt, u_int flags, const struct sockaddr *l3addr)