1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef QUICHE_QUIC_CORE_FRAMES_QUIC_STOP_WAITING_FRAME_H_ 6 #define QUICHE_QUIC_CORE_FRAMES_QUIC_STOP_WAITING_FRAME_H_ 7 8 #include <ostream> 9 10 #include "net/third_party/quiche/src/quic/core/frames/quic_inlined_frame.h" 11 #include "net/third_party/quiche/src/quic/core/quic_types.h" 12 #include "net/third_party/quiche/src/quic/platform/api/quic_export.h" 13 14 namespace quic { 15 16 struct QUIC_EXPORT_PRIVATE QuicStopWaitingFrame 17 : public QuicInlinedFrame<QuicStopWaitingFrame> { 18 QuicStopWaitingFrame(); 19 20 friend QUIC_EXPORT_PRIVATE std::ostream& operator<<( 21 std::ostream& os, 22 const QuicStopWaitingFrame& s); 23 24 // The lowest packet we've sent which is unacked, and we expect an ack for. 25 QuicPacketNumber least_unacked; 26 }; 27 28 } // namespace quic 29 30 #endif // QUICHE_QUIC_CORE_FRAMES_QUIC_STOP_WAITING_FRAME_H_ 31