Searched refs:remaininglength (Results 1 – 2 of 2) sorted by relevance
522 size_t remaininglength; in mqtt_publish() local540 remaininglength = payloadlen + 2 + topiclen; in mqtt_publish()541 encodelen = mqtt_encode_len(encodedbytes, remaininglength); in mqtt_publish()544 pkt = malloc(remaininglength + 1 + encodelen); in mqtt_publish()
397 size_t remaininglength = topiclen + 2 + payloadlen; in publish() local413 encodedlen = encode_length(remaininglength, rembuffer); in publish()416 packetlen = remaininglength + encodedlen + 1; in publish()442 logprotocol(FROM_SERVER, "PUBLISH", remaininglength, dump, packet, rc); in publish()
Completed in 8 milliseconds