Lines Matching refs:opcode
194 wsh->opcode = NXT_WEBSOCKET_OP_PING; in nxt_h1p_conn_ws_keepalive()
270 if ((wsh->opcode & NXT_WEBSOCKET_OP_CTRL) != 0) { in nxt_h1p_conn_ws_frame_header_read()
276 if (nxt_slow_path(wsh->opcode != NXT_WEBSOCKET_OP_PING in nxt_h1p_conn_ws_frame_header_read()
277 && wsh->opcode != NXT_WEBSOCKET_OP_PONG in nxt_h1p_conn_ws_frame_header_read()
278 && wsh->opcode != NXT_WEBSOCKET_OP_CLOSE)) in nxt_h1p_conn_ws_frame_header_read()
281 wsh->opcode); in nxt_h1p_conn_ws_frame_header_read()
291 if (nxt_slow_path(wsh->opcode == NXT_WEBSOCKET_OP_CLOSE in nxt_h1p_conn_ws_frame_header_read()
300 if (nxt_slow_path(wsh->opcode != NXT_WEBSOCKET_OP_CONT)) { in nxt_h1p_conn_ws_frame_header_read()
302 wsh->opcode); in nxt_h1p_conn_ws_frame_header_read()
307 if (nxt_slow_path(wsh->opcode != NXT_WEBSOCKET_OP_BINARY in nxt_h1p_conn_ws_frame_header_read()
308 && wsh->opcode != NXT_WEBSOCKET_OP_TEXT)) in nxt_h1p_conn_ws_frame_header_read()
311 wsh->opcode); in nxt_h1p_conn_ws_frame_header_read()
411 if (nxt_slow_path(wsh->opcode == NXT_WEBSOCKET_OP_PING)) { in nxt_h1p_conn_ws_frame_process()
416 if (nxt_slow_path(wsh->opcode == NXT_WEBSOCKET_OP_CLOSE)) { in nxt_h1p_conn_ws_frame_process()
616 wsh->opcode = NXT_WEBSOCKET_OP_CLOSE; in hxt_h1p_send_ws_error()
681 wsh->opcode = NXT_WEBSOCKET_OP_PONG; in nxt_h1p_conn_ws_pong()