gfe-relnote: Default-initialize QUIC BBRv2 loss event threshold for exiting STARTUP from a flag. Protected by --gfe2_reloadable_flag_quic_default_to_bbr_v2.
PiperOrigin-RevId: 264298542
Change-Id: I304ab19e4820dec51d3f8ef53762a393f6b175fd
diff --git a/quic/qbone/qbone_constants.h b/quic/qbone/qbone_constants.h
new file mode 100644
index 0000000..1fa2688
--- /dev/null
+++ b/quic/qbone/qbone_constants.h
@@ -0,0 +1,32 @@
+// Copyright (c) 2019 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef QUICHE_QUIC_QBONE_QBONE_CONSTANTS_H_
+#define QUICHE_QUIC_QBONE_QBONE_CONSTANTS_H_
+
+#include "net/third_party/quiche/src/quic/core/quic_types.h"
+#include "net/third_party/quiche/src/quic/core/quic_versions.h"
+#include "net/third_party/quiche/src/quic/platform/api/quic_ip_address.h"
+#include "net/third_party/quiche/src/quic/qbone/platform/ip_range.h"
+
+namespace quic {
+
+struct QboneConstants {
+ // Qbone's ALPN
+ static constexpr char kQboneAlpn[] = "qbone";
+ // The maximum number of bytes allowed in a qbone packet.
+ static const QuicByteCount kMaxQbonePacketBytes = 2000;
+ // The table id for Qbone's routing table. 'bone' in ascii.
+ static const uint32_t kQboneRouteTableId = 0x626F6E65;
+ // The stream ID of the control channel.
+ static QuicStreamId GetControlStreamId(QuicTransportVersion version);
+ // The link-local address of the Terminator
+ static const QuicIpAddress* TerminatorLocalAddress();
+ // The IPRange containing the TerminatorLocalAddress
+ static const IpRange* TerminatorLocalAddressRange();
+};
+
+} // namespace quic
+
+#endif // QUICHE_QUIC_QBONE_QBONE_CONSTANTS_H_