Searched refs:npacket (Results 1 – 2 of 2) sorted by relevance
676 mq->npacket = remlen; /* get this many bytes */ in mqtt_read_publish()681 size_t rest = mq->npacket; in mqtt_read_publish()698 mq->npacket -= nread; in mqtt_read_publish()710 if(!mq->npacket) in mqtt_read_publish()786 mq->npacket = 0; in mqtt_doing()795 pkt[mq->npacket++] = byte; in mqtt_doing()796 } while((byte & 0x80) && (mq->npacket < 4)); in mqtt_doing()803 mq->remaining_length = mqtt_decode_len(&pkt[0], mq->npacket, NULL); in mqtt_doing()804 mq->npacket = 0; in mqtt_doing()
56 size_t npacket; /* byte counter */ member