<dec f='src/src/sys/netinet6/nd6.h' l='440' type='void defrouter_select()'/>
<use f='src/src/sys/netinet6/nd6.c' l='887' u='c' c='nd6_purge'/>
<use f='src/src/sys/netinet6/nd6.c' l='1237' u='c' c='nd6_free'/>
<use f='src/src/sys/netinet6/nd6.c' l='1844' u='c' c='nd6_ioctl'/>
<use f='src/src/sys/netinet6/nd6.c' l='1893' u='c' c='nd6_ioctl'/>
<use f='src/src/sys/netinet6/nd6.c' l='2180' u='c' c='nd6_cache_lladdr'/>
<use f='src/src/sys/netinet6/nd6_rtr.c' l='539' u='c' c='defrtrlist_del'/>
<def f='src/src/sys/netinet6/nd6_rtr.c' l='628' ll='712' type='void defrouter_select()'/>
<use f='src/src/sys/netinet6/nd6_rtr.c' l='832' u='c' c='defrtrlist_update'/>
<doc f='src/src/sys/netinet6/nd6_rtr.c' l='607'>/*
 * Default Router Selection according to Section 6.3.6 of RFC 2461 and
 * draft-ietf-ipngwg-router-selection:
 * 1) Routers that are reachable or probably reachable should be preferred.
 *    If we have more than one (probably) reachable router, prefer ones
 *    with the highest router preference.
 * 2) When no routers on the list are known to be reachable or
 *    probably reachable, routers SHOULD be selected in a round-robin
 *    fashion, regardless of router preference values.
 * 3) If the Default Router List is empty, assume that all
 *    destinations are on-link.
 *
 * We assume nd_defrouter is sorted by router preference value.
 * Since the code below covers both with and without router preference cases,
 * we do not need to classify the cases by ifdef.
 *
 * At this moment, we do not try to install more than one default router,
 * even when the multipath routing is available, because we&apos;re not sure about
 * the benefits for stub hosts comparing to the risk of making the code
 * complicated and the possibility of introducing bugs.
 */</doc>
