Project import generated by Copybara.
PiperOrigin-RevId: 248265360
Change-Id: Ib862f0deab43c6175c46799be27bb6d2589f610f
diff --git a/quic/core/quic_packet_creator.h b/quic/core/quic_packet_creator.h
index bceeae9..6e1f7a2 100644
--- a/quic/core/quic_packet_creator.h
+++ b/quic/core/quic_packet_creator.h
@@ -210,6 +210,12 @@
// Returns a dummy packet that is valid but contains no useful information.
static SerializedPacket NoPacket();
+ // Returns the destination connection ID to send over the wire.
+ QuicConnectionId GetDestinationConnectionId() const;
+
+ // Returns the source connection ID to send over the wire.
+ QuicConnectionId GetSourceConnectionId() const;
+
// Returns length of destination connection ID to send over the wire.
QuicConnectionIdLength GetDestinationConnectionIdLength() const;
@@ -283,7 +289,7 @@
}
// Returns the minimum size that the plaintext of a packet must be.
- size_t MinPlaintextPacketSize() const;
+ static size_t MinPlaintextPacketSize(const ParsedQuicVersion& version);
private:
friend class test::QuicPacketCreatorPeer;