#include "quiche/quic/test_tools/quic_framer_peer.h"
#include <string>
#include "quiche/quic/core/quic_framer.h"
#include "quiche/quic/core/quic_packets.h"
namespace quic {
namespace test {
uint64_t QuicFramerPeer::CalculatePacketNumberFromWire(
QuicFramer* framer, QuicPacketNumberLength packet_number_length,
QuicPacketNumber last_packet_number, uint64_t packet_number) { … }
void QuicFramerPeer::SetLastSerializedServerConnectionId(
QuicFramer* framer, QuicConnectionId server_connection_id) { … }
void QuicFramerPeer::SetLastWrittenPacketNumberLength(
QuicFramer* framer, size_t packet_number_length) { … }
void QuicFramerPeer::SetLargestPacketNumber(QuicFramer* framer,
QuicPacketNumber packet_number) { … }
void QuicFramerPeer::SetPerspective(QuicFramer* framer,
Perspective perspective) { … }
void QuicFramerPeer::SwapCrypters(QuicFramer* framer1, QuicFramer* framer2) { … }
QuicEncrypter* QuicFramerPeer::GetEncrypter(QuicFramer* framer,
EncryptionLevel level) { … }
QuicDecrypter* QuicFramerPeer::GetDecrypter(QuicFramer* framer,
EncryptionLevel level) { … }
void QuicFramerPeer::SetFirstSendingPacketNumber(QuicFramer* framer,
uint64_t packet_number) { … }
void QuicFramerPeer::SetExpectedServerConnectionIDLength(
QuicFramer* framer, uint8_t expected_server_connection_id_length) { … }
QuicPacketNumber QuicFramerPeer::GetLargestDecryptedPacketNumber(
QuicFramer* framer, PacketNumberSpace packet_number_space) { … }
bool QuicFramerPeer::ProcessAndValidateIetfConnectionIdLength(
QuicDataReader* reader, ParsedQuicVersion version, Perspective perspective,
bool should_update_expected_server_connection_id_length,
uint8_t* expected_server_connection_id_length,
uint8_t* destination_connection_id_length,
uint8_t* source_connection_id_length, std::string* detailed_error) { … }
}
}