Lines Matching defs:llt
1529 in_lltable_free_entry(struct lltable *llt, struct llentry *lle)
1534 KASSERT(llt != NULL, ("lltable is NULL"));
1538 IF_AFDATA_WLOCK_ASSERT(llt->llt_ifp);
1539 lltable_unlink_entry(llt, lle);
1633 in_lltable_find_dst(struct lltable *llt, struct in_addr dst)
1639 hashidx = in_lltable_hash_dst(dst, llt->llt_hsize);
1640 lleh = &llt->lle_head[hashidx];
1652 in_lltable_delete_entry(struct lltable *llt, struct llentry *lle)
1664 in_lltable_alloc(struct lltable *llt, u_int flags, const struct sockaddr *l3addr)
1667 struct ifnet *ifp = llt->llt_ifp;
1697 in_lltable_free_entry(llt, lle);
1715 in_lltable_lookup(struct lltable *llt, u_int flags, const struct sockaddr *l3addr)
1720 IF_AFDATA_LOCK_ASSERT(llt->llt_ifp);
1727 lle = in_lltable_find_dst(llt, sin->sin_addr);
1753 in_lltable_dump_entry(struct lltable *llt, struct llentry *lle,
1756 struct ifnet *ifp = llt->llt_ifp;
1817 in_lltable_post_resolved(struct lltable *llt, struct llentry *lle)
1819 struct ifnet *ifp = llt->llt_ifp;
1830 struct lltable *llt;
1832 llt = lltable_allocate_htbl(IN_LLTBL_DEFAULT_HSIZE);
1833 llt->llt_af = AF_INET;
1834 llt->llt_ifp = ifp;
1836 llt->llt_lookup = in_lltable_lookup;
1837 llt->llt_alloc_entry = in_lltable_alloc;
1838 llt->llt_delete_entry = in_lltable_delete_entry;
1839 llt->llt_dump_entry = in_lltable_dump_entry;
1840 llt->llt_hash = in_lltable_hash;
1841 llt->llt_fill_sa_entry = in_lltable_fill_sa_entry;
1842 llt->llt_free_entry = in_lltable_free_entry;
1843 llt->llt_match_prefix = in_lltable_match_prefix;
1844 llt->llt_mark_used = llentry_mark_used;
1845 llt->llt_post_resolved = in_lltable_post_resolved;
1846 lltable_link(llt);
1848 return (llt);
1854 struct lltable *llt = NULL;
1858 llt = ((struct in_ifinfo *)afdata_ptr)->ii_llt;
1859 return (llt);