Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1371)

Unified Diff: net/quic/quic_protocol.h

Issue 990533002: Land Recent QUIC Changes until 03/06/2015. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_packet_creator_test.cc ('k') | net/quic/quic_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_protocol.h
diff --git a/net/quic/quic_protocol.h b/net/quic/quic_protocol.h
index 7d33a8a437b21611974ba9fd1365382fcc7a7212..398a5fd4f20d69ae45cb7945ac23876432aa80ae 100644
--- a/net/quic/quic_protocol.h
+++ b/net/quic/quic_protocol.h
@@ -57,7 +57,8 @@ const QuicByteCount kDefaultServerMaxPacketSize = 1000;
// additional 8 bytes. This is a total overhead of 48 bytes. Ethernet's
// max packet size is 1500 bytes, 1500 - 48 = 1452.
const QuicByteCount kMaxPacketSize = 1452;
-// Default maximum packet size used in Linux TCP implementations.
+// Default maximum packet size used in the Linux TCP implementation.
+// Used in QUIC for congestion window computations in bytes.
const QuicByteCount kDefaultTCPMSS = 1460;
// We match SPDY's use of 32 when secure (since we'd compete with SPDY).
@@ -592,6 +593,9 @@ struct NET_EXPORT_PRIVATE QuicPacketPublicHeader {
QuicVersionVector versions;
};
+// An integer which cannot be a packet sequence number.
+const QuicPacketSequenceNumber kInvalidPacketSequenceNumber = 0;
+
// Header for Data or FEC packets.
struct NET_EXPORT_PRIVATE QuicPacketHeader {
QuicPacketHeader();
« no previous file with comments | « net/quic/quic_packet_creator_test.cc ('k') | net/quic/quic_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698