blob: d8f9d0fcdb245bd0fbdecc802fd74832500fe585 [file] [log] [blame]
dschinazi996131b2019-12-13 11:36:16 -08001// Copyright 2019 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef QUICHE_QUIC_MASQUE_MASQUE_UTILS_H_
6#define QUICHE_QUIC_MASQUE_MASQUE_UTILS_H_
7
8#include "net/third_party/quiche/src/quic/core/quic_config.h"
9#include "net/third_party/quiche/src/quic/core/quic_types.h"
10#include "net/third_party/quiche/src/quic/core/quic_versions.h"
11
12namespace quic {
13
14// List of QUIC versions that support MASQUE. Currently restricted to IETF QUIC.
15QUIC_NO_EXPORT ParsedQuicVersionVector MasqueSupportedVersions();
16
17// Default QuicConfig for use with MASQUE. Sets a custom max_packet_size.
18QUIC_NO_EXPORT QuicConfig MasqueEncapsulatedConfig();
19
20// Maximum packet size for encapsulated connections.
21const QuicByteCount kMasqueMaxEncapsulatedPacketSize = 1300;
22
23} // namespace quic
24
25#endif // QUICHE_QUIC_MASQUE_MASQUE_UTILS_H_