Searched refs:router (Results 1 - 9 of 9) sorted by relevance

/darwin-on-arm/xnu/bsd/netat/
H A Dddp_rtmp.c97 register struct routerinfo *router; local
100 router = &trackedrouters[i];
102 untimeout(ddp_age_router, (caddr_t)router);
114 register struct routerinfo *router; local
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; local
140 router
[all...]
H A Dat_var.h89 struct at_addr router; /* Our router. */ member in struct:__anon340
113 router mode */
204 char ifRoutingState; /* Port (as a router) state */
228 #define LAP_ONLINE_ZONELESS 3 /* for non-home router ports */
230 #define NO_ROUTER 1 /* there's no router around */
231 #define ROUTER_WARNING 2 /* there's a router around that */
234 #define ROUTER_AROUND 3 /* A router is around and we've */
250 /* in single-port, router, and multihome modes, set default zone */
259 /* in router mod
[all...]
H A Dat.c79 /* called only in router mode */
228 cfgp->router = ifID->ifARouter;
365 /* single port mode or router mode */
491 /* Setup the routing & zip table size for the router */
/darwin-on-arm/xnu/bsd/kern/
H A Dnetboot.c570 default_route_add(struct in_addr router, boolean_t proxy_arp) argument
578 return (route_cmd(RTM_ADD, zeroes, router, zeroes, flags, IFSCOPE_NONE));
618 struct in_addr router = { 0 }; local
648 if (get_ip_parameters(&iaddr, &netmask, &router) == FALSE) {
649 /* use DHCP to retrieve IP address, netmask and router */
650 error = dhcp(ifp, &iaddr, 64, &netmask, &router, procp);
660 if (router.s_addr) {
661 printf(" router " IP_FORMAT, IP_LIST(&router));
669 if (router
[all...]
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_boot.c84 * - use new BOOTP routine to get the subnet mask and router
232 struct in_addr router; local
246 router.s_addr = 0;
247 error = bp_whoami(&bp_sin, &my_ip, &router);
/darwin-on-arm/xnu/bsd/netinet/
H A Din_dhcp.c31 * - use DHCP to allocate an IP address and get the subnet mask and router
136 struct in_addr router; member in struct:dhcp_context
364 * and another if the router is present.
464 context->router = *ip;
648 context->router = *ip;
920 * subnet mask, and router.
940 *router_p = context->router;
/darwin-on-arm/xnu/bsd/netinet6/
H A Dnd6.h91 short ln_router; /* 2^0: ND6 router bit */
181 #define ND6_IFF_ACCEPT_RTADV 0x2 /* APPLE: not used. Innterface specific router
198 int isrouter; /* if it acts as a router */
590 #define ndpr_raf_router ndpr_flags.router
662 struct nd_defrouter *router; member in struct:nd_pfxrouter
695 /* ND6 router advertisement valid bits */
H A Dnd6.c251 /* initialization of the default router list */
860 /* expire default router list */
1046 * ND6 router advertisement kernel notification
1199 * Nuke neighbor cache/prefix/default router management table, right before
1210 /* Nuke default router list entries toward ifp */
1275 * Perform default router selection even when we are a router,
1280 /* refresh default router list */
1550 * If the default router list is empty, all addresses are regarded
1553 * not have the "default router lis
[all...]
H A Dnd6_rtr.c284 /* If I'm not a router, ignore it. */
398 * IFEF_IPV6_ROUTER is set (as router) but the RA is not locally
400 * RAs to be processed on the advertising interface, as a router.
403 * both a host and a router on different interfaces, hence the
589 * be properly set until after the router advertisement
698 * router's neighbor cache, which might also affect our on-link
726 * default router list proccessing sub routines
771 nd6log2((LOG_INFO, "%s: ignoring router %s, scoped=%d, "
778 nd6log2((LOG_INFO, "%s: adding default router %s, scoped=%d, "
807 nd6log((LOG_ERR, "%s: failed to add default router "
[all...]

Completed in 48 milliseconds