Home
last modified time | relevance | path

Searched refs:pkt (Results 1 – 5 of 5) sorted by relevance

/curl/lib/
H A Dmqtt.c181 pkt[conn_flags_pos] |= 0x40; in add_passwd()
200 pkt[conn_flags_pos] |= 0x80; in add_user()
214 pkt[start] = 0x00; in add_client_id()
215 pkt[start + 1] = MQTT_CLIENTID_LEN; in add_client_id()
520 unsigned char *pkt = NULL; in mqtt_publish() local
545 if(!pkt) { in mqtt_publish()
551 pkt[i++] = MQTT_MSG_PUBLISH; in mqtt_publish()
554 pkt[i++] = (topiclen >> 8) & 0xff; in mqtt_publish()
555 pkt[i++] = (topiclen & 0xff); in mqtt_publish()
556 memcpy(&pkt[i], topic, topiclen); in mqtt_publish()
[all …]
/curl/lib/vquic/
H A Dvquic_int.h63 const uint8_t *pkt, size_t pktlen, size_t gsolen);
80 typedef CURLcode vquic_recv_pkt_cb(const unsigned char *pkt, size_t pktlen,
H A Dvquic.c116 const uint8_t *pkt, size_t pktlen,
122 const uint8_t *pkt, size_t pktlen, size_t gsolen, in do_sendmsg() argument
135 msg_iov.iov_base = (uint8_t *)pkt; in do_sendmsg()
175 return send_packet_no_gso(cf, data, qctx, pkt, pktlen, gsolen, psent); in do_sendmsg()
193 (const char *)pkt, (SEND_TYPE_ARG3)pktlen, 0)) == -1 && in do_sendmsg()
220 const uint8_t *pkt, size_t pktlen, in send_packet_no_gso() argument
223 const uint8_t *p, *end = pkt + pktlen; in send_packet_no_gso()
228 for(p = pkt; p < end; p += gsolen) { in send_packet_no_gso()
243 const uint8_t *pkt, size_t pktlen, in vquic_send_packets() argument
259 result = send_packet_no_gso(cf, data, qctx, pkt, pktlen, gsolen, psent); in vquic_send_packets()
[all …]
H A Dcurl_quiche.c612 static CURLcode recv_pkt(const unsigned char *pkt, size_t pktlen, in recv_pkt() argument
630 nread = quiche_conn_recv(ctx->qconn, (unsigned char *)pkt, pktlen, in recv_pkt()
H A Dcurl_ngtcp2.c1630 static CURLcode recv_pkt(const unsigned char *pkt, size_t pktlen, in recv_pkt() argument
1647 rv = ngtcp2_conn_read_pkt(ctx->qconn, &path, &pi, pkt, pktlen, pktx->ts); in recv_pkt()

Completed in 28 milliseconds