lltable
lltable_dump_af(struct lltable *llt, struct rt_walkarg *w)
struct lltable *llt;
htable_foreach_lle(struct lltable *llt, llt_foreach_cb_t *f, void *farg)
htable_link_entry(struct lltable *llt, struct llentry *lle)
htable_prefix_free_cb(struct lltable *llt, struct llentry *lle, void *farg)
htable_prefix_free(struct lltable *llt, const struct sockaddr *prefix,
htable_free_tbl(struct lltable *llt)
llentries_unlink(struct lltable *llt, struct llentries *head)
struct lltable *llt;
llentry_alloc(struct ifnet *ifp, struct lltable *lt,
lltable_free_cb(struct lltable *llt, struct llentry *lle, void *farg)
lltable_purge_entries(struct lltable *llt)
lltable_free(struct lltable *llt)
struct lltable *llt;
struct lltable *llt;
struct lltable *
struct lltable *llt;
llt = malloc(sizeof(struct lltable), M_LLTABLE, M_WAITOK | M_ZERO);
lltable_link(struct lltable *llt)
lltable_unlink(struct lltable *llt)
SLIST_REMOVE(&lltables, llt, lltable, llt_link);
lltable_foreach_lle(struct lltable *llt, llt_foreach_cb_t *f, void *farg)
lltable_link_entry(struct lltable *llt, struct llentry *lle)
lltable_unlink_entry(struct lltable *llt, struct llentry *lle)
lltable_free_entry(struct lltable *llt, struct llentry *lle)
struct lltable *llt;
lltable_get_ifp(const struct lltable *llt)
lltable_get_af(const struct lltable *llt)
struct lltable *llt;
static SLIST_HEAD(, lltable) lltables;
static void lltable_unlink(struct lltable *llt);
static void llentries_unlink(struct lltable *llt, struct llentries *head);
static void htable_link_entry(struct lltable *llt, struct llentry *lle);
static int htable_foreach_lle(struct lltable *llt, llt_foreach_cb_t *f,
lltable_dump_entry(struct lltable *llt, struct llentry *lle,
llatbl_llt_show(struct lltable *llt)
DB_SHOW_COMMAND(lltable, db_show_lltable)
llatbl_llt_show((struct lltable *)addr);
struct lltable *llt;
typedef int (llt_delete_t)(struct lltable *, u_int flags,
typedef void (llt_prefix_free_t)(struct lltable *,
typedef int (llt_dump_entry_t)(struct lltable *, struct llentry *,
typedef void (llt_free_entry_t)(struct lltable *, struct llentry *);
typedef void (llt_free_tbl_t)(struct lltable *);
typedef void (llt_link_entry_t)(struct lltable *, struct llentry *);
typedef int (llt_foreach_cb_t)(struct lltable *, struct llentry *, void *);
typedef int (llt_foreach_entry_t)(struct lltable *, llt_foreach_cb_t *, void *);
SLIST_ENTRY(lltable) llt_link;
struct lltable *lltable_allocate_htbl(uint32_t hsize);
void lltable_free(struct lltable *);
void lltable_link(struct lltable *llt);
void lltable_purge_entries(struct lltable *);
int lltable_dump_entry(struct lltable *, struct llentry *,
struct llentry *llentry_alloc(struct ifnet *, struct lltable *,
struct llentry *lltable_create_lle(struct lltable *llt, u_int flags,
void lltable_link_entry(struct lltable *llt, struct llentry *lle);
void lltable_unlink_entry(struct lltable *llt, struct llentry *lle);
void lltable_free_entry(struct lltable *llt, struct llentry *lle);
struct ifnet *lltable_get_ifp(const struct lltable *llt);
int lltable_get_af(const struct lltable *llt);
lltable_get_entry_count(struct lltable *llt)
int lltable_foreach_lle(struct lltable *llt, llt_foreach_cb_t *f,
lla_lookup(struct lltable *llt, u_int flags, const struct sockaddr *l3addr)
lla_create(struct lltable *llt, u_int flags, const struct sockaddr *l3addr,
lla_delete(struct lltable *llt, u_int flags, const struct sockaddr *l3addr)
struct lltable *lle_tbl;
in_lltable_free_entry(struct lltable *llt, struct llentry *lle)
in_lltable_find_dst(struct lltable *llt, struct in_addr dst)
in_lltable_delete(struct lltable *llt, u_int flags,
in_lltable_create(struct lltable *llt, u_int flags, const struct sockaddr *l3addr,
in_lltable_lookup(struct lltable *llt, u_int flags, const struct sockaddr *l3addr)
in_lltable_dump_entry(struct lltable *llt, struct llentry *lle,
static struct lltable *
struct lltable *llt;
struct lltable *ii_llt; /* ARP state */
in6_lltable_free_entry(struct lltable *llt, struct llentry *lle)
in6_lltable_find_dst(struct lltable *llt, const struct in6_addr *dst)
in6_lltable_delete(struct lltable *llt, u_int flags,
in6_lltable_create(struct lltable *llt, u_int flags,
in6_lltable_lookup(struct lltable *llt, u_int flags,
in6_lltable_dump_entry(struct lltable *llt, struct llentry *lle,
static struct lltable *
struct lltable *llt;
ext->lltable = in6_lltattach(ifp);
lltable_free(ext->lltable);
ext->lltable = NULL;
#define LLTABLE6(ifp) (((struct in6_ifextra *)(ifp)->if_afdata[AF_INET6])->lltable)
struct lltable;
struct lltable *lltable;
if (ext->lltable != NULL)
lltable_purge_entries(ext->lltable);
nd6_purge_entry(struct lltable *llt, struct llentry *ln, void *farg)
nd6_gc_neighbors(struct lltable *llt, const struct in6_addr *in6)