Lines Matching refs:pktlen
116 const uint8_t *pkt, size_t pktlen,
122 const uint8_t *pkt, size_t pktlen, size_t gsolen, in do_sendmsg() argument
136 msg_iov.iov_len = pktlen; in do_sendmsg()
141 if(pktlen > gsolen) { in do_sendmsg()
170 if(pktlen > gsolen) { in do_sendmsg()
175 return send_packet_no_gso(cf, data, qctx, pkt, pktlen, gsolen, psent); in do_sendmsg()
184 assert(pktlen == (size_t)sent); in do_sendmsg()
193 (const char *)pkt, (SEND_TYPE_ARG3)pktlen, 0)) == -1 && in do_sendmsg()
212 *psent = pktlen; 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()
243 const uint8_t *pkt, size_t pktlen, in vquic_send_packets() argument
258 if(qctx->no_gso && pktlen > gsolen) { in vquic_send_packets()
259 result = send_packet_no_gso(cf, data, qctx, pkt, pktlen, gsolen, psent); in vquic_send_packets()
262 result = do_sendmsg(cf, data, qctx, pkt, pktlen, gsolen, psent); in vquic_send_packets()
371 size_t pktlen; in recvmmsg_packets() local
436 pktlen = mmsg[i].msg_len - offset; in recvmmsg_packets()
439 pktlen = gso_size; in recvmmsg_packets()
442 result = recv_cb(bufs[i] + offset, pktlen, mmsg[i].msg_hdr.msg_name, in recvmmsg_packets()
475 size_t pktlen; in recvmsg_packets() local
525 pktlen = (size_t)nread - offset; in recvmsg_packets()
528 pktlen = gso_size; in recvmsg_packets()
532 recv_cb(buf + offset, pktlen, msg.msg_name, msg.msg_namelen, 0, userp); in recvmsg_packets()