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 113 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 124 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 132 of file transport.hpp.
Referenced by nfd::face::DatagramTransport< Protocol, Addressing >::receiveDatagram(), and nfd::face::EthernetTransport::receivePayload().