#include "quiche/quic/test_tools/quic_packet_creator_peer.h"
#include <memory>
#include <string>
#include <utility>
#include "quiche/quic/core/frames/quic_frame.h"
#include "quiche/quic/core/quic_packet_creator.h"
#include "quiche/quic/core/quic_types.h"
namespace quic {
namespace test {
bool QuicPacketCreatorPeer::SendVersionInPacket(QuicPacketCreator* creator) { … }
void QuicPacketCreatorPeer::SetSendVersionInPacket(
QuicPacketCreator* creator, bool send_version_in_packet) { … }
void QuicPacketCreatorPeer::SetPacketNumberLength(
QuicPacketCreator* creator, QuicPacketNumberLength packet_number_length) { … }
QuicPacketNumberLength QuicPacketCreatorPeer::GetPacketNumberLength(
QuicPacketCreator* creator) { … }
quiche::QuicheVariableLengthIntegerLength
QuicPacketCreatorPeer::GetRetryTokenLengthLength(QuicPacketCreator* creator) { … }
quiche::QuicheVariableLengthIntegerLength
QuicPacketCreatorPeer::GetLengthLength(QuicPacketCreator* creator) { … }
void QuicPacketCreatorPeer::SetPacketNumber(QuicPacketCreator* creator,
uint64_t s) { … }
void QuicPacketCreatorPeer::SetPacketNumber(QuicPacketCreator* creator,
QuicPacketNumber num) { … }
void QuicPacketCreatorPeer::ClearPacketNumber(QuicPacketCreator* creator) { … }
void QuicPacketCreatorPeer::FillPacketHeader(QuicPacketCreator* creator,
QuicPacketHeader* header) { … }
void QuicPacketCreatorPeer::CreateStreamFrame(QuicPacketCreator* creator,
QuicStreamId id,
size_t data_length,
QuicStreamOffset offset, bool fin,
QuicFrame* frame) { … }
bool QuicPacketCreatorPeer::CreateCryptoFrame(QuicPacketCreator* creator,
EncryptionLevel level,
size_t write_length,
QuicStreamOffset offset,
QuicFrame* frame) { … }
SerializedPacket QuicPacketCreatorPeer::SerializeAllFrames(
QuicPacketCreator* creator, const QuicFrames& frames, char* buffer,
size_t buffer_len) { … }
std::unique_ptr<SerializedPacket>
QuicPacketCreatorPeer::SerializeConnectivityProbingPacket(
QuicPacketCreator* creator) { … }
std::unique_ptr<SerializedPacket>
QuicPacketCreatorPeer::SerializePathChallengeConnectivityProbingPacket(
QuicPacketCreator* creator, const QuicPathFrameBuffer& payload) { … }
EncryptionLevel QuicPacketCreatorPeer::GetEncryptionLevel(
QuicPacketCreator* creator) { … }
QuicFramer* QuicPacketCreatorPeer::framer(QuicPacketCreator* creator) { … }
std::string QuicPacketCreatorPeer::GetRetryToken(QuicPacketCreator* creator) { … }
QuicFrames& QuicPacketCreatorPeer::QueuedFrames(QuicPacketCreator* creator) { … }
void QuicPacketCreatorPeer::SetRandom(QuicPacketCreator* creator,
QuicRandom* random) { … }
}
}