Searched refs:routes (Results 1 - 13 of 13) sorted by relevance

/netbsd-6-1-5-RELEASE/external/bsd/dhcpcd/dist/
H A Dipv6.c51 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 Ddhcp.c73 * 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 Dif-options.h102 struct rt *routes; member in struct:if_options
H A Dconfigure.c55 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 Dnet.c559 free_routes(struct rt *routes) argument
563 while (routes) {
564 r = routes->next;
565 free(routes);
566 routes = r;
H A Dif-options.c650 } 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 Ddhcp.c70 * 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 Dconfigure.c60 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 Dif-options.h96 struct rt *routes; member in struct:if_options
H A Dnet.c357 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 Dsys-bsd.c1502 * 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 Dupgrade.sh216 adding additional routes, if needed. In addition, you might take this
H A Dinstall.sh310 adding additional routes, if needed. In addition, you might take this

Completed in 187 milliseconds