Lines Matching defs:router
68 /* For router advertisement */
143 static void record_router(struct in_addr router, long preference, int ttl);
236 int best_preference = 1; /* Set to record only the router(s) with the */
881 * Check that at least one router address is a neighbor
1958 struct in_addr router;
1976 pr_name(tp->router), tp->preference,
1990 if (tp->router.s_addr == addr.s_addr)
2028 logdebug("Timed out router %s\n",
2029 pr_name(tp->router));
2032 del_route(tp->router);
2048 add_route(tp->router);
2070 if (find_directly_connected_logint(tp->router, NULL) == NULL) {
2073 logdebug("Unreachable router %s\n",
2074 pr_name(tp->router));
2077 del_route(tp->router);
2093 add_route(tp->router);
2103 record_router(struct in_addr router, long preference, int ttl)
2112 pr_name(router),
2114 tp = find_router(router);
2131 tp->router = router;
2141 add_route(tp->router);
2145 del_route(tp->router);
2156 add_route(tp->router);
2169 del_route(tp->router);