| 1533 | } |
| 1534 | |
| 1535 | static void |
| 1536 | nd6_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 | |
| 1554 | static void |
| 1555 | nd6_dad_na_input(struct ifaddr *ifa) |
no test coverage detected