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

Function defrouter_unlink

freebsd/netinet6/nd6_rtr.c:133–143  ·  view source on GitHub ↗

* Remove a router from the global list and optionally stash it in a * caller-supplied queue. */

Source from the content-addressed store, hash-verified

131 * caller-supplied queue.
132 */
133static void
134defrouter_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.

Callers 4

defrouter_removeFunction · 0.85
nd6_defrouter_timerFunction · 0.85
nd6_defrouter_purgeFunction · 0.85
nd6_defrouter_flush_allFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected