Searched refs:FRAME_OPCODE_MASK (Results 1 – 2 of 2) sorted by relevance
104 frame_type &= FRAME_OPCODE_MASK; in websocket_read()106 if ((self->buf[0] & FRAME_OPCODE_MASK) == FRAME_CONT) { in websocket_read()108 … self->ws_flags = (self->ws_flags & FRAME_OPCODE_MASK) | (self->buf[0] & ~FRAME_OPCODE_MASK); in websocket_read()156 if ((self->last_flags & FRAME_OPCODE_MASK) >= FRAME_CLOSE) { in websocket_read()195 byte frame_type = self->last_flags & FRAME_OPCODE_MASK; in websocket_read()222 byte header[4] = {0x80 | (self->opts & FRAME_OPCODE_MASK)}; in websocket_write()266 return self->ws_flags & FRAME_OPCODE_MASK; in websocket_ioctl()268 int cur = self->opts & FRAME_OPCODE_MASK; in websocket_ioctl()269 self->opts = (self->opts & ~FRAME_OPCODE_MASK) | (arg & FRAME_OPCODE_MASK); in websocket_ioctl()
4 #define FRAME_OPCODE_MASK 0x0f macro
Completed in 3 milliseconds