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 *);
160 typedef int (llt_foreach_cb_t)(struct lltable *, struct llentry *, void *);
161 typedef int (llt_foreach_entry_t)(struct lltable *, llt_foreach_cb_t *, void *);
163 struct lltable {
164 SLIST_ENTRY(lltable) llt_link;
211 struct lltable *lltable_allocate_htbl(uint32_t hsize);
212 void lltable_free(struct lltable *);
213 void lltable_link(struct lltable *llt);
222 struct llentry *llentry_alloc(struct ifnet *, struct lltable *,
234 void lltable_update_ifaddr(struct lltable *llt);
235 struct llentry *lltable_alloc_entry(struct lltable *llt, u_int flags,
237 void lltable_free_entry(struct lltable *llt, struct llentry *lle);
238 int lltable_delete_addr(struct lltable *llt, u_int flags,
240 void lltable_link_entry(struct lltable *llt, struct llentry *lle);
241 void lltable_unlink_entry(struct lltable *llt, struct llentry *lle);
243 struct ifnet *lltable_get_ifp(const struct lltable *llt);
244 int lltable_get_af(const struct lltable *llt);
246 int lltable_foreach_lle(struct lltable *llt, llt_foreach_cb_t *f,
252 lla_lookup(struct lltable *llt, u_int flags, const struct sockaddr *l3addr)