Home
last modified time | relevance | path

Searched refs:packet (Results 1 – 10 of 10) sorted by relevance

/curl/tests/server/
H A Dmqttd.c247 rc = swrite(fd, (char *)packet, sizeof(packet)); in connack()
250 loghex(packet, rc); in connack()
251 logprotocol(FROM_SERVER, "CONNACK", 2, dump, packet, sizeof(packet)); in connack()
271 rc = swrite(fd, (char *)packet, sizeof(packet)); in suback()
274 loghex(packet, rc); in suback()
293 rc = swrite(fd, (char *)packet, sizeof(packet)); in puback()
296 loghex(packet, rc); in puback()
311 ssize_t rc = swrite(fd, (char *)packet, sizeof(packet)); in disconnect()
314 loghex(packet, rc); in disconnect()
420 if(!packet) in publish()
[all …]
/curl/lib/
H A Dmqtt.c225 packet[0] = MQTT_MSG_CONNECT; in init_connpack()
235 packet[remain_pos + 3] = 'M'; in init_connpack()
264 char *packet = NULL; in mqtt_connect() local
292 packet = malloc(packetlen); in mqtt_connect()
293 if(!packet) in mqtt_connect()
342 if(packet) in mqtt_connect()
343 free(packet); in mqtt_connect()
458 packet = malloc(packetlen); in mqtt_subscribe()
459 if(!packet) { in mqtt_subscribe()
477 free(packet); in mqtt_subscribe()
[all …]
H A Dtftp.c261 static void setpacketevent(struct tftp_packet *packet, unsigned short num) in setpacketevent() argument
263 packet->data[0] = (unsigned char)(num >> 8); in setpacketevent()
264 packet->data[1] = (unsigned char)(num & 0xff); in setpacketevent()
268 static void setpacketblock(struct tftp_packet *packet, unsigned short num) in setpacketblock() argument
270 packet->data[2] = (unsigned char)(num >> 8); in setpacketblock()
271 packet->data[3] = (unsigned char)(num & 0xff); in setpacketblock()
274 static unsigned short getrpacketevent(const struct tftp_packet *packet) in getrpacketevent() argument
276 return (unsigned short)((packet->data[0] << 8) | packet->data[1]); in getrpacketevent()
279 static unsigned short getrpacketblock(const struct tftp_packet *packet) in getrpacketblock() argument
281 return (unsigned short)((packet->data[2] << 8) | packet->data[3]); in getrpacketblock()
/curl/tests/unit/
H A Dunit1650.c58 const char *packet; member
74 const char *packet; member
177 if(req[i].packet && memcmp(req[i].packet, buffer, size)) {
180 hexdump((unsigned char *)req[i].packet, size));
181 abort_if(req[i].packet && memcmp(req[i].packet, buffer, size),
193 rc = doh_decode((const unsigned char *)resp[i].packet, resp[i].size,
/curl/docs/libcurl/opts/
H A DCURLOPT_SASL_IR.md18 CURLOPT_SASL_IR - send initial response in first packet
31 in the first authentication packet in order to reduce the number of ping pong
H A DCURLOPT_INTERLEAVEDATA.md47 /* take care of the packet in 'ptr', then return... */
H A DCURLOPT_INTERLEAVEFUNCTION.md37 contains exactly one upper-layer protocol unit (e.g. one RTP packet). Curl
79 /* take care of the packet in 'ptr', then return... */
H A DCURLOPT_READFUNCTION.md61 that the callback wants, or it is considered the final packet by the server
/curl/tests/data/
H A Dtest107040 rather large (larger than your typical TCP packet) so that not all of it can nor
/curl/docs/
H A DFAQ1026 packet sent three seconds after the first and the third six seconds after
1298 get a problem with receiving the packet sent back as they would then not be

Completed in 46 milliseconds