Renumber packet types
@@ -218,14 +218,14 @@ typedef enum {
} ngtcp2_pkt_flag;
typedef enum {
- NGTCP2_PKT_VERSION_NEGOTIATION = 0x01,
- NGTCP2_PKT_INITIAL = 0x02,
- NGTCP2_PKT_RETRY = 0x03,
- NGTCP2_PKT_HANDSHAKE = 0x04,
- NGTCP2_PKT_0RTT_PROTECTED = 0x05,
- NGTCP2_PKT_01 = 0x01,
- NGTCP2_PKT_02 = 0x02,
- NGTCP2_PKT_03 = 0x03
+ NGTCP2_PKT_VERSION_NEGOTIATION = 0x7F,
+ NGTCP2_PKT_INITIAL = 0x7E,
+ NGTCP2_PKT_RETRY = 0x7D,
+ NGTCP2_PKT_HANDSHAKE = 0x7C,
+ NGTCP2_PKT_0RTT_PROTECTED = 0x7B,
+ NGTCP2_PKT_01 = 0x1F,
+ NGTCP2_PKT_02 = 0x1E,
+ NGTCP2_PKT_03 = 0x1D
} ngtcp2_pkt_type;
typedef enum {
