Home
last modified time | relevance | path

Searched refs:parser_remaining (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.7.0/subsys/net/lib/websocket/
Dwebsocket.c811 ctx->parser_remaining = 4; in websocket_parse()
814 ctx->parser_remaining = ctx->message_len; in websocket_parse()
816 (ctx->parser_remaining == 0) in websocket_parse()
822 ctx->parser_remaining = (len < 127) ? 2 : 8; in websocket_parse()
827 ctx->parser_remaining--; in websocket_parse()
828 ctx->message_len |= ((uint64_t)data << (ctx->parser_remaining * 8)); in websocket_parse()
829 if (ctx->parser_remaining == 0) { in websocket_parse()
832 ctx->parser_remaining = 4; in websocket_parse()
835 ctx->parser_remaining = ctx->message_len; in websocket_parse()
841 ctx->parser_remaining--; in websocket_parse()
[all …]
Dwebsocket_internal.h106 uint64_t parser_remaining; member