Lines Matching defs:llt
1508 in_lltable_free_entry(struct lltable *llt, struct llentry *lle)
1513 KASSERT(llt != NULL, ("lltable is NULL"));
1517 IF_AFDATA_WLOCK_ASSERT(llt->llt_ifp);
1518 lltable_unlink_entry(llt, lle);
1612 in_lltable_find_dst(struct lltable *llt, struct in_addr dst)
1618 hashidx = in_lltable_hash_dst(dst, llt->llt_hsize);
1619 lleh = &llt->lle_head[hashidx];
1631 in_lltable_delete_entry(struct lltable *llt, struct llentry *lle)
1643 in_lltable_alloc(struct lltable *llt, u_int flags, const struct sockaddr *l3addr)
1646 struct ifnet *ifp = llt->llt_ifp;
1676 in_lltable_free_entry(llt, lle);
1694 in_lltable_lookup(struct lltable *llt, u_int flags, const struct sockaddr *l3addr)
1699 IF_AFDATA_LOCK_ASSERT(llt->llt_ifp);
1706 lle = in_lltable_find_dst(llt, sin->sin_addr);
1732 in_lltable_dump_entry(struct lltable *llt, struct llentry *lle,
1735 struct ifnet *ifp = llt->llt_ifp;
1796 in_lltable_post_resolved(struct lltable *llt, struct llentry *lle)
1798 struct ifnet *ifp = llt->llt_ifp;
1809 struct lltable *llt;
1811 llt = lltable_allocate_htbl(IN_LLTBL_DEFAULT_HSIZE);
1812 llt->llt_af = AF_INET;
1813 llt->llt_ifp = ifp;
1815 llt->llt_lookup = in_lltable_lookup;
1816 llt->llt_alloc_entry = in_lltable_alloc;
1817 llt->llt_delete_entry = in_lltable_delete_entry;
1818 llt->llt_dump_entry = in_lltable_dump_entry;
1819 llt->llt_hash = in_lltable_hash;
1820 llt->llt_fill_sa_entry = in_lltable_fill_sa_entry;
1821 llt->llt_free_entry = in_lltable_free_entry;
1822 llt->llt_match_prefix = in_lltable_match_prefix;
1823 llt->llt_mark_used = llentry_mark_used;
1824 llt->llt_post_resolved = in_lltable_post_resolved;
1825 lltable_link(llt);
1827 return (llt);
1833 struct lltable *llt = NULL;
1837 llt = ((struct in_ifinfo *)afdata_ptr)->ii_llt;
1838 return (llt);