#include "quiche/quic/core/quic_coalesced_packet.h"
#include <string>
#include <vector>
#include "absl/memory/memory.h"
#include "absl/strings/str_cat.h"
#include "quiche/quic/platform/api/quic_bug_tracker.h"
namespace quic {
QuicCoalescedPacket::QuicCoalescedPacket()
: … { … }
QuicCoalescedPacket::~QuicCoalescedPacket() { … }
bool QuicCoalescedPacket::MaybeCoalescePacket(
const SerializedPacket& packet, const QuicSocketAddress& self_address,
const QuicSocketAddress& peer_address,
quiche::QuicheBufferAllocator* allocator,
QuicPacketLength current_max_packet_length,
QuicEcnCodepoint ecn_codepoint) { … }
void QuicCoalescedPacket::Clear() { … }
void QuicCoalescedPacket::NeuterInitialPacket() { … }
bool QuicCoalescedPacket::CopyEncryptedBuffers(char* buffer, size_t buffer_len,
size_t* length_copied) const { … }
bool QuicCoalescedPacket::ContainsPacketOfEncryptionLevel(
EncryptionLevel level) const { … }
TransmissionType QuicCoalescedPacket::TransmissionTypeOfPacket(
EncryptionLevel level) const { … }
size_t QuicCoalescedPacket::NumberOfPackets() const { … }
std::string QuicCoalescedPacket::ToString(size_t serialized_length) const { … }
std::vector<size_t> QuicCoalescedPacket::packet_lengths() const { … }
}