Lines Matching refs:router

449 	 * router's neighbor cache, which might also affect our on-link
493 * default router list processing sub routines
564 * Remove the default route for a given router.
595 * Remove all default routes from default router list.
607 * current default router list and use that when deleting routes.
638 * Look up a matching default router list entry and remove it. Returns true if a
661 * Remove a router from the global list and optionally stash it in a
687 * Flush all the routing table entries that use the router
699 * Also delete all the pointers to the router in each prefix lists.
711 * If the router is the primary one, choose a new one.
726 * draft-ietf-ipngwg-router-selection:
728 * If we have more than one (probably) reachable router, prefer ones
729 * with the highest router preference.
732 * fashion, regardless of router preference values.
736 * We assume nd_defrouter is sorted by router preference value.
737 * Since the code below covers both with and without router preference cases,
740 * At this moment, we do not try to install more than one default router,
764 * If default router list is empty, there's nothing to be done.
772 * Search for a (probably) reachable router from the list.
801 "one router is installed\n");
808 * Otherwise, if we have an installed router, check if the selected
809 * (reachable) router should really be preferred to the installed one.
810 * We only prefer the new router when the old one is not reachable
820 /* Ensure we select a router for this FIB. */
845 * If we selected a router for this FIB and it's different
846 * than the installed one, remove the installed router and
862 * Maintain old KPI for default router selection.
872 * for default router selection
873 * regards router-preference field as a 2-bit signed integer
926 * router is still installed in the kernel.
938 * The router needs to be reinserted into the default router
956 * The preferred router may have changed, so relocate this
957 * router.
973 * Insert the new router in the Default Router List;
975 * of router-preferece. Routers with the same preference are
1004 if (search->router == dr)
1029 new->router = dr;
1054 defrouter_rele(pfr->router);
1553 * detect if a given prefix has a (probably) reachable advertising router.
1566 IF_AFDATA_RLOCK(pfxrtr->router->ifp);
1567 ln = nd6_lookup(&pfxrtr->router->rtaddr, 0, pfxrtr->router->ifp);
1568 IF_AFDATA_RUNLOCK(pfxrtr->router->ifp);
1580 * Check if each prefix in the prefix list has at least one available router
1581 * that advertised the prefix (a router is "available" if its neighbor cache
1586 * that has an available router.
1587 * But, if there is no prefix that has an available router, we still regard
1590 * is no router around us.
1608 * router.
1616 * If we have no such prefix, check whether we still have a router
1633 * There is at least one prefix that has a reachable router,
1634 * or at least a router which probably does not advertise
1636 * to a new link where we have a router that does not provide
1639 * router, and attach other prefixes.
1656 /* there is no prefix that has a reachable router */
2334 * it shouldn't be called when acting as a router.