Lines Matching refs:rx_packet_length
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()
270 wsi->ws->rx_packet_length |= ((size_t)c) << 24; in lws_ws_client_rx_sm()
275 wsi->ws->rx_packet_length |= ((size_t)c) << 16; in lws_ws_client_rx_sm()
280 wsi->ws->rx_packet_length |= ((size_t)c) << 8; in lws_ws_client_rx_sm()
285 wsi->ws->rx_packet_length |= (size_t)c; in lws_ws_client_rx_sm()
290 if (wsi->ws->rx_packet_length) in lws_ws_client_rx_sm()
326 if (wsi->ws->rx_packet_length) in lws_ws_client_rx_sm()
352 if (--wsi->ws->rx_packet_length == 0) { in lws_ws_client_rx_sm()
584 if (!wsi->ws->rx_packet_length && in lws_ws_client_rx_sm()