Lines Matching defs:byte
103 unsigned char version; /* initial version byte in the request must match
331 // if there are more data to encode, set the top bit of this byte
417 /* one packet type byte (possibly two more for packetid) */
475 /* if the length byte has the top bit set, get the next one too */
496 unsigned char byte;
541 rc = fixedheader(fd, &byte, &remaining_length, &bytes);
563 if(byte == MQTT_MSG_CONNECT) {
571 /* ignore the connect flag byte and two keepalive bytes */
619 else if(byte == MQTT_MSG_SUBSCRIBE) {
645 /* there's a QoS byte (two bits) after the topic */
674 else if((byte & 0xf0) == (MQTT_MSG_PUBLISH & 0xf0)) {