Lines Matching refs:q
89 struct cf_quic_ctx q; member
143 vquic_ctx_free(&ctx->q); in cf_quiche_ctx_free()
625 recv_info.to = (struct sockaddr *)&ctx->q.local_addr; in recv_pkt()
626 recv_info.to_len = ctx->q.local_addrlen; in recv_pkt()
682 result = vquic_recv_packets(cf, data, &ctx->q, 1000, recv_pkt, &rctx); in cf_process_ingress()
753 result = vquic_flush(cf, data, &ctx->q); in cf_flush_egress()
769 nread = Curl_bufq_sipn(&ctx->q.sendbuf, 0, in cf_flush_egress()
775 result = vquic_send(cf, data, &ctx->q, gsolen); in cf_flush_egress()
788 result = vquic_send(cf, data, &ctx->q, gsolen); in cf_flush_egress()
850 vquic_ctx_update_time(&ctx->q); in cf_quiche_recv()
1102 vquic_ctx_update_time(&ctx->q); in cf_quiche_send()
1173 Curl_pollset_check(data, ps, ctx->q.sockfd, &want_recv, &want_send); in cf_quiche_adjust_pollset()
1184 !Curl_bufq_is_empty(&ctx->q.sendbuf); in cf_quiche_adjust_pollset()
1186 Curl_pollset_set(data, ps, ctx->q.sockfd, want_recv, want_send); in cf_quiche_adjust_pollset()
1274 DEBUGASSERT(ctx->q.sockfd != CURL_SOCKET_BAD); in cf_quiche_ctx_open()
1277 result = vquic_ctx_init(&ctx->q); in cf_quiche_ctx_open()
1324 Curl_cf_socket_peek(cf->next, data, &ctx->q.sockfd, &sockaddr, NULL); in cf_quiche_ctx_open()
1325 ctx->q.local_addrlen = sizeof(ctx->q.local_addr); in cf_quiche_ctx_open()
1326 rv = getsockname(ctx->q.sockfd, (struct sockaddr *)&ctx->q.local_addr, in cf_quiche_ctx_open()
1327 &ctx->q.local_addrlen); in cf_quiche_ctx_open()
1333 (struct sockaddr *)&ctx->q.local_addr, in cf_quiche_ctx_open()
1334 ctx->q.local_addrlen, in cf_quiche_ctx_open()
1407 vquic_ctx_update_time(&ctx->q); in cf_quiche_connect()
1413 ctx->started_at = ctx->q.last_op; in cf_quiche_connect()
1428 ctx->handshake_at = ctx->q.last_op; in cf_quiche_connect()
1489 vquic_ctx_update_time(&ctx->q); in cf_quiche_shutdown()
1499 if(!Curl_bufq_is_empty(&ctx->q.sendbuf)) { in cf_quiche_shutdown()
1506 if(Curl_bufq_is_empty(&ctx->q.sendbuf)) { in cf_quiche_shutdown()
1557 if(ctx->q.got_first_byte) { in cf_quiche_query()
1558 timediff_t ms = Curl_timediff(ctx->q.first_byte_at, ctx->started_at); in cf_quiche_query()
1566 if(ctx->q.got_first_byte) in cf_quiche_query()
1567 *when = ctx->q.first_byte_at; in cf_quiche_query()