Searched refs:router (Results 1 - 6 of 6) sorted by relevance
/xnu-2422.115.4/bsd/kern/ |
H A D | netboot.c | 567 default_route_add(struct in_addr router, boolean_t proxy_arp) argument 575 return (route_cmd(RTM_ADD, zeroes, router, zeroes, flags, IFSCOPE_NONE)); 615 struct in_addr router = { 0 }; local 644 if (get_ip_parameters(&iaddr, &netmask, &router) == FALSE) { 645 /* use DHCP to retrieve IP address, netmask and router */ 646 error = dhcp(ifp, &iaddr, 64, &netmask, &router, procp); 656 if (router.s_addr) { 657 printf(" router " IP_FORMAT, IP_LIST(&router)); 665 if (router [all...] |
/xnu-2422.115.4/bsd/nfs/ |
H A D | nfs_boot.c | 84 * - 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);
|
/xnu-2422.115.4/bsd/netinet/ |
H A D | in_dhcp.c | 31 * - 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; 644 context->router = *ip; 911 * subnet mask, and router. 931 *router_p = context->router;
|
/xnu-2422.115.4/bsd/netinet6/ |
H A D | nd6.h | 87 short ln_router; /* 2^0: ND6 router bit */ 183 * APPLE: not used. Interface specific router advertisements are handled with a 206 int isrouter; /* if it acts as a router */ 603 #define ndpr_raf_router ndpr_flags.router 675 struct nd_defrouter *router; member in struct:nd_pfxrouter 708 /* ND6 router advertisement valid bits */
|
H A D | nd6.c | 282 /* initialization of the default router list */ 1044 /* expire default router list */ 1369 * ND6 router advertisement kernel notification 1510 * Nuke neighbor cache/prefix/default router management table, right before 1520 /* Nuke default router list entries toward ifp */ 1586 * Perform default router selection even when we are a router, 1591 /* refresh default router list */ 1854 * If the default router list is empty, all addresses are regarded 1857 * not have the "default router lis [all...] |
H A D | nd6_rtr.c | 285 /* If I'm not a router, ignore it. */ 400 * IFEF_IPV6_ROUTER is set (as router) but the RA is not locally 402 * RAs to be processed on the advertising interface, as a router. 405 * both a host and a router on different interfaces, hence the 587 * be properly set until after the router advertisement 700 * router's neighbor cache, which might also affect our on-link 726 * default router list proccessing sub routines 775 nd6log2((LOG_INFO, "%s: ignoring router %s, scoped=%d, " 782 nd6log2((LOG_INFO, "%s: adding default router %s, scoped=%d, " 813 nd6log((LOG_ERR, "%s: failed to add default router " [all...] |
Completed in 37 milliseconds