Home
last modified time | relevance | path

Searched refs:payloadlen (Results 1 – 2 of 2) sorted by relevance

/curl/lib/
H A Dmqtt.c259 size_t payloadlen = 0; in mqtt_connect() local
275 payloadlen = ulen + plen + MQTT_CLIENTID_LEN + 2; in mqtt_connect()
279 payloadlen += 2; in mqtt_connect()
281 payloadlen += 2; in mqtt_connect()
287 packetlen = payloadlen + 10 + remain_pos + 1; in mqtt_connect()
517 size_t payloadlen; in mqtt_publish() local
532 payloadlen = strlen(payload); in mqtt_publish()
534 payloadlen = (size_t)postfieldsize; in mqtt_publish()
540 remaininglength = payloadlen + 2 + topiclen; in mqtt_publish()
558 memcpy(&pkt[i], payload, payloadlen); in mqtt_publish()
[all …]
/curl/tests/server/
H A Dmqttd.c390 char *topic, char *payload, size_t payloadlen) in publish() argument
395 size_t remaininglength = topiclen + 2 + payloadlen; in publish()
430 memcpy(&packet[payloadindex], payload, payloadlen); in publish()

Completed in 17 milliseconds