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

Function nd6_dad_stop

freebsd/netinet6/nd6_nbr.c:1318–1334  ·  view source on GitHub ↗

* terminate DAD unconditionally. used for address removals. */

Source from the content-addressed store, hash-verified

1316 * terminate DAD unconditionally. used for address removals.
1317 */
1318void
1319nd6_dad_stop(struct ifaddr *ifa)
1320{
1321 struct dadq *dp;
1322
1323 dp = nd6_dad_find(ifa, NULL);
1324 if (!dp) {
1325 /* DAD wasn't started yet */
1326 return;
1327 }
1328
1329 nd6_dad_stoptimer(dp);
1330 nd6_dad_del(dp);
1331
1332 /* Release this function's reference, acquired by nd6_dad_find(). */
1333 nd6_dad_rele(dp);
1334}
1335
1336static void
1337nd6_dad_timer(struct dadq *dp)

Callers 2

in6_purgeaddrFunction · 0.85
nd6_ifdetachFunction · 0.85

Calls 4

nd6_dad_findFunction · 0.85
nd6_dad_stoptimerFunction · 0.85
nd6_dad_delFunction · 0.85
nd6_dad_releFunction · 0.85

Tested by

no test coverage detected