Lines Matching refs:lltable
64 struct lltable *lle_tbl;
143 typedef struct llentry *(llt_lookup_t)(struct lltable *, u_int flags,
145 typedef struct llentry *(llt_alloc_t)(struct lltable *, u_int flags,
147 typedef void (llt_delete_t)(struct lltable *, struct llentry *);
148 typedef void (llt_prefix_free_t)(struct lltable *,
150 typedef int (llt_dump_entry_t)(struct lltable *, struct llentry *,
155 typedef void (llt_free_entry_t)(struct lltable *, struct llentry *);
157 typedef void (llt_free_tbl_t)(struct lltable *);
158 typedef int (llt_link_entry_t)(struct lltable *, struct llentry *);
161 typedef void (llt_post_resolved_t)(struct lltable *, struct llentry *);
163 typedef int (llt_foreach_cb_t)(struct lltable *, struct llentry *, void *);
164 typedef int (llt_foreach_entry_t)(struct lltable *, llt_foreach_cb_t *, void *);
165 typedef bool (llt_match_cb_t)(struct lltable *, struct llentry *, void *);
167 struct lltable { struct
168 SLIST_ENTRY(lltable) llt_link;
226 struct lltable *lltable_allocate_htbl(uint32_t hsize);
227 void lltable_free(struct lltable *);
228 void lltable_link(struct lltable *llt);
235 struct lltable *in_lltable_get(struct ifnet *ifp);
236 struct lltable *in6_lltable_get(struct ifnet *ifp);
237 struct lltable *lltable_get(struct ifnet *ifp, int family);
250 void lltable_update_ifaddr(struct lltable *llt);
251 struct llentry *lltable_alloc_entry(struct lltable *llt, u_int flags,
253 void lltable_free_entry(struct lltable *llt, struct llentry *lle);
254 int lltable_delete_addr(struct lltable *llt, u_int flags,
256 int lltable_link_entry(struct lltable *llt, struct llentry *lle);
257 int lltable_unlink_entry(struct lltable *llt, struct llentry *lle);
261 struct ifnet *lltable_get_ifp(const struct lltable *llt);
262 int lltable_get_af(const struct lltable *llt);
266 int lltable_foreach_lle(struct lltable *llt, llt_foreach_cb_t *f,
268 void lltable_delete_conditional(struct lltable *llt, llt_match_cb_t *func,
275 lla_lookup(struct lltable *llt, u_int flags, const struct sockaddr *l3addr) in lla_lookup()