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

Function nd6_dad_ns_input

freebsd/netinet6/nd6_nbr.c:1535–1552  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1533}
1534
1535static void
1536nd6_dad_ns_input(struct ifaddr *ifa, struct nd_opt_nonce *ndopt_nonce)
1537{
1538 struct dadq *dp;
1539
1540 if (ifa == NULL)
1541 panic("ifa == NULL in nd6_dad_ns_input");
1542
1543 /* Ignore Nonce option when Enhanced DAD is disabled. */
1544 if (V_dad_enhanced == 0)
1545 ndopt_nonce = NULL;
1546 dp = nd6_dad_find(ifa, ndopt_nonce);
1547 if (dp == NULL)
1548 return;
1549
1550 dp->dad_ns_icount++;
1551 nd6_dad_rele(dp);
1552}
1553
1554static void
1555nd6_dad_na_input(struct ifaddr *ifa)

Callers 1

nd6_ns_inputFunction · 0.85

Calls 3

nd6_dad_findFunction · 0.85
nd6_dad_releFunction · 0.85
panicFunction · 0.50

Tested by

no test coverage detected