Lines Matching refs:shell_websocket
19 LOG_MODULE_REGISTER(shell_websocket, CONFIG_SHELL_WEBSOCKET_INIT_LOG_LEVEL);
32 static void ws_end_client_connection(struct shell_websocket *ws) in ws_end_client_connection()
54 static int ws_send(struct shell_websocket *ws, bool block) in ws_send()
100 struct shell_websocket *ws = CONTAINER_OF(dwork, in ws_send_prematurely()
101 struct shell_websocket, in ws_send_prematurely()
113 static void ws_recv(struct shell_websocket *ws, struct zsock_pollfd *pollfd) in ws_recv()
163 struct shell_websocket *ws; in ws_server_cb()
166 ws = (struct shell_websocket *)evt->user_data; in ws_server_cb()
190 static int shell_ws_init(struct shell_websocket *ctx, int ws_socket) in shell_ws_init()
236 struct shell_websocket *ws; in init()
238 ws = (struct shell_websocket *)transport->ctx; in init()
240 memset(ws, 0, sizeof(struct shell_websocket)); in init()
273 struct shell_websocket *ws; in sh_write()
279 ws = (struct shell_websocket *)transport->ctx; in sh_write()
334 struct shell_websocket *ws; in sh_read()
337 ws = (struct shell_websocket *)transport->ctx; in sh_read()
382 struct shell_websocket *ws = user_data; in shell_websocket_setup()