comparison src/event/ngx_event_quic.c @ 8638:d1cf691a82e8 quic

Core: hide "struct ngx_quic_connection_s" and further reduce diffs. As with the previous change, it became feasible with feec2cc762f6 that removes ngx_quic_connection_t from ngx_connection_s.
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 13 Nov 2020 15:11:29 +0000
parents 831d1960826f
children 9d28e9028aa5
comparison
equal deleted inserted replaced
8637:c436681ad8e0 8638:d1cf691a82e8
112 ngx_quic_ack_range_t ranges[NGX_QUIC_MAX_RANGES]; 112 ngx_quic_ack_range_t ranges[NGX_QUIC_MAX_RANGES];
113 ngx_uint_t send_ack; 113 ngx_uint_t send_ack;
114 } ngx_quic_send_ctx_t; 114 } ngx_quic_send_ctx_t;
115 115
116 116
117 struct ngx_quic_connection_s { 117 typedef struct {
118 ngx_udp_connection_t udp; 118 ngx_udp_connection_t udp;
119 119
120 uint32_t version; 120 uint32_t version;
121 ngx_str_t scid; /* initial client ID */ 121 ngx_str_t scid; /* initial client ID */
122 ngx_str_t dcid; /* server (our own) ID */ 122 ngx_str_t dcid; /* server (our own) ID */
180 unsigned draining:1; 180 unsigned draining:1;
181 unsigned key_phase:1; 181 unsigned key_phase:1;
182 unsigned in_retry:1; 182 unsigned in_retry:1;
183 unsigned initialized:1; 183 unsigned initialized:1;
184 unsigned validated:1; 184 unsigned validated:1;
185 }; 185 } ngx_quic_connection_t;
186 186
187 187
188 typedef struct { 188 typedef struct {
189 ngx_queue_t queue; 189 ngx_queue_t queue;
190 uint64_t seqnum; 190 uint64_t seqnum;