Lines Matching full:router

136  * Remove a router from the global list and optionally stash it in a
152 * Receive Router Solicitation Message - just for routers.
153 * Router solicitation/advertisement is mostly managed by userland program
340 * XXX-BZ we might want to trigger re-evaluation of our default router in nd6_ifnet_link_event()
341 * availability. E.g., on link down the default router might be in nd6_ifnet_link_event()
352 * Receive Router Advertisement Message.
596 * router's neighbor cache, which might also affect our on-link in nd6_ra_input()
620 if (search->router == dr) in pfxrtr_lookup()
645 new->router = dr; in pfxrtr_add()
670 defrouter_rele(pfr->router); in pfxrtr_del()
674 /* Default router list processing sub routines. */
701 * Remove the default route for a given router.
746 * Flush all the routing table entries that use the router in defrouter_del()
762 * Also delete all the pointers to the router in each prefix lists. in defrouter_del()
774 * If the router is the primary one, choose a new one. in defrouter_del()
813 * Remove all default routes from default router list.
825 * current default router list and use that when deleting routes. in defrouter_reset()
856 * Look up a matching default router list entry and remove it. Returns true if a
879 * for default router selection
880 * regards router-preference field as a 2-bit signed integer
918 * Default Router Selection according to Section 6.3.6 of RFC 2461 and
919 * draft-ietf-ipngwg-router-selection:
921 * If we have more than one (probably) reachable router, prefer ones
922 * with the highest router preference.
925 * fashion, regardless of router preference values.
926 * 3) If the Default Router List is empty, assume that all
929 * We assume nd_defrouter is sorted by router preference value.
930 * Since the code below covers both with and without router preference cases,
933 * At this moment, we do not try to install more than one default router,
958 * If default router list is empty, there's nothing to be done. in defrouter_select_fib()
966 * Search for a (probably) reachable router from the list. in defrouter_select_fib()
991 "one router is installed\n"); in defrouter_select_fib()
999 * Otherwise, if we have an installed router, check if the selected in defrouter_select_fib()
1000 * (reachable) router should really be preferred to the installed one. in defrouter_select_fib()
1001 * We only prefer the new router when the old one is not reachable in defrouter_select_fib()
1011 /* Ensure we select a router for this FIB. */ in defrouter_select_fib()
1029 * If we selected a router for this FIB and it's different in defrouter_select_fib()
1030 * than the installed one, remove the installed router and in defrouter_select_fib()
1074 * router is still installed in the kernel. in defrtrlist_update()
1086 * The router needs to be reinserted into the default router in defrtrlist_update()
1104 * The preferred router may have changed, so relocate this in defrtrlist_update()
1105 * router. in defrtrlist_update()
1121 * Insert the new router in the Default Router List; in defrtrlist_update()
1122 * The Default Router List should be in the descending order in defrtrlist_update()
1123 * of router-preferece. Routers with the same preference are in defrtrlist_update()
1790 * detect if a given prefix has a (probably) reachable advertising router.
1803 if (is_dr_reachable(pfxrtr->router)) in find_pfxlist_reachable_router()
1811 * Check if each prefix in the prefix list has at least one available router
1812 * that advertised the prefix (a router is "available" if its neighbor cache
1817 * that has an available router.
1818 * But, if there is no prefix that has an available router, we still regard
1821 * is no router around us.
1839 * router. in pfxlist_onlink_check()
1847 * If we have no such prefix, check whether we still have a router in pfxlist_onlink_check()
1864 * There is at least one prefix that has a reachable router, in pfxlist_onlink_check()
1865 * or at least a router which probably does not advertise in pfxlist_onlink_check()
1867 * to a new link where we have a router that does not provide in pfxlist_onlink_check()
1870 * router, and attach other prefixes. in pfxlist_onlink_check()
1887 /* there is no prefix that has a reachable router */ in pfxlist_onlink_check()
2258 /* Subnet-router anycast: 0000:0000:0000:0000 */ in in6_get_tmp_ifid()
2434 * it shouldn't be called when acting as a router.
2507 * Nuke default router list entries toward ifp.
2508 * We defer removal of default router list entries that is installed in the
2534 /* Delete the unlinked router objects. */ in nd6_defrouter_purge()
2605 "NDP default router list");