Lines Matching refs:lltable

77 static SLIST_HEAD(, lltable) lltables = SLIST_HEAD_INITIALIZER(lltables);
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()
124 struct lltable *llt = NULL; in lltable_sysctl_dumparp()
151 htable_foreach_lle(struct lltable *llt, llt_foreach_cb_t *f, void *farg) in htable_foreach_lle()
171 htable_link_entry(struct lltable *llt, struct llentry *lle) in htable_link_entry()
213 htable_prefix_free_cb(struct lltable *llt, struct llentry *lle, void *farg) in htable_prefix_free_cb()
228 htable_prefix_free(struct lltable *llt, const struct sockaddr *addr, in htable_prefix_free()
253 htable_free_tbl(struct lltable *llt)
256 kfree_type(struct lltable, llt);
261 llentries_unlink(struct lltable *llt, struct llentries *head) in llentries_unlink()
387 llentry_update_ifaddr(struct lltable *llt, struct llentry *lle, void *farg)
422 lltable_update_ifaddr(struct lltable *llt)
467 llentry_alloc(struct ifnet *ifp, struct lltable *lt, in llentry_alloc()
511 lltable_free_cb(struct lltable *llt, struct llentry *lle, void *farg) in lltable_free_cb()
528 lltable_free(struct lltable *llt) in lltable_free()
559 lltable_purge(struct lltable *llt) in lltable_purge()
583 struct lltable *llt;
614 lltable_delete_addr(struct lltable *llt, u_int flags, in lltable_delete_addr()
646 struct lltable *llt; in lltable_prefix_free()
659 struct lltable *
662 struct lltable *llt; in lltable_allocate_htbl()
664 llt = kalloc_type(struct lltable, Z_WAITOK | Z_ZERO); in lltable_allocate_htbl()
686 lltable_link(struct lltable *llt) in lltable_link()
695 lltable_unlink(struct lltable *llt)
698 SLIST_REMOVE(&lltables, llt, lltable, llt_link);
708 lltable_foreach_lle(struct lltable *llt, llt_foreach_cb_t *f, void *farg) in lltable_foreach_lle()
714 lltable_alloc_entry(struct lltable *llt, uint16_t flags, in lltable_alloc_entry()
721 lltable_free_entry(struct lltable *llt, struct llentry *lle) in lltable_free_entry()
727 lltable_link_entry(struct lltable *llt, struct llentry *lle) in lltable_link_entry()
733 lltable_unlink_entry(struct lltable *llt, struct llentry *lle) in lltable_unlink_entry()
741 struct lltable *llt; in lltable_fill_sa_entry()
748 lltable_get_ifp(const struct lltable *llt) in lltable_get_ifp()
754 lltable_get_af(const struct lltable *llt) in lltable_get_af()
771 struct lltable *llt; in lla_rt_output()