lokinet/llarp/quic/packet.hpp

16 lines
261 B
C++
Raw Normal View History

2021-03-10 15:11:42 +00:00
#pragma once
#include "connection.hpp"
namespace llarp::quic
{
// Encapsulates a packet, i.e. the remote addr, packet data, plus metadata.
struct Packet
{
Path path;
bstring_view data;
ngtcp2_pkt_info info;
};
} // namespace llarp::quic