comparison src/event/quic/ngx_event_quic_transport.h @ 8747:c8bda5e1e662 quic

QUIC: headers cleanup. The "ngx_event_quic.h" header file now contains only public definitions, used by modules. All internal definitions are moved into the "ngx_event_quic_connection.h" header file.
author Vladimir Homutov <vl@nginx.com>
date Wed, 14 Apr 2021 14:47:37 +0300
parents 168cc2a0f0b6
children dcc57827098d
comparison
equal deleted inserted replaced
8746:0c628de2e2b7 8747:c8bda5e1e662
45 #define ngx_quic_level_name(lvl) \ 45 #define ngx_quic_level_name(lvl) \
46 (lvl == ssl_encryption_application) ? "app" \ 46 (lvl == ssl_encryption_application) ? "app" \
47 : (lvl == ssl_encryption_initial) ? "init" \ 47 : (lvl == ssl_encryption_initial) ? "init" \
48 : (lvl == ssl_encryption_handshake) ? "hs" : "early" 48 : (lvl == ssl_encryption_handshake) ? "hs" : "early"
49 49
50 #define NGX_QUIC_MAX_CID_LEN 20
51 #define NGX_QUIC_SERVER_CID_LEN NGX_QUIC_MAX_CID_LEN
50 52
51 /* 12.4. Frames and Frame Types */ 53 /* 12.4. Frames and Frame Types */
52 #define NGX_QUIC_FT_PADDING 0x00 54 #define NGX_QUIC_FT_PADDING 0x00
53 #define NGX_QUIC_FT_PING 0x01 55 #define NGX_QUIC_FT_PING 0x01
54 #define NGX_QUIC_FT_ACK 0x02 56 #define NGX_QUIC_FT_ACK 0x02