* Remove a router from the global list and optionally stash it in a * caller-supplied queue. */
| 131 | * caller-supplied queue. |
| 132 | */ |
| 133 | static void |
| 134 | defrouter_unlink(struct nd_defrouter *dr, struct nd6_drhead *drq) |
| 135 | { |
| 136 | |
| 137 | ND6_WLOCK_ASSERT(); |
| 138 | |
| 139 | TAILQ_REMOVE(&V_nd6_defrouter, dr, dr_entry); |
| 140 | V_nd6_list_genid++; |
| 141 | if (drq != NULL) |
| 142 | TAILQ_INSERT_TAIL(drq, dr, dr_entry); |
| 143 | } |
| 144 | |
| 145 | /* |
| 146 | * Receive Router Solicitation Message - just for routers. |
no outgoing calls
no test coverage detected