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

Function nd6_dad_del

freebsd/netinet6/nd6_nbr.c:1155–1171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1153}
1154
1155static void
1156nd6_dad_del(struct dadq *dp)
1157{
1158
1159 DADQ_WLOCK();
1160 if (dp->dad_ondadq) {
1161 /*
1162 * Remove dp from the dadq and release the dadq's
1163 * reference.
1164 */
1165 TAILQ_REMOVE(&V_dadq, dp, dad_list);
1166 dp->dad_ondadq = false;
1167 DADQ_WUNLOCK();
1168 nd6_dad_rele(dp);
1169 } else
1170 DADQ_WUNLOCK();
1171}
1172
1173static struct dadq *
1174nd6_dad_find(struct ifaddr *ifa, struct nd_opt_nonce *n)

Callers 2

nd6_dad_stopFunction · 0.85
nd6_dad_timerFunction · 0.85

Calls 1

nd6_dad_releFunction · 0.85

Tested by

no test coverage detected