mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-11 07:10:36 +00:00
16 lines
261 B
C++
16 lines
261 B
C++
#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
|