Lines Matching refs:lltable
68 static SLIST_HEAD(, lltable) lltables;
72 static void lltable_unlink(struct lltable *llt);
73 static void llentries_unlink(struct lltable *llt, struct llentries *head);
76 static void htable_link_entry(struct lltable *llt, struct llentry *lle);
77 static int htable_foreach_lle(struct lltable *llt, llt_foreach_cb_t *f,
81 lltable_dump_entry(struct lltable *llt, struct llentry *lle,
140 lltable_dump_af(struct lltable *llt, struct rt_walkarg *w)
164 struct lltable *llt;
190 htable_foreach_lle(struct lltable *llt, llt_foreach_cb_t *f, void *farg)
209 htable_link_entry(struct lltable *llt, struct llentry *lle)
256 htable_prefix_free_cb(struct lltable *llt, struct llentry *lle, void *farg)
271 htable_prefix_free(struct lltable *llt, const struct sockaddr *prefix,
295 htable_free_tbl(struct lltable *llt)
303 llentries_unlink(struct lltable *llt, struct llentries *head)
369 struct lltable *llt;
408 llentry_alloc(struct ifnet *ifp, struct lltable *lt,
435 lltable_free_cb(struct lltable *llt, struct llentry *lle, void *farg)
451 lltable_purge_entries(struct lltable *llt)
473 lltable_free(struct lltable *llt)
486 struct lltable *llt;
510 struct lltable *llt;
522 struct lltable *
525 struct lltable *llt;
528 llt = malloc(sizeof(struct lltable), M_LLTABLE, M_WAITOK | M_ZERO);
551 * Links lltable to global llt list.
554 lltable_link(struct lltable *llt)
563 lltable_unlink(struct lltable *llt)
567 SLIST_REMOVE(&lltables, llt, lltable, llt_link);
573 * External methods used by lltable consumers
577 lltable_foreach_lle(struct lltable *llt, llt_foreach_cb_t *f, void *farg)
584 lltable_link_entry(struct lltable *llt, struct llentry *lle)
591 lltable_unlink_entry(struct lltable *llt, struct llentry *lle)
598 lltable_free_entry(struct lltable *llt, struct llentry *lle)
607 struct lltable *llt;
614 lltable_get_ifp(const struct lltable *llt)
621 lltable_get_af(const struct lltable *llt)
637 struct lltable *llt;
876 llatbl_llt_show(struct lltable *llt)
894 DB_SHOW_COMMAND(lltable, db_show_lltable)
898 db_printf("usage: show lltable <struct lltable *>\n");
902 llatbl_llt_show((struct lltable *)addr);
908 struct lltable *llt;