Home
last modified time | relevance | path

Searched refs:dispatch_table (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/subsys/net/lib/dns/
Ddispatcher.c34 } dispatch_table[CONFIG_ZVFS_OPEN_MAX]; variable
260 CHECKIF((int)ctx->fds[i].fd >= (int)ARRAY_SIZE(dispatch_table)) { in dns_dispatcher_register()
269 if (dispatch_table[ctx->fds[i].fd].ctx == NULL) { in dns_dispatcher_register()
270 dispatch_table[ctx->fds[i].fd].ctx = ctx; in dns_dispatcher_register()
301 if ((int)ctx->fds[i].fd >= (int)ARRAY_SIZE(dispatch_table)) { in dns_dispatcher_register()
310 if (dispatch_table[ctx->fds[i].fd].ctx == NULL) { in dns_dispatcher_register()
311 dispatch_table[ctx->fds[i].fd].ctx = ctx; in dns_dispatcher_register()
315 ret = net_socket_service_register(ctx->svc, ctx->fds, ctx->fds_len, &dispatch_table); in dns_dispatcher_register()
343 CHECKIF((int)ctx->fds[i].fd >= (int)ARRAY_SIZE(dispatch_table)) { in dns_dispatcher_unregister()
348 dispatch_table[ctx->fds[i].fd].ctx = NULL; in dns_dispatcher_unregister()