MCPcopy Create free account
hub / github.com/F-Stack/f-stack / in6_lltable_free_entry

Function in6_lltable_free_entry

freebsd/netinet6/in6.c:2169–2185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2167}
2168
2169static void
2170in6_lltable_free_entry(struct lltable *llt, struct llentry *lle)
2171{
2172 struct ifnet *ifp;
2173
2174 LLE_WLOCK_ASSERT(lle);
2175 KASSERT(llt != NULL, ("lltable is NULL"));
2176
2177 /* Unlink entry from table */
2178 if ((lle->la_flags & LLE_LINKED) != 0) {
2179 ifp = llt->llt_ifp;
2180 IF_AFDATA_WLOCK_ASSERT(ifp);
2181 lltable_unlink_entry(llt, lle);
2182 }
2183
2184 llentry_free(lle);
2185}
2186
2187static int
2188in6_lltable_rtcheck(struct ifnet *ifp,

Callers

nothing calls this directly

Calls 2

lltable_unlink_entryFunction · 0.85
llentry_freeFunction · 0.85

Tested by

no test coverage detected