Searched refs:npacket (Results 1 – 2 of 2) sorted by relevance
56 size_t npacket; /* byte counter */ member
673 mq->npacket = remlen; /* get this many bytes */ in mqtt_read_publish()678 size_t rest = mq->npacket; in mqtt_read_publish()699 mq->npacket -= nread; in mqtt_read_publish()700 if(!mq->npacket) in mqtt_read_publish()774 mq->npacket = 0; in mqtt_doing()783 mq->pkt_hd[mq->npacket++] = recvbyte; in mqtt_doing()784 } while((recvbyte & 0x80) && (mq->npacket < 4)); in mqtt_doing()791 mq->remaining_length = mqtt_decode_len(mq->pkt_hd, mq->npacket, NULL); in mqtt_doing()792 mq->npacket = 0; in mqtt_doing()
Completed in 8 milliseconds