Lines Matching defs:llt
2069 in_lltable_free_entry(struct lltable *llt, struct llentry *lle)
2074 KASSERT(llt != NULL);
2172 in_lltable_find_dst(struct lltable *llt, struct in_addr dst)
2178 hashidx = in_lltable_hash_dst(dst, llt->llt_hsize);
2179 lleh = &llt->lle_head[hashidx];
2191 in_lltable_delete(struct lltable *llt, u_int flags,
2195 struct ifnet *ifp __diagused = llt->llt_ifp;
2202 lle = in_lltable_find_dst(llt, sin->sin_addr);
2228 in_lltable_create(struct lltable *llt, u_int flags, const struct sockaddr *l3addr,
2232 struct ifnet *ifp = llt->llt_ifp;
2239 lle = in_lltable_find_dst(llt, sin->sin_addr);
2268 lltable_link_entry(llt, lle);
2279 in_lltable_lookup(struct lltable *llt, u_int flags, const struct sockaddr *l3addr)
2284 IF_AFDATA_LOCK_ASSERT(llt->llt_ifp);
2288 lle = in_lltable_find_dst(llt, sin->sin_addr);
2302 in_lltable_dump_entry(struct lltable *llt, struct llentry *lle,
2315 return lltable_dump_entry(llt, lle, w, sintosa(&sin));
2440 struct lltable *llt;
2442 llt = lltable_allocate_htbl(IN_LLTBL_DEFAULT_HSIZE);
2443 llt->llt_af = AF_INET;
2444 llt->llt_ifp = ifp;
2446 llt->llt_lookup = in_lltable_lookup;
2447 llt->llt_create = in_lltable_create;
2448 llt->llt_delete = in_lltable_delete;
2449 llt->llt_dump_entry = in_lltable_dump_entry;
2450 llt->llt_hash = in_lltable_hash;
2451 llt->llt_fill_sa_entry = in_lltable_fill_sa_entry;
2452 llt->llt_free_entry = in_lltable_free_entry;
2453 llt->llt_match_prefix = in_lltable_match_prefix;
2458 llt->llt_mowner = mowner;
2460 lltable_link(llt);
2462 return (llt);