Lines Matching refs:llentry
43 struct llentry;
44 CK_LIST_HEAD(llentries, llentry);
51 struct llentry { struct
52 CK_LIST_ENTRY(llentry) lle_next;
66 void (*lle_free)(struct llentry *); argument
80 CK_SLIST_HEAD(llentry_children_head,llentry) lle_children; /* child encaps */ argument
81 CK_SLIST_ENTRY(llentry) lle_child_next; /* child encaps */
82 struct llentry *lle_parent; /* parent for a child */ argument
84 CK_LIST_ENTRY(llentry) lle_chain; /* chain of deleted items */
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 *);
150 typedef int (llt_dump_entry_t)(struct lltable *, struct llentry *,
152 typedef uint32_t (llt_hash_t)(const struct llentry *, uint32_t);
154 const struct sockaddr *, u_int, struct llentry *);
155 typedef void (llt_free_entry_t)(struct lltable *, struct llentry *);
156 typedef void (llt_fill_sa_entry_t)(const struct llentry *, struct sockaddr *);
158 typedef int (llt_link_entry_t)(struct lltable *, struct llentry *);
159 typedef int (llt_unlink_entry_t)(struct llentry *);
160 typedef void (llt_mark_used_t)(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 *);
165 typedef bool (llt_match_cb_t)(struct lltable *, struct llentry *, void *);
232 size_t lltable_append_entry_queue(struct llentry *,
239 size_t llentry_free(struct llentry *);
242 size_t lltable_drop_entry_queue(struct llentry *);
243 void lltable_set_entry_addr(struct ifnet *ifp, struct llentry *lle,
245 int lltable_try_set_entry_addr(struct ifnet *ifp, struct llentry *lle,
251 struct llentry *lltable_alloc_entry(struct lltable *llt, u_int flags,
253 void lltable_free_entry(struct lltable *llt, struct llentry *lle);
256 int lltable_link_entry(struct lltable *llt, struct llentry *lle);
257 int lltable_unlink_entry(struct lltable *llt, struct llentry *lle);
258 void lltable_link_child_entry(struct llentry *parent_lle, struct llentry *child_lle);
259 void lltable_unlink_child_entry(struct llentry *child_lle);
260 void lltable_fill_sa_entry(const struct llentry *lle, struct sockaddr *sa);
264 bool lltable_acquire_wlock(struct ifnet *ifp, struct llentry *lle);
274 static __inline struct llentry *
281 void llentry_request_feedback(struct llentry *lle);
282 void llentry_mark_used(struct llentry *lle);
283 time_t llentry_get_hittime(struct llentry *lle);
284 int llentry_get_upper_family(const struct llentry *lle, int default_family);
290 llentry_provide_feedback(struct llentry *lle) in llentry_provide_feedback()
297 struct llentry *llentry_lookup_family(struct llentry *lle, int family);
307 typedef void (*lle_event_fn)(void *, struct llentry *, int);