Lines Matching refs:rx_ubuf_head
350 wsi->ws->rx_ubuf[LWS_PRE + (wsi->ws->rx_ubuf_head++)] = c; in lws_ws_client_rx_sm()
364 wsi->ws->rx_ubuf_head != wsi->a.context->pt_serv_buf_size) in lws_ws_client_rx_sm()
368 wsi->ws->rx_ubuf_head != wsi->a.protocol->rx_buffer_size) in lws_ws_client_rx_sm()
388 wsi->ws->rx_ubuf_head > 2 && in lws_ws_client_rx_sm()
390 wsi->ws->rx_ubuf_head - 2)) in lws_ws_client_rx_sm()
404 (int)wsi->ws->rx_ubuf_head); in lws_ws_client_rx_sm()
405 if (wsi->ws->rx_ubuf_head >= 2) { in lws_ws_client_rx_sm()
421 wsi->ws->rx_ubuf_head)) in lws_ws_client_rx_sm()
425 wsi->ws->rx_ubuf_head); in lws_ws_client_rx_sm()
427 (uint8_t)wsi->ws->rx_ubuf_head; in lws_ws_client_rx_sm()
441 (int)wsi->ws->rx_ubuf_head); in lws_ws_client_rx_sm()
457 if (wsi->ws->rx_ubuf_head > 128 - 3) { in lws_ws_client_rx_sm()
465 wsi->ws->rx_ubuf_head); in lws_ws_client_rx_sm()
467 wsi->ws->pong_payload_len = (uint8_t)wsi->ws->rx_ubuf_head; in lws_ws_client_rx_sm()
473 wsi->ws->rx_ubuf_head = 0; in lws_ws_client_rx_sm()
480 wsi->ws->rx_ubuf_head); in lws_ws_client_rx_sm()
495 wsi->ws->rx_ubuf_head = 0; in lws_ws_client_rx_sm()
518 pmdrx.eb_in.len = (int)wsi->ws->rx_ubuf_head; in lws_ws_client_rx_sm()
525 (int)wsi->ws->rx_ubuf_head); in lws_ws_client_rx_sm()
653 (int)wsi->ws->rx_ubuf_head, in lws_ws_client_rx_sm()
667 wsi->ws->rx_ubuf_head = 0; in lws_ws_client_rx_sm()