1 /*
2  * Copyright (c) Facebook, Inc. and its affiliates.
3  *
4  * This source code is licensed under the MIT license found in the
5  * LICENSE file in the root directory of this source tree.
6  *
7  */
8 
9 #pragma once
10 
11 #include <quic/api/QuicTransportFunctions.h>
12 #include <quic/codec/QuicConnectionId.h>
13 #include <quic/dsr/DSRPacketizationRequestSender.h>
14 #include <quic/dsr/frontend/Scheduler.h>
15 #include <quic/handshake/Aead.h>
16 #include <quic/server/state/ServerStateMachine.h>
17 
18 namespace quic {
19 uint64_t writePacketizationRequest(
20     QuicServerConnectionState& connection,
21     const ConnectionId& dstCid,
22     size_t packetLimit,
23     const Aead& aead);
24 } // namespace quic
25