stores a packet along with the remote endpoint More...
#include <transport.hpp>
Public Member Functions | |
Packet ()=default | |
Packet (Block &&packet) | |
Public Attributes | |
Block | packet |
the packet as a TLV block More... | |
EndpointId | remoteEndpoint |
identifies the remote endpoint More... | |
stores a packet along with the remote endpoint
Definition at line 122 of file transport.hpp.
|
default |
|
explicit |
Definition at line 53 of file transport.cpp.
Block nfd::face::Transport::Packet::packet |
the packet as a TLV block
Definition at line 133 of file transport.hpp.
Referenced by nfd::face::InternalForwarderTransport::receiveFromLink().
EndpointId nfd::face::Transport::Packet::remoteEndpoint |
identifies the remote endpoint
This ID is only meaningful in the context of the same Transport. Incoming packets from the same remote endpoint have the same EndpointId, and incoming packets from different remote endpoints have different EndpointIds.
Definition at line 141 of file transport.hpp.
Referenced by nfd::face::DatagramTransport< boost::asio::ip::udp, Multicast >::receiveDatagram(), and nfd::face::EthernetTransport::receivePayload().