Lines Matching defs:router
97 register struct routerinfo *router;
100 router = &trackedrouters[i];
102 untimeout(ddp_age_router, (caddr_t)router);
114 register struct routerinfo *router;
116 router = &trackedrouters[i];
117 if (INUSE(router)) {
118 untimeout(ddp_age_router, (caddr_t) router);
119 bzero((caddr_t) router, sizeof(struct routerinfo));
138 register struct routerinfo *router;
140 router = &trackedrouters[(i + node) & (NROUTERS2TRAK-1)];
141 if ((NODE(router) == node) && (NET(router) == net)) {
142 untimeout(ddp_age_router, (caddr_t) router);
143 timeout(ddp_age_router, (caddr_t) router, 50*SYS_HZ);
147 else if (!INUSE(router) && !unused)
148 unused = router;
154 /* Send event that this interface just got a router. This does not
155 discriminate on whether this router is valid or not. If it is not
175 * if no router packets come in. That way we won't send extended
212 /* Set our router to another on the list and go on with life */
226 Reset router fields and state accordingly. */
233 /* Send event to indicate that we've lost our seed router. */
239 /* there was a router that we were ignoring...
241 * case where another router may come up after all
305 /* There was no router around earlier, one
311 * ignore the presence of router
314 dPrintf(D_M_RTMP, D_L_INFO, ("rtmp_input: new router came up, INVALID: net \
317 a new router has come up when we had none before. */
324 /* This router is invalid. Send event. */
336 * the router address and then
343 /* A seed router that gives us back our cable range came up.
344 It's a valid router and gives us our network back. */
356 * router
360 a new router has come up when we had none before. */
367 /* A new seed router came up, but the cable range is different