Lines Matching full:router
133 * Remove a router from the global list and optionally stash it in a
149 * Receive Router Solicitation Message - just for routers.
150 * Router solicitation/advertisement is mostly managed by userland program
337 * XXX-BZ we might want to trigger re-evaluation of our default router in nd6_ifnet_link_event()
338 * availability. E.g., on link down the default router might be in nd6_ifnet_link_event()
349 * Receive Router Advertisement Message.
598 * router's neighbor cache, which might also affect our on-link in nd6_ra_input()
622 if (search->router == dr) in pfxrtr_lookup()
647 new->router = dr; in pfxrtr_add()
672 defrouter_rele(pfr->router); in pfxrtr_del()
676 /* Default router list processing sub routines. */
703 * Remove the default route for a given router.
748 * Flush all the routing table entries that use the router in defrouter_del()
764 * Also delete all the pointers to the router in each prefix lists. in defrouter_del()
776 * If the router is the primary one, choose a new one. in defrouter_del()
815 * Remove all default routes from default router list.
827 * current default router list and use that when deleting routes. in defrouter_reset()
858 * Look up a matching default router list entry and remove it. Returns true if a
881 * for default router selection
882 * regards router-preference field as a 2-bit signed integer
920 * Default Router Selection according to Section 6.3.6 of RFC 2461 and
921 * draft-ietf-ipngwg-router-selection:
923 * If we have more than one (probably) reachable router, prefer ones
924 * with the highest router preference.
927 * fashion, regardless of router preference values.
928 * 3) If the Default Router List is empty, assume that all
931 * We assume nd_defrouter is sorted by router preference value.
932 * Since the code below covers both with and without router preference cases,
935 * At this moment, we do not try to install more than one default router,
960 * If default router list is empty, there's nothing to be done. in defrouter_select_fib()
968 * Search for a (probably) reachable router from the list. in defrouter_select_fib()
993 "one router is installed\n"); in defrouter_select_fib()
1001 * Otherwise, if we have an installed router, check if the selected in defrouter_select_fib()
1002 * (reachable) router should really be preferred to the installed one. in defrouter_select_fib()
1003 * We only prefer the new router when the old one is not reachable in defrouter_select_fib()
1013 /* Ensure we select a router for this FIB. */ in defrouter_select_fib()
1031 * If we selected a router for this FIB and it's different in defrouter_select_fib()
1032 * than the installed one, remove the installed router and in defrouter_select_fib()
1076 * router is still installed in the kernel. in defrtrlist_update()
1088 * The router needs to be reinserted into the default router in defrtrlist_update()
1106 * The preferred router may have changed, so relocate this in defrtrlist_update()
1107 * router. in defrtrlist_update()
1123 * Insert the new router in the Default Router List; in defrtrlist_update()
1124 * The Default Router List should be in the descending order in defrtrlist_update()
1125 * of router-preferece. Routers with the same preference are in defrtrlist_update()
1792 * detect if a given prefix has a (probably) reachable advertising router.
1805 if (is_dr_reachable(pfxrtr->router)) in find_pfxlist_reachable_router()
1813 * Check if each prefix in the prefix list has at least one available router
1814 * that advertised the prefix (a router is "available" if its neighbor cache
1819 * that has an available router.
1820 * But, if there is no prefix that has an available router, we still regard
1823 * is no router around us.
1841 * router. in pfxlist_onlink_check()
1849 * If we have no such prefix, check whether we still have a router in pfxlist_onlink_check()
1866 * There is at least one prefix that has a reachable router, in pfxlist_onlink_check()
1867 * or at least a router which probably does not advertise in pfxlist_onlink_check()
1869 * to a new link where we have a router that does not provide in pfxlist_onlink_check()
1872 * router, and attach other prefixes. in pfxlist_onlink_check()
1889 /* there is no prefix that has a reachable router */ in pfxlist_onlink_check()
2394 * it shouldn't be called when acting as a router.
2467 * Nuke default router list entries toward ifp.
2468 * We defer removal of default router list entries that is installed in the
2494 /* Delete the unlinked router objects. */ in nd6_defrouter_purge()
2565 "NDP default router list");