Home
last modified time | relevance | path

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

/curl/tests/server/
H A Dmqttd.c243 rc = swrite(fd, (char *)packet, sizeof(packet)); in connack()
246 loghex(packet, rc); in connack()
247 logprotocol(FROM_SERVER, "CONNACK", 2, dump, packet, sizeof(packet)); in connack()
267 rc = swrite(fd, (char *)packet, sizeof(packet)); in suback()
270 loghex(packet, rc); in suback()
289 rc = swrite(fd, (char *)packet, sizeof(packet)); in puback()
292 loghex(packet, rc); in puback()
307 ssize_t rc = swrite(fd, (char *)packet, sizeof(packet)); in disconnect()
310 loghex(packet, rc); in disconnect()
416 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.c260 static void setpacketevent(struct tftp_packet *packet, unsigned short num) in setpacketevent() argument
262 packet->data[0] = (unsigned char)(num >> 8); in setpacketevent()
263 packet->data[1] = (unsigned char)(num & 0xff); in setpacketevent()
267 static void setpacketblock(struct tftp_packet *packet, unsigned short num) in setpacketblock() argument
269 packet->data[2] = (unsigned char)(num >> 8); in setpacketblock()
270 packet->data[3] = (unsigned char)(num & 0xff); in setpacketblock()
273 static unsigned short getrpacketevent(const struct tftp_packet *packet) in getrpacketevent() argument
275 return (unsigned short)((packet->data[0] << 8) | packet->data[1]); in getrpacketevent()
278 static unsigned short getrpacketblock(const struct tftp_packet *packet) in getrpacketblock() argument
280 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_resp_decode((const unsigned char *)resp[i].packet, resp[i].size,
/curl/docs/libcurl/opts/
H A DCURLOPT_SASL_IR.md19 CURLOPT_SASL_IR - send initial response in first packet
32 in the first authentication packet in order to reduce the number of ping pong
H A DCURLOPT_INTERLEAVEDATA.md50 /* take care of the packet in 'ptr', then return... */
H A DCURLOPT_INTERLEAVEFUNCTION.md38 contains exactly one upper-layer protocol unit (e.g. one RTP packet). Curl
82 /* take care of the packet in 'ptr', then return... */
H A DCURLOPT_READFUNCTION.md62 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 DFAQ1025 packet sent three seconds after the first and the third six seconds after
1297 get a problem with receiving the packet sent back as they would then not be

Completed in 17 milliseconds