Home
last modified time | relevance | path

Searched refs:packetid (Results 1 – 3 of 3) sorted by relevance

/curl/lib/
H A Dmqtt.h47 unsigned int packetid; member
H A Dmqtt.c451 conn->proto.mqtt.packetid++; in mqtt_subscribe()
466 packet[1 + n] = (conn->proto.mqtt.packetid >> 8) & 0xff; in mqtt_subscribe()
467 packet[2 + n] = conn->proto.mqtt.packetid & 0xff; in mqtt_subscribe()
501 if(((unsigned char)ptr[0]) != ((mqtt->packetid >> 8) & 0xff) || in mqtt_verify_suback()
502 ((unsigned char)ptr[1]) != (mqtt->packetid & 0xff) || in mqtt_verify_suback()
/curl/tests/server/
H A Dmqttd.c256 static int suback(FILE *dump, curl_socket_t fd, unsigned short packetid) in suback() argument
264 packet[2] = (unsigned char)(packetid >> 8); in suback()
265 packet[3] = (unsigned char)(packetid & 0xff); in suback()
279 static int puback(FILE *dump, curl_socket_t fd, unsigned short packetid) in puback() argument
286 packet[2] = (unsigned char)(packetid >> 8); in puback()
287 packet[3] = (unsigned char)(packetid & 0xff); in puback()
389 curl_socket_t fd, unsigned short packetid, in publish() argument
422 (void)packetid; in publish()

Completed in 11 milliseconds