| // 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. |
| #ifndef QUICHE_QUIC_QBONE_PLATFORM_TCP_PACKET_H_ |
| #define QUICHE_QUIC_QBONE_PLATFORM_TCP_PACKET_H_ |
| #include "net/third_party/quiche/src/quic/platform/api/quic_ip_address.h" |
| #include "net/third_party/quiche/src/quic/platform/api/quic_string_piece.h" |
| // Creates an TCPv6 RST packet, returning a packed string representation of the |
| void CreateTcpResetPacket(quic::QuicStringPiece original_packet, |
| const std::function<void(quic::QuicStringPiece)>& cb); |
| #endif // QUICHE_QUIC_QBONE_PLATFORM_TCP_PACKET_H_ |