Lines Matching refs:gsolen
117 size_t gsolen, size_t *psent);
122 const uint8_t *pkt, size_t pktlen, size_t gsolen, in do_sendmsg() argument
141 if(pktlen > gsolen) { in do_sendmsg()
151 *(uint16_t *)(void *)CMSG_DATA(cm) = gsolen & 0xffff; 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()
188 (void)gsolen; in do_sendmsg()
221 size_t gsolen, size_t *psent) in send_packet_no_gso() argument
228 for(p = pkt; p < end; p += gsolen) { in send_packet_no_gso()
229 size_t len = CURLMIN(gsolen, (size_t)(end - p)); in send_packet_no_gso()
244 size_t gsolen, size_t *psent) 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()
275 size_t gsolen; in vquic_flush() local
278 gsolen = qctx->gsolen; in vquic_flush()
280 gsolen = qctx->split_gsolen; in vquic_flush()
285 result = vquic_send_packets(cf, data, qctx, buf, blen, gsolen, &sent); in vquic_flush()
287 blen, gsolen, result, sent); in vquic_flush()
304 struct cf_quic_ctx *qctx, size_t gsolen) in vquic_send() argument
306 qctx->gsolen = gsolen; in vquic_send()
311 struct cf_quic_ctx *qctx, size_t gsolen, in vquic_send_tail_split() argument
316 qctx->split_gsolen = gsolen; in vquic_send_tail_split()
317 qctx->gsolen = tail_gsolen; in vquic_send_tail_split()
320 tail_len, qctx->gsolen); in vquic_send_tail_split()