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.h15 int ws_echo_setup(int ws_socket, void *user_data);
25 int ws_netstats_setup(int ws_socket, void *user_data);
Dws.c298 int ws_echo_setup(int ws_socket, 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, 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.c190 static int shell_ws_init(struct shell_websocket *ctx, int ws_socket) in shell_ws_init() argument
194 if (ws_socket < 0) { in shell_ws_init()
195 LOG_ERR("Invalid socket %d", ws_socket); in shell_ws_init()
206 ctx->fds[0].fd = ws_socket; in shell_ws_init()
216 log_backend_ws_register(ws_socket); in shell_ws_init()
380 int shell_websocket_setup(int ws_socket, void *user_data) in shell_websocket_setup() argument
384 return shell_ws_init(ws, ws_socket); in shell_websocket_setup()
/Zephyr-latest/include/zephyr/shell/
Dshell_websocket.h65 extern int shell_websocket_setup(int ws_socket, void *user_data);
/Zephyr-latest/include/zephyr/net/http/
Dserver.h264 typedef int (*http_resource_websocket_cb_t)(int ws_socket,
/Zephyr-latest/doc/connectivity/networking/api/
Dhttp_server.rst342 static int ws_socket;
347 ws_socket = sock;