#include "quiche/quic/core/quic_mtu_discovery.h"
#include <ostream>
#include "quiche/quic/platform/api/quic_flag_utils.h"
#include "quiche/quic/platform/api/quic_stack_trace.h"
namespace quic {
QuicConnectionMtuDiscoverer::QuicConnectionMtuDiscoverer(
QuicPacketCount packets_between_probes_base, QuicPacketNumber next_probe_at)
: … { … }
void QuicConnectionMtuDiscoverer::Enable(
QuicByteCount max_packet_length, QuicByteCount target_max_packet_length) { … }
void QuicConnectionMtuDiscoverer::Disable() { … }
bool QuicConnectionMtuDiscoverer::IsEnabled() const { … }
bool QuicConnectionMtuDiscoverer::ShouldProbeMtu(
QuicPacketNumber largest_sent_packet) const { … }
QuicPacketLength QuicConnectionMtuDiscoverer::GetUpdatedMtuProbeSize(
QuicPacketNumber largest_sent_packet) { … }
QuicPacketLength QuicConnectionMtuDiscoverer::next_probe_packet_length() const { … }
void QuicConnectionMtuDiscoverer::OnMaxPacketLengthUpdated(
QuicByteCount old_value, QuicByteCount new_value) { … }
std::ostream& operator<<(std::ostream& os,
const QuicConnectionMtuDiscoverer& d) { … }
}