blob: 4c7c468667f97d5ca19a47d7a2c78edc014e4505 [file] [log] [blame]
// Copyright (c) 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <ostream>
#include "quiche/quic/core/quic_constants.h"
#include "quiche/quic/core/quic_error_codes.h"
#include "quiche/quic/core/quic_types.h"
namespace quic {
struct QUICHE_EXPORT QuicRetireConnectionIdFrame {
QuicRetireConnectionIdFrame() = default;
QuicRetireConnectionIdFrame(QuicControlFrameId control_frame_id,
QuicConnectionIdSequenceNumber sequence_number);
friend QUICHE_EXPORT std::ostream& operator<<(
std::ostream& os, const QuicRetireConnectionIdFrame& frame);
// A unique identifier of this control frame. 0 when this frame is received,
// and non-zero when sent.
QuicControlFrameId control_frame_id = kInvalidControlFrameId;
QuicConnectionIdSequenceNumber sequence_number = 0;
} // namespace quic