In QuicConnectionStats, rename max_packet_size to egress_mtu, and max_received_packet_size to ingress_mtu.
Also change the value of egress_mtu from max_packet_size() to long_term_mtu_. The two are identical except when max_packet_size() is temporarily raised for MTU packets.
PiperOrigin-RevId: 374655611
diff --git a/quic/core/quic_connection_stats.cc b/quic/core/quic_connection_stats.cc
index 3d1b3c4..da15785 100644
--- a/quic/core/quic_connection_stats.cc
+++ b/quic/core/quic_connection_stats.cc
@@ -34,8 +34,8 @@
os << " pto_count: " << s.pto_count;
os << " min_rtt_us: " << s.min_rtt_us;
os << " srtt_us: " << s.srtt_us;
- os << " max_packet_size: " << s.max_packet_size;
- os << " max_received_packet_size: " << s.max_received_packet_size;
+ os << " egress_mtu: " << s.egress_mtu;
+ os << " ingress_mtu: " << s.ingress_mtu;
os << " estimated_bandwidth: " << s.estimated_bandwidth;
os << " packets_reordered: " << s.packets_reordered;
os << " max_sequence_reordering: " << s.max_sequence_reordering;