Home
last modified time | relevance | path

Searched refs:firstbyte (Results 1 – 4 of 4) sorted by relevance

/curl/lib/
H A Dmqtt.h57 unsigned char firstbyte; member
H A Dws.h61 unsigned char firstbyte; /* first byte of frame we encode */ member
H A Dws.c496 msg, ws_frame_name_of_op(enc->firstbyte), in ws_enc_info()
497 (enc->firstbyte & WSBIT_OPCODE_MASK) == WSBIT_OPCODE_CONT ? in ws_enc_info()
499 (enc->firstbyte & WSBIT_FIN) ? "" : " NON-FIN", in ws_enc_info()
545 unsigned char firstbyte = 0; in ws_enc_write_head() local
576 firstbyte |= WSBIT_FIN | opcode; in ws_enc_write_head()
580 firstbyte |= WSBIT_FIN | WSBIT_OPCODE_CONT; in ws_enc_write_head()
587 firstbyte |= WSBIT_OPCODE_CONT; in ws_enc_write_head()
590 firstbyte = opcode; in ws_enc_write_head()
594 head[0] = enc->firstbyte = firstbyte; in ws_enc_write_head()
H A Dmqtt.c644 packet = mq->firstbyte & 0xf0; in mqtt_read_publish()
763 result = Curl_xfer_recv(data, (char *)&mq->firstbyte, 1, &nread); in mqtt_doing()
772 Curl_debug(data, CURLINFO_HEADER_IN, (char *)&mq->firstbyte, 1); in mqtt_doing()
799 if(mq->firstbyte == MQTT_MSG_DISCONNECT) { in mqtt_doing()

Completed in 11 milliseconds