Searched refs:rx_packet_length (Results 1 – 5 of 5) sorted by relevance
197 wsi->ws->rx_packet_length = c & 0x7f; in lws_ws_client_rx_sm()202 if (wsi->ws->rx_packet_length) { in lws_ws_client_rx_sm()215 wsi->ws->rx_packet_length = (size_t)((unsigned int)c << 8); in lws_ws_client_rx_sm()220 wsi->ws->rx_packet_length |= c; in lws_ws_client_rx_sm()224 if (wsi->ws->rx_packet_length) in lws_ws_client_rx_sm()241 wsi->ws->rx_packet_length = ((size_t)c) << 56; in lws_ws_client_rx_sm()243 wsi->ws->rx_packet_length = 0; in lws_ws_client_rx_sm()250 wsi->ws->rx_packet_length |= ((size_t)c) << 48; in lws_ws_client_rx_sm()257 wsi->ws->rx_packet_length |= ((size_t)c) << 40; in lws_ws_client_rx_sm()264 wsi->ws->rx_packet_length |= ((size_t)c) << 32; in lws_ws_client_rx_sm()[all …]
259 wsi->ws->rx_packet_length = c & 0x7f; in lws_ws_rx_sm()266 if (wsi->ws->rx_packet_length) { in lws_ws_rx_sm()278 wsi->ws->rx_packet_length = (size_t)(c << 8); in lws_ws_rx_sm()283 wsi->ws->rx_packet_length |= c; in lws_ws_rx_sm()300 wsi->ws->rx_packet_length = ((size_t)c) << 56; in lws_ws_rx_sm()302 wsi->ws->rx_packet_length = 0; in lws_ws_rx_sm()309 wsi->ws->rx_packet_length |= ((size_t)c) << 48; in lws_ws_rx_sm()316 wsi->ws->rx_packet_length |= ((size_t)c) << 40; in lws_ws_rx_sm()323 wsi->ws->rx_packet_length |= ((size_t)c) << 32; in lws_ws_rx_sm()329 wsi->ws->rx_packet_length |= ((size_t)c) << 24; in lws_ws_rx_sm()[all …]
811 unsigned int old_packet_length = (unsigned int)wsi->ws->rx_packet_length; in lws_ws_frame_rest_is_payload()834 if (avail > wsi->ws->rx_packet_length) in lws_ws_frame_rest_is_payload()835 avail = (unsigned int)wsi->ws->rx_packet_length; in lws_ws_frame_rest_is_payload()880 wsi->ws->rx_packet_length -= avail; in lws_ws_frame_rest_is_payload()915 !wsi->ws->rx_packet_length && /* raw ws packet payload all gone */ in lws_ws_frame_rest_is_payload()955 if (!wsi->ws->rx_packet_length && wsi->ws->final && in lws_ws_frame_rest_is_payload()
136 size_t rx_packet_length; member
277 !wsi->ws->rx_packet_length && in lws_extension_callback_pm_deflate()318 (int)wsi->ws->rx_packet_length, in lws_extension_callback_pm_deflate()324 !wsi->ws->rx_packet_length && in lws_extension_callback_pm_deflate()444 (int)wsi->ws->rx_packet_length); in lws_extension_callback_pm_deflate()