summaryrefslogtreecommitdiff
path: root/chromium/net/tools/quic/quic_packet_reader.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/net/tools/quic/quic_packet_reader.h')
-rw-r--r--chromium/net/tools/quic/quic_packet_reader.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/chromium/net/tools/quic/quic_packet_reader.h b/chromium/net/tools/quic/quic_packet_reader.h
index b388406b478..a4d207581b7 100644
--- a/chromium/net/tools/quic/quic_packet_reader.h
+++ b/chromium/net/tools/quic/quic_packet_reader.h
@@ -11,8 +11,8 @@
#include <sys/socket.h>
#include "base/macros.h"
-#include "net/quic/quic_clock.h"
-#include "net/quic/quic_protocol.h"
+#include "net/quic/core/quic_clock.h"
+#include "net/quic/core/quic_protocol.h"
#include "net/tools/quic/quic_process_packet_interface.h"
#include "net/tools/quic/quic_socket_utils.h"
@@ -44,8 +44,11 @@ class QuicPacketReader {
// to track dropped packets and some packets are read.
// If the socket has timestamping enabled, the per packet timestamps will be
// passed to the processor. Otherwise, |clock| will be used.
+ // If |potentially_small_mtu| is set, the incoming packets have been
+ // identified as potentially having an unusually small MTU.
virtual bool ReadAndDispatchPackets(int fd,
int port,
+ bool potentially_small_mtu,
const QuicClock& clock,
ProcessPacketInterface* processor,
QuicPacketCount* packets_dropped);
@@ -57,6 +60,7 @@ class QuicPacketReader {
// Reads and dispatches many packets using recvmmsg.
bool ReadAndDispatchManyPackets(int fd,
int port,
+ bool potentially_small_mtu,
const QuicClock& clock,
ProcessPacketInterface* processor,
QuicPacketCount* packets_dropped);
@@ -64,6 +68,7 @@ class QuicPacketReader {
// Reads and dispatches a single packet using recvmsg.
static bool ReadAndDispatchSinglePacket(int fd,
int port,
+ bool potentially_small_mtu,
const QuicClock& clock,
ProcessPacketInterface* processor,
QuicPacketCount* packets_dropped);