summaryrefslogtreecommitdiffhomepage
path: root/src/event/ngx_event_quic.h
blob: 6b7d3242708471c88115a694cbf52cc646b8cd37 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

/*
 *
 */


#ifndef _NGX_EVENT_QUIC_H_INCLUDED_
#define _NGX_EVENT_QUIC_H_INCLUDED_


struct ngx_quic_connection_s {
    ngx_str_t   scid;
    ngx_str_t   dcid;
    ngx_str_t   token;

    ngx_str_t   client_in;
    ngx_str_t   client_in_key;
    ngx_str_t   client_in_iv;
    ngx_str_t   client_in_hp;

    size_t      handshake_secret_len;
    uint8_t    *handshake_read_secret;
    uint8_t    *handshake_write_secret;

    size_t      application_secret_len;
    uint8_t    *application_read_secret;
    uint8_t    *application_write_secret;
};


#endif /* _NGX_EVENT_QUIC_H_INCLUDED_ */