Home
last modified time | relevance | path

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

/Zephyr-latest/samples/net/sockets/http_server/src/
Dws.h18 int ws_echo_setup(int ws_socket, struct http_request_ctx *request_ctx, void *user_data);
29 int ws_netstats_setup(int ws_socket, struct http_request_ctx *request_ctx, void *user_data);
Dws.c298 int ws_echo_setup(int ws_socket, struct http_request_ctx *request_ctx, void *user_data) in ws_echo_setup() argument
309 config[slot].sock = ws_socket; in ws_echo_setup()
334 int ws_netstats_setup(int ws_socket, struct http_request_ctx *request_ctx, void *user_data) in ws_netstats_setup() argument
345 netstats_ctx[slot].sock = ws_socket; in ws_netstats_setup()
/Zephyr-latest/subsys/shell/backends/
Dshell_websocket.c186 static int shell_ws_init(struct shell_websocket *ctx, int ws_socket) in shell_ws_init() argument
190 if (ws_socket < 0) { in shell_ws_init()
191 LOG_ERR("Invalid socket %d", ws_socket); in shell_ws_init()
202 ctx->fds[0].fd = ws_socket; in shell_ws_init()
212 log_backend_ws_register(ws_socket); in shell_ws_init()
377 int shell_websocket_setup(int ws_socket, struct http_request_ctx *request_ctx, void *user_data) in shell_websocket_setup() argument
381 return shell_ws_init(ws, ws_socket); in shell_websocket_setup()
/Zephyr-latest/include/zephyr/shell/
Dshell_websocket.h65 int shell_websocket_setup(int ws_socket, struct http_request_ctx *request_ctx, void *user_data);
/Zephyr-latest/include/zephyr/net/http/
Dserver.h275 typedef int (*http_resource_websocket_cb_t)(int ws_socket, struct http_request_ctx *request_ctx,
/Zephyr-latest/doc/connectivity/networking/api/
Dhttp_server.rst385 static int ws_socket;
390 ws_socket = sock;