Lines Matching refs:opcode
60 static const char *opcode2str(enum websocket_opcode opcode) in opcode2str() argument
62 switch (opcode) { in opcode2str()
653 enum websocket_opcode opcode, bool mask, bool final, in websocket_send_msg() argument
661 if (opcode != WEBSOCKET_OPCODE_DATA_TEXT && in websocket_send_msg()
662 opcode != WEBSOCKET_OPCODE_DATA_BINARY && in websocket_send_msg()
663 opcode != WEBSOCKET_OPCODE_CONTINUE && in websocket_send_msg()
664 opcode != WEBSOCKET_OPCODE_CLOSE && in websocket_send_msg()
665 opcode != WEBSOCKET_OPCODE_PING && in websocket_send_msg()
666 opcode != WEBSOCKET_OPCODE_PONG) { in websocket_send_msg()
685 NET_DBG("[%p] Len %zd %s/%d/%s", ctx, payload_len, opcode2str(opcode), in websocket_send_msg()
694 header[0] |= opcode; in websocket_send_msg()