Searched refs:ws_socket (Results 1 – 6 of 6) sorted by relevance
| /Zephyr-latest/samples/net/sockets/http_server/src/ |
| D | ws.h | 18 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);
|
| D | ws.c | 298 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/ |
| D | shell_websocket.c | 186 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/ |
| D | shell_websocket.h | 65 int shell_websocket_setup(int ws_socket, struct http_request_ctx *request_ctx, void *user_data);
|
| /Zephyr-latest/include/zephyr/net/http/ |
| D | server.h | 275 typedef int (*http_resource_websocket_cb_t)(int ws_socket, struct http_request_ctx *request_ctx,
|
| /Zephyr-latest/doc/connectivity/networking/api/ |
| D | http_server.rst | 385 static int ws_socket; 390 ws_socket = sock;
|