Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/subsys/net/lib/websocket/
Dwebsocket_internal.h97 uint32_t masking_value; member
Dwebsocket.c723 ctx->masking_value = sys_rand32_get(); in websocket_send_msg()
725 header[hdr_len++] |= ctx->masking_value >> 24; in websocket_send_msg()
726 header[hdr_len++] |= ctx->masking_value >> 16; in websocket_send_msg()
727 header[hdr_len++] |= ctx->masking_value >> 8; in websocket_send_msg()
728 header[hdr_len++] |= ctx->masking_value; in websocket_send_msg()
739 data_to_send[i] ^= ctx->masking_value >> (8 * (3 - i % 4)); in websocket_send_msg()
810 ctx->masking_value = 0; in websocket_parse()
831 ctx->masking_value = 0; in websocket_parse()
842 ctx->masking_value |= (data << (ctx->parser_remaining * 8)); in websocket_parse()
863 ctx->masked ? ctx->masking_value : 0, ctx->message_type, in websocket_parse()
[all …]