comparison src/event/quic/ngx_event_quic_ack.h @ 8411:bc910a5ec737 quic

QUIC: separate files for output and ack related processing.
author Vladimir Homutov <vl@nginx.com>
date Tue, 13 Apr 2021 14:41:20 +0300
parents
children 4117aa7fa38e
comparison
equal deleted inserted replaced
8410:41807e581de9 8411:bc910a5ec737
1
2 /*
3 * Copyright (C) Nginx, Inc.
4 */
5
6
7 #ifndef _NGX_EVENT_QUIC_ACK_H_INCLUDED_
8 #define _NGX_EVENT_QUIC_ACK_H_INCLUDED_
9
10
11 #include <ngx_config.h>
12 #include <ngx_core.h>
13
14
15 ngx_int_t ngx_quic_handle_ack_frame(ngx_connection_t *c,
16 ngx_quic_header_t *pkt, ngx_quic_frame_t *f);
17
18 void ngx_quic_congestion_ack(ngx_connection_t *c,
19 ngx_quic_frame_t *frame);
20 void ngx_quic_resend_frames(ngx_connection_t *c,
21 ngx_quic_send_ctx_t *ctx);
22 void ngx_quic_set_lost_timer(ngx_connection_t *c);
23 void ngx_quic_pto_handler(ngx_event_t *ev);
24 ngx_msec_t ngx_quic_pto(ngx_connection_t *c, ngx_quic_send_ctx_t *ctx);
25
26 ngx_int_t ngx_quic_ack_packet(ngx_connection_t *c,
27 ngx_quic_header_t *pkt);
28 ngx_int_t ngx_quic_generate_ack(ngx_connection_t *c,
29 ngx_quic_send_ctx_t *ctx);
30
31 #endif /* _NGX_EVENT_QUIC_ACK_H_INCLUDED_ */