Add support such that quic connection can send/receive NEW_CONNECTION_ID &
RETIRE_CONNECTION_ID frames.
Note server does not send NEW_CONNECTION_ID in this change.
Server can receive NEW_CONNECTION_ID and send RETIRE_CONNECTION_ID frames in short header packets but this is a no-op.
Protected by FLAGS_quic_reloadable_flag_quic_connection_support_multiple_cids.
PiperOrigin-RevId: 361561851
Change-Id: Iadf38e2cd28ccb30e2b872a9593800b736abf15a
diff --git a/quic/core/quic_constants.h b/quic/core/quic_constants.h
index fcfec62..b750abb 100644
--- a/quic/core/quic_constants.h
+++ b/quic/core/quic_constants.h
@@ -100,6 +100,9 @@
// Number of bytes reserved for version number in the packet header.
const size_t kQuicVersionSize = 4;
+// Minimum number of active connection IDs that an end point can maintain.
+const uint32_t kMinNumOfActiveConnectionIds = 2;
+
// Length of the retry integrity tag in bytes.
// https://tools.ietf.org/html/draft-ietf-quic-transport-25#section-17.2.5
const size_t kRetryIntegrityTagLength = 16;