Lines Matching refs:rx_ubuf_head
392 if (wsi->ws->rx_ubuf_head + LWS_PRE >= wsi->ws->rx_ubuf_alloc) { in lws_ws_rx_sm()
399 (wsi->ws->rx_ubuf_head++)] = c; in lws_ws_rx_sm()
402 (wsi->ws->rx_ubuf_head++)] = in lws_ws_rx_sm()
426 wsi->ws->rx_ubuf_head != wsi->context->pt_serv_buf_size) in lws_ws_rx_sm()
430 wsi->ws->rx_ubuf_head != wsi->protocol->rx_buffer_size) in lws_ws_rx_sm()
453 wsi->ws->rx_ubuf_head > 2 && in lws_ws_rx_sm()
455 wsi->ws->rx_ubuf_head - 2)) in lws_ws_rx_sm()
483 if (wsi->ws->rx_ubuf_head >= 2) { in lws_ws_rx_sm()
505 wsi->ws->rx_ubuf_head)) in lws_ws_rx_sm()
516 (int)wsi->ws->rx_ubuf_head); in lws_ws_rx_sm()
528 if (wsi->ws->rx_ubuf_head > 128 - 3) { in lws_ws_rx_sm()
536 wsi->ws->rx_ubuf_head); in lws_ws_rx_sm()
538 wsi->ws->ping_payload_len = wsi->ws->rx_ubuf_head; in lws_ws_rx_sm()
544 wsi->ws->rx_ubuf_head = 0; in lws_ws_rx_sm()
550 wsi->ws->rx_ubuf_head); in lws_ws_rx_sm()
585 pmdrx.eb_in.len = wsi->ws->rx_ubuf_head; in lws_ws_rx_sm()
738 wsi->ws->rx_ubuf_head = 0; in lws_ws_rx_sm()