Mercurial > hg > nginx-quic
comparison src/event/ngx_event_quic_transport.h @ 7861:52d0c4832570 quic
Address validation using NEW_TOKEN frame.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 14 May 2020 15:47:24 +0300 |
parents | 7ea34e13937f |
children | fb7422074258 |
comparison
equal
deleted
inserted
replaced
7860:7ea34e13937f | 7861:52d0c4832570 |
---|---|
130 u_char cid[20]; | 130 u_char cid[20]; |
131 u_char srt[16]; | 131 u_char srt[16]; |
132 } ngx_quic_new_conn_id_frame_t; | 132 } ngx_quic_new_conn_id_frame_t; |
133 | 133 |
134 | 134 |
135 typedef struct { | |
136 uint64_t length; | |
137 u_char *data; | |
138 } ngx_quic_new_token_frame_t; | |
139 | |
135 /* | 140 /* |
136 * common layout for CRYPTO and STREAM frames; | 141 * common layout for CRYPTO and STREAM frames; |
137 * conceptually, CRYPTO frame is also a stream | 142 * conceptually, CRYPTO frame is also a stream |
138 * frame lacking some properties | 143 * frame lacking some properties |
139 */ | 144 */ |
240 union { | 245 union { |
241 ngx_quic_ack_frame_t ack; | 246 ngx_quic_ack_frame_t ack; |
242 ngx_quic_crypto_frame_t crypto; | 247 ngx_quic_crypto_frame_t crypto; |
243 ngx_quic_ordered_frame_t ord; | 248 ngx_quic_ordered_frame_t ord; |
244 ngx_quic_new_conn_id_frame_t ncid; | 249 ngx_quic_new_conn_id_frame_t ncid; |
250 ngx_quic_new_token_frame_t token; | |
245 ngx_quic_stream_frame_t stream; | 251 ngx_quic_stream_frame_t stream; |
246 ngx_quic_max_data_frame_t max_data; | 252 ngx_quic_max_data_frame_t max_data; |
247 ngx_quic_close_frame_t close; | 253 ngx_quic_close_frame_t close; |
248 ngx_quic_reset_stream_frame_t reset_stream; | 254 ngx_quic_reset_stream_frame_t reset_stream; |
249 ngx_quic_stop_sending_frame_t stop_sending; | 255 ngx_quic_stop_sending_frame_t stop_sending; |