HomeSort by: relevance | last modified time | path
    Searched defs:routes (Results 1 - 20 of 20) sorted by relevancy

  /src/usr.bin/rump_dhcpclient/
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 = or->next
    [all...]
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 = or->next
    [all...]
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 = NULL local
    [all...]
if-options.h 96 struct rt *routes; member in struct:if_options
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 = NULL local
    [all...]
if-options.h 96 struct rt *routes; member in struct:if_options
  /src/external/bsd/dhcpcd/dist/src/
route.c 109 * On some systems, host routes have no need for a netmask.
110 * However DHCP specifies host routes using an all-ones netmask.
195 /* IPv4LL routes always come last */
252 rb_tree_init(&ctx->routes, &rt_compare_os_ops);
357 rt_headfree(&ctx->routes);
362 logdebugx("new routes from route free list %zu", nroutes);
472 RB_TREE_FOREACH_SAFE(rt, &ctx->routes, rtn) {
474 rb_tree_remove_node(&ctx->routes, rt);
496 f = rb_tree_find_node(&ctx->routes, rt);
500 rb_tree_remove_node(&ctx->routes, f)
768 rb_tree_t routes, added, kroutes; local
    [all...]
route.c 109 * On some systems, host routes have no need for a netmask.
110 * However DHCP specifies host routes using an all-ones netmask.
195 /* IPv4LL routes always come last */
252 rb_tree_init(&ctx->routes, &rt_compare_os_ops);
357 rt_headfree(&ctx->routes);
362 logdebugx("new routes from route free list %zu", nroutes);
472 RB_TREE_FOREACH_SAFE(rt, &ctx->routes, rtn) {
474 rb_tree_remove_node(&ctx->routes, rt);
496 f = rb_tree_find_node(&ctx->routes, rt);
500 rb_tree_remove_node(&ctx->routes, f)
768 rb_tree_t routes, added, kroutes; local
    [all...]
dhcpcd.h 144 rb_tree_t routes; /* our routes */ member in struct:dhcpcd_ctx
146 rb_tree_t froutes; /* free routes for re-use */
dhcpcd.h 144 rb_tree_t routes; /* our routes */ member in struct:dhcpcd_ctx
146 rb_tree_t froutes; /* free routes for re-use */
if-options.h 266 rb_tree_t routes; member in struct:if_options
if-options.h 266 rb_tree_t routes; member in struct:if_options
  /src/external/apache2/mDNSResponder/dist/ServiceRegistration/
cti-services.h 158 cti_route_t *NULLABLE *NONNULL routes; member in struct:_cti_route_vec
985 * requested number of routes.
1000 * requested number of routes.
1004 cti_route_vec_release_(cti_route_vec_t *NONNULL routes, const char *NONNULL file, int line);
1005 #define cti_route_vec_release(routes) cti_route_vec_release_(routes, __FILE__, __LINE__)
1046 * routes: The route vector to release.
1049 * routes.
1054 #define cti_route_release(routes) cti_route_release(route, __FILE__, __LINE__)
1071 * route_vec: If status is kCTIStatus_NoError, a vector containing all of the routes that were reported i
    [all...]
nat64.h 146 cti_route_vec_t *NULLABLE routes; member in union:nat64_thread_prefix_monitor_event::__anon6009
259 void nat64_offmesh_route_list_callback(route_state_t *NONNULL route_state, cti_route_vec_t *NONNULL routes,
cti-services.h 158 cti_route_t *NULLABLE *NONNULL routes; member in struct:_cti_route_vec
985 * requested number of routes.
1000 * requested number of routes.
1004 cti_route_vec_release_(cti_route_vec_t *NONNULL routes, const char *NONNULL file, int line);
1005 #define cti_route_vec_release(routes) cti_route_vec_release_(routes, __FILE__, __LINE__)
1046 * routes: The route vector to release.
1049 * routes.
1054 #define cti_route_release(routes) cti_route_release(route, __FILE__, __LINE__)
1071 * route_vec: If status is kCTIStatus_NoError, a vector containing all of the routes that were reported i
    [all...]
nat64.h 146 cti_route_vec_t *NULLABLE routes; member in union:nat64_thread_prefix_monitor_event::__anon6009
259 void nat64_offmesh_route_list_callback(route_state_t *NONNULL route_state, cti_route_vec_t *NONNULL routes,
cti-services.c 1788 INFO("prefixes array not present in IPv6:Routes event.");
1818 xpc_dictionary_set_string(dict, "property_name", "IPv6:Routes");
1820 errx = setup_for_command(ref, client_queue, "get_prefix_list", "IPv6:Routes", NULL, dict, "WpanctlCmd",
1834 cti_route_vec_finalize(cti_route_vec_t *routes)
1838 if (routes->routes != NULL) {
1839 for (i = 0; i < routes->num; i++) {
1840 if (routes->routes[i] != NULL) {
1841 RELEASE_HERE(routes->routes[i], cti_route)
1852 cti_route_vec_t *routes = calloc(1, sizeof(*routes)); local
1897 cti_route_vec_t *routes = cti_route_vec_create(routes_array_length); local
    [all...]
cti-services.c 1788 INFO("prefixes array not present in IPv6:Routes event.");
1818 xpc_dictionary_set_string(dict, "property_name", "IPv6:Routes");
1820 errx = setup_for_command(ref, client_queue, "get_prefix_list", "IPv6:Routes", NULL, dict, "WpanctlCmd",
1834 cti_route_vec_finalize(cti_route_vec_t *routes)
1838 if (routes->routes != NULL) {
1839 for (i = 0; i < routes->num; i++) {
1840 if (routes->routes[i] != NULL) {
1841 RELEASE_HERE(routes->routes[i], cti_route)
1852 cti_route_vec_t *routes = calloc(1, sizeof(*routes)); local
1897 cti_route_vec_t *routes = cti_route_vec_create(routes_array_length); local
    [all...]
  /src/external/bsd/ppp/usr.sbin/pppd/
sys-bsd.c 1568 * cifaddr - Clear the interface IP addresses, and delete routes
1617 int routes; local
1626 if ((routes = socket(PF_ROUTE, SOCK_RAW, AF_INET)) < 0) {
1660 if (write(routes, &rtmsg, sizeof(rtmsg)) < 0) {
1664 close(routes);
1668 close(routes);
1760 int routes; local
1772 if ((routes = socket(PF_ROUTE, SOCK_RAW, AF_INET)) < 0) {
1790 if (write(routes, &arpmsg, arpmsg.hdr.rtm_msglen) < 0) {
1792 close(routes);
1808 int routes; local
    [all...]
sys-bsd.c 1568 * cifaddr - Clear the interface IP addresses, and delete routes
1617 int routes; local
1626 if ((routes = socket(PF_ROUTE, SOCK_RAW, AF_INET)) < 0) {
1660 if (write(routes, &rtmsg, sizeof(rtmsg)) < 0) {
1664 close(routes);
1668 close(routes);
1760 int routes; local
1772 if ((routes = socket(PF_ROUTE, SOCK_RAW, AF_INET)) < 0) {
1790 if (write(routes, &arpmsg, arpmsg.hdr.rtm_msglen) < 0) {
1792 close(routes);
1808 int routes; local
    [all...]

Completed in 51 milliseconds