comparison src/event/quic/ngx_event_quic_connid.h @ 8748:e0cb1e58ca13 quic

QUIC: separate files for connection id related processing.
author Vladimir Homutov <vl@nginx.com>
date Tue, 13 Apr 2021 14:37:41 +0300
parents
children 4117aa7fa38e
comparison
equal deleted inserted replaced
8747:c8bda5e1e662 8748:e0cb1e58ca13
1
2 /*
3 * Copyright (C) Nginx, Inc.
4 */
5
6
7 #ifndef _NGX_EVENT_QUIC_CONNID_H_INCLUDED_
8 #define _NGX_EVENT_QUIC_CONNID_H_INCLUDED_
9
10
11 #include <ngx_config.h>
12 #include <ngx_core.h>
13
14
15 ngx_int_t ngx_quic_setup_connection_ids(ngx_connection_t *c,
16 ngx_quic_connection_t *qc, ngx_quic_header_t *pkt);
17 void ngx_quic_clear_temp_server_ids(ngx_connection_t *c);
18 ngx_int_t ngx_quic_issue_server_ids(ngx_connection_t *c);
19
20 ngx_int_t ngx_quic_handle_retire_connection_id_frame(ngx_connection_t *c,
21 ngx_quic_header_t *pkt, ngx_quic_retire_cid_frame_t *f);
22 ngx_int_t ngx_quic_handle_new_connection_id_frame(ngx_connection_t *c,
23 ngx_quic_header_t *pkt, ngx_quic_new_conn_id_frame_t *f);
24
25 #endif /* _NGX_EVENT_QUIC_CONNID_H_INCLUDED_ */