/netbsd-6-1-5-RELEASE/external/bsd/dhcpcd/dist/ |
H A D | ipv6.c | 51 static struct rt6head *routes; variable in typeref:struct:rt6head 59 while ((rt = TAILQ_FIRST(routes))) { 60 TAILQ_REMOVE(routes, rt, next); 63 free(routes); 74 routes = xmalloc(sizeof(*routes)); 75 TAILQ_INIT(routes); 236 /* Don't set default routes if not asked to */ 257 /* Don't set default routes if not asked to */ 350 if ((ort = find_route6(routes, r [all...] |
H A D | dhcp.c | 73 * routes. For completeness, we also specify static routes, 557 struct rt *routes = NULL; local 568 free_routes(routes); 577 routes = rt = xzalloc(sizeof(*routes)); 593 return routes; 743 /* This calculates the netmask that we should use for static routes. 774 * Otherwise we add static routes and then routers. */ 781 struct rt *routes local [all...] |
H A D | if-options.h | 102 struct rt *routes; member in struct:if_options
|
H A D | configure.c | 55 static struct rt *routes; variable in typeref:struct:rt 463 f = find_route(routes, rt, &l, NULL); 470 routes = f->next; 478 /* Don't set default routes if not asked to */ 504 /* Don't set default routes if not asked to */ 580 if (iface->state->options->routes != NULL) { 581 for (rt = iface->state->options->routes; 603 /* Some DHCP servers add set host routes by setting the gateway 710 if ((or = find_route(routes, rt, &rtl, NULL))) { 722 routes [all...] |
H A D | net.c | 559 free_routes(struct rt *routes) argument 563 while (routes) { 564 r = routes->next; 565 free(routes); 566 routes = r;
|
H A D | if-options.c | 650 } else if (strncmp(arg, "routes=", strlen("routes=")) == 0 || 657 syslog(LOG_ERR, "all routes need a gateway"); 663 if (ifo->routes == NULL) { 664 rt = ifo->routes = xmalloc(sizeof(*rt)); 666 rt = ifo->routes; 677 if (ifo->routes == NULL) { 678 rt = ifo->routes = xzalloc(sizeof(*rt)); 680 rt = ifo->routes; 939 free_routes(ifo->routes); [all...] |
/netbsd-6-1-5-RELEASE/usr.bin/rump_dhcpclient/ |
H A D | dhcp.c | 70 * routes. For completeness, we also specify static routes, 341 struct rt *routes = NULL; local 352 free_routes(routes); 361 routes = rt = xzalloc(sizeof(*routes)); 377 return routes; 381 /* This calculates the netmask that we should use for static routes. 412 * Otherwise we add static routes and then routers. */ 419 struct rt *routes local [all...] |
H A D | configure.c | 60 static struct rt *routes; variable in typeref:struct:rt 113 f = find_route(routes, rt, &l, NULL); 120 routes = f->next; 128 /* Don't set default routes if not asked to */ 153 /* Don't set default routes if not asked to */ 231 if (iface->state->options->routes != NULL) { 232 for (rt = iface->state->options->routes; 254 /* Some DHCP servers add set host routes by setting the gateway 357 if ((or = find_route(routes, rt, &rtl, NULL))) { 367 routes [all...] |
H A D | if-options.h | 96 struct rt *routes; member in struct:if_options
|
H A D | net.c | 357 free_routes(struct rt *routes) argument 361 while (routes) { 362 r = routes->next; 363 free(routes); 364 routes = r;
|
/netbsd-6-1-5-RELEASE/usr.sbin/pppd/pppd/ |
H A D | sys-bsd.c | 1502 * cifaddr - Clear the interface IP addresses, and delete routes 1549 int routes; local 1558 if ((routes = socket(PF_ROUTE, SOCK_RAW, AF_INET)) < 0) { 1592 if (write(routes, &rtmsg, sizeof(rtmsg)) < 0) { 1596 close(routes); 1600 close(routes); 1622 int routes; local 1634 if ((routes = socket(PF_ROUTE, SOCK_RAW, AF_INET)) < 0) { 1652 if (write(routes, &arpmsg, arpmsg.hdr.rtm_msglen) < 0) { 1654 close(routes); 1670 int routes; local [all...] |
/netbsd-6-1-5-RELEASE/distrib/miniroot/ |
H A D | upgrade.sh | 216 adding additional routes, if needed. In addition, you might take this
|
H A D | install.sh | 310 adding additional routes, if needed. In addition, you might take this
|