Classes | |
class | Channel |
Represents a channel that listens on a local endpoint. More... | |
class | DatagramTransport |
Implements Transport for datagram-based protocols. More... | |
class | EthernetChannel |
Class implementing Ethernet-based channel to create faces. More... | |
class | EthernetFactory |
Protocol factory for Ethernet. More... | |
class | EthernetTransport |
Base class for Ethernet-based Transports. More... | |
class | FaceCounters |
gives access to counters provided by Face More... | |
class | FaceLogHelper |
For internal use by FaceLogging macros. More... | |
struct | FaceParams |
Parameters used to set Transport properties or LinkService options on a newly created face. More... | |
class | FaceSystem |
entry point of the face system More... | |
class | GenericLinkServiceCounters |
counters provided by GenericLinkService More... | |
class | InternalClientTransport |
Implements a client-side transport that can be paired with an InternalForwarderTransport. More... | |
class | InternalForwarderTransport |
Implements a forwarder-side transport that can be paired with another transport. More... | |
class | InternalTransportBase |
Abstracts a transport that can be paired with another. More... | |
class | IpAddressPredicate |
Represents a predicate to accept or reject an IP address. More... | |
class | LinkService |
the upper part of a Face More... | |
class | LinkServiceCounters |
counters provided by LinkService More... | |
class | LpFragmenter |
fragments network-layer packets into NDNLPv2 link-layer packets More... | |
class | LpReassembler |
reassembles fragmented network-layer packets More... | |
class | LpReliability |
provides for reliable sending and receiving of link-layer packets More... | |
struct | Multicast |
class | MulticastEthernetTransport |
A multicast Transport that uses raw Ethernet II frames. More... | |
class | MulticastUdpTransport |
A Transport that communicates on a UDP multicast group. More... | |
class | NetdevBound |
manages netdev-bound faces More... | |
class | NetworkInterfacePredicate |
Represents a predicate to accept or reject a ndn::net::NetworkInterface. More... | |
class | NetworkPredicateBase |
class | NFD_FINAL_UNLESS_WITH_TESTS |
generalization of a network interface More... | |
class | NullLinkService |
A LinkService that drops every packet. More... | |
class | PcapHelper |
Helper class for dealing with libpcap handles. More... | |
class | ProtocolFactory |
Provides support for an underlying protocol. More... | |
struct | ProtocolFactoryCtorParams |
Parameters to ProtocolFactory constructor. More... | |
class | StreamTransport |
Implements Transport for stream-based protocols. More... | |
class | TcpChannel |
Class implementing TCP-based channel to create faces. More... | |
class | TcpFactory |
Protocol factory for TCP over IPv4 and IPv6. More... | |
class | Transport |
The lower half of a Face. More... | |
class | TransportCounters |
Counters provided by a transport. More... | |
class | UdpChannel |
Class implementing UDP-based channel to create faces. More... | |
class | UdpFactory |
Protocol factory for UDP over IPv4 and IPv6. More... | |
struct | Unicast |
class | UnicastEthernetTransport |
A unicast Transport that uses raw Ethernet II frames. More... | |
class | UnicastUdpTransport |
A Transport that communicates on a unicast UDP socket. More... | |
class | UnixStreamChannel |
Class implementing a local channel to create faces. More... | |
class | UnixStreamFactory |
Protocol factory for stream-oriented Unix sockets. More... | |
class | UnixStreamTransport |
A Transport that communicates on a stream-oriented Unix domain socket. More... | |
class | WebSocketChannel |
Class implementing WebSocket-based channel to create faces. More... | |
class | WebSocketFactory |
Protocol factory for WebSocket. More... | |
class | WebSocketTransport |
A Transport that communicates on a WebSocket connection. More... | |
class | WebSocketTransportCounters |
counters provided by WebSocketTransport More... | |
Typedefs | |
using | FaceCreatedCallback = std::function< void(const shared_ptr< Face > &)> |
Prototype for the callback that is invoked when a face is created (in response to an incoming connection or after a connection is established). More... | |
using | FaceCreationFailedCallback = std::function< void(uint32_t status, const std::string &reason)> |
Prototype for the callback that is invoked when a face fails to be created. More... | |
using | FaceId = uint64_t |
Identifies a face. More... | |
using | EndpointId = uint64_t |
Identifies a remote endpoint on the link. More... | |
typedef TransportState | FaceState |
indicates the state of a face More... | |
using | DetermineFaceScopeFromAddress = std::function< ndn::nfd::FaceScope(const boost::asio::ip::address &local, const boost::asio::ip::address &remote)> |
Enumerations | |
enum | TransportState { TransportState::NONE, TransportState::UP, TransportState::DOWN, TransportState::CLOSING, TransportState::FAILED, TransportState::CLOSED } |
Indicates the state of a transport. More... | |
Functions | |
std::ostream & | operator<< (std::ostream &os, const Face &face) |
void | connectFaceClosedSignal (Face &face, std::function< void()> f) |
Invokes a callback when a face is closed. More... | |
NFD_REGISTER_PROTOCOL_FACTORY (EthernetFactory) | |
std::ostream & | operator<< (std::ostream &os, const FaceLogHelper< Face > &flh) |
std::tuple< shared_ptr< Face >, shared_ptr< ndn::Face > > | makeInternalFace (ndn::KeyChain &clientKeyChain) |
make a pair of forwarder-side face and client-side face that are connected with each other More... | |
NFD_LOG_MEMBER_INIT (InternalForwarderTransport, InternalForwarderTransport) | |
NFD_LOG_MEMBER_INIT (InternalClientTransport, InternalClientTransport) | |
std::ostream & | operator<< (std::ostream &os, const FaceLogHelper< LinkService > &flh) |
template<typename T > | |
std::enable_if< std::is_base_of< LinkService, T >::value &&!std::is_same< LinkService, T >::value, std::ostream & >::type | operator<< (std::ostream &os, const FaceLogHelper< T > &flh) |
std::ostream & | operator<< (std::ostream &os, const FaceLogHelper< LpFragmenter > &flh) |
std::ostream & | operator<< (std::ostream &os, const FaceLogHelper< LpReassembler > &flh) |
std::ostream & | operator<< (std::ostream &os, const FaceLogHelper< LpReliability > &flh) |
NFD_LOG_MEMBER_INIT_SPECIALIZED ((DatagramTransport< boost::asio::ip::udp, Multicast >), MulticastUdpTransport) | |
static void | bindToDevice (int fd, const std::string &ifname) |
NFD_LOG_MEMBER_DECL_SPECIALIZED ((DatagramTransport< boost::asio::ip::udp, Multicast >)) | |
static bool | doesMatchPattern (const std::string &ifname, const std::string &pattern) |
static bool | doesNetifMatchRule (const ndn::net::NetworkInterface &netif, const std::string &rule) |
static bool | doesAddressMatchRule (const boost::asio::ip::address &address, const std::string &rule) |
shared_ptr< Face > | makeNullFace (const FaceUri &uri) |
ssize_t | getTxQueueLength (int fd) |
obtain send queue length from a specified system socket More... | |
NFD_REGISTER_PROTOCOL_FACTORY (TcpFactory) | |
NFD_LOG_MEMBER_INIT_SPECIALIZED (StreamTransport< boost::asio::ip::tcp >, TcpTransport) | |
NFD_LOG_MEMBER_DECL_SPECIALIZED (StreamTransport< boost::asio::ip::tcp >) | |
std::ostream & | operator<< (std::ostream &os, TransportState state) |
std::ostream & | operator<< (std::ostream &os, const FaceLogHelper< Transport > &flh) |
template<typename T > | |
std::enable_if< std::is_base_of< Transport, T >::value &&!std::is_same< Transport, T >::value, std::ostream & >::type | operator<< (std::ostream &os, const FaceLogHelper< T > &flh) |
NFD_REGISTER_PROTOCOL_FACTORY (UdpFactory) | |
static optional< ip::address > | pickAddress (const net::NetworkInterface &netif, net::AddressFamily af) |
NFD_LOG_MEMBER_INIT_SPECIALIZED ((DatagramTransport< boost::asio::ip::udp, Unicast >), UnicastUdpTransport) | |
NFD_LOG_MEMBER_DECL_SPECIALIZED ((DatagramTransport< boost::asio::ip::udp, Unicast >)) | |
NFD_REGISTER_PROTOCOL_FACTORY (UnixStreamFactory) | |
NFD_LOG_MEMBER_INIT_SPECIALIZED (StreamTransport< boost::asio::local::stream_protocol >, UnixStreamTransport) | |
NFD_LOG_MEMBER_DECL_SPECIALIZED (StreamTransport< boost::asio::local::stream_protocol >) | |
NFD_REGISTER_PROTOCOL_FACTORY (WebSocketFactory) | |
static bool | isLoopback (const boost::asio::ip::address &addr) |
Variables | |
EthernetChannel | |
EthernetFactory | |
EthernetTransport | |
const FaceId | INVALID_FACEID = ndn::nfd::INVALID_FACE_ID |
indicates an invalid FaceId More... | |
const FaceId | FACEID_INTERNAL_FACE = 1 |
identifies the InternalFace used in management More... | |
const FaceId | FACEID_CONTENT_STORE = 254 |
identifies a packet comes from the ContentStore More... | |
const FaceId | FACEID_NULL = 255 |
identifies the NullFace that drops every packet More... | |
const FaceId | FACEID_RESERVED_MAX = 255 |
upper bound of reserved FaceIds More... | |
const ssize_t | MIN_MTU = 64 |
Minimum MTU that may be set. More... | |
FaceSystem | |
const std::string | CFGSEC_FACESYSTEM = "face_system" |
const std::string | CFGSEC_GENERAL = "general" |
const std::string | CFGSEC_GENERAL_FQ = CFGSEC_FACESYSTEM + ".general" |
const std::string | CFGSEC_NETDEVBOUND = "netdev_bound" |
GenericLinkService | |
constexpr size_t | CONGESTION_MARK_SIZE |
LinkService | |
LpFragmenter | |
static const size_t | MAX_SINGLE_FRAG_OVERHEAD |
maximum overhead on a single fragment, not counting other NDNLPv2 headers More... | |
static const size_t | MAX_FRAG_OVERHEAD |
maximum overhead of adding fragmentation to payload, not counting other NDNLPv2 headers More... | |
LpReassembler | |
LpReliability | |
MulticastEthernetTransport | |
NetdevBound | |
NullTransport | |
TcpChannel | |
TcpFactory | |
Transport | |
const ssize_t | MTU_UNLIMITED = -1 |
indicates the transport has no limit on payload size More... | |
const ssize_t | MTU_INVALID = -2 |
(for internal use) indicates MTU field is unset More... | |
const ssize_t | QUEUE_UNSUPPORTED = -1 |
indicates that the transport does not support reading the queue capacity/length More... | |
const ssize_t | QUEUE_ERROR = -2 |
indicates that the transport was unable to retrieve the queue capacity/length More... | |
UdpChannel | |
UdpFactory | |
UnicastEthernetTransport | |
UnixStreamChannel | |
UnixStreamFactory | |
WebSocketChannel | |
WebSocketFactory | |
WebSocketTransport | |
using nfd::face::FaceCreatedCallback = typedef std::function<void(const shared_ptr<Face>&)> |
Prototype for the callback that is invoked when a face is created (in response to an incoming connection or after a connection is established).
Definition at line 86 of file channel.hpp.
using nfd::face::FaceCreationFailedCallback = typedef std::function<void(uint32_t status, const std::string& reason)> |
Prototype for the callback that is invoked when a face fails to be created.
Definition at line 90 of file channel.hpp.
using nfd::face::FaceId = typedef uint64_t |
Identifies a face.
Definition at line 44 of file face-common.hpp.
using nfd::face::EndpointId = typedef uint64_t |
Identifies a remote endpoint on the link.
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.
Typically, a point-to-point Transport has only one meaningful EndpointId (usually 0).
Definition at line 71 of file face-common.hpp.
typedef TransportState nfd::face::FaceState |
using nfd::face::DetermineFaceScopeFromAddress = typedef std::function<ndn::nfd::FaceScope(const boost::asio::ip::address& local, const boost::asio::ip::address& remote)> |
Definition at line 40 of file tcp-channel.hpp.
|
strong |
Indicates the state of a transport.
Enumerator | |
---|---|
NONE | |
UP | the transport is up and can transmit packets |
DOWN | the transport is temporarily down, and is being recovered |
CLOSING | the transport is being closed gracefully, either by the peer or by a call to close() |
FAILED | the transport is being closed due to a failure |
CLOSED | the transport is closed, and can be safely deallocated |
Definition at line 37 of file transport.hpp.
|
inline |
Definition at line 85 of file ndn-common.hpp.
void nfd::face::connectFaceClosedSignal | ( | Face & | face, |
std::function< void()> | f | ||
) |
Invokes a callback when a face is closed.
face | the face |
f | the callback to be invoked when the face enters CLOSED state |
This function connects a callback to the afterStateChange signal of face
, and invokes f
when the state becomes CLOSED.
Definition at line 47 of file channel.cpp.
References CLOSED, and nonstd::optional_lite::std11::move().
Referenced by nfd::FaceTable::addReserved(), nfd::face::TcpChannel::connect(), nfd::face::EthernetFactory::createMulticastFace(), nfd::face::UdpFactory::createMulticastFace(), nfd::face::WebSocketChannel::handlePong(), nfd::face::UdpChannel::listen(), nfd::face::UnixStreamChannel::listen(), and nfd::face::EthernetChannel::listen().
nfd::face::NFD_REGISTER_PROTOCOL_FACTORY | ( | EthernetFactory | ) |
std::ostream & nfd::face::operator<< | ( | std::ostream & | os, |
const FaceLogHelper< Face > & | flh | ||
) |
std::tuple< shared_ptr< Face >, shared_ptr< ndn::Face > > nfd::face::makeInternalFace | ( | ndn::KeyChain & | clientKeyChain | ) |
make a pair of forwarder-side face and client-side face that are connected with each other
Network-layer packets sent by one face will be received by the other face after io.poll().
clientKeyChain | A KeyChain used by client-side face to sign prefix registration commands. |
Definition at line 35 of file internal-face.cpp.
Referenced by nfd::ignoreRibAndLogSections(), and ns3::ndn::L3Protocol::setCsReplacementPolicy().
nfd::face::NFD_LOG_MEMBER_INIT | ( | InternalForwarderTransport | , |
InternalForwarderTransport | |||
) |
nfd::face::NFD_LOG_MEMBER_INIT | ( | InternalClientTransport | , |
InternalClientTransport | |||
) |
std::ostream & nfd::face::operator<< | ( | std::ostream & | os, |
const FaceLogHelper< LinkService > & | flh | ||
) |
Definition at line 131 of file link-service.cpp.
References Face.
std::enable_if<std::is_base_of<LinkService, T>::value && !std::is_same<LinkService, T>::value, std::ostream&>::type nfd::face::operator<< | ( | std::ostream & | os, |
const FaceLogHelper< T > & | flh | ||
) |
Definition at line 267 of file link-service.hpp.
std::ostream & nfd::face::operator<< | ( | std::ostream & | os, |
const FaceLogHelper< LpFragmenter > & | flh | ||
) |
Definition at line 146 of file lp-fragmenter.cpp.
std::ostream & nfd::face::operator<< | ( | std::ostream & | os, |
const FaceLogHelper< LpReassembler > & | flh | ||
) |
Definition at line 158 of file lp-reassembler.cpp.
std::ostream & nfd::face::operator<< | ( | std::ostream & | os, |
const FaceLogHelper< LpReliability > & | flh | ||
) |
Definition at line 424 of file lp-reliability.cpp.
nfd::face::NFD_LOG_MEMBER_INIT_SPECIALIZED | ( | (DatagramTransport< boost::asio::ip::udp, Multicast >) | , |
MulticastUdpTransport | |||
) |
|
static |
Definition at line 113 of file multicast-udp-transport.cpp.
References NDN_THROW_ERRNO, and nfd::PrivilegeHelper::runElevated().
Referenced by nfd::face::MulticastUdpTransport::openRxSocket().
nfd::face::NFD_LOG_MEMBER_DECL_SPECIALIZED | ( | (DatagramTransport< boost::asio::ip::udp, Multicast >) | ) |
|
static |
Definition at line 173 of file network-predicate.cpp.
Referenced by doesNetifMatchRule().
|
static |
Definition at line 181 of file network-predicate.cpp.
References nfd::Network::doesContain(), doesMatchPattern(), ndn::net::NetworkInterface::getEthernetAddress(), ndn::net::NetworkInterface::getName(), ndn::net::NetworkInterface::getNetworkAddresses(), and ndn::ethernet::Address::toString().
Referenced by nfd::face::NetworkInterfacePredicate::operator()().
|
static |
Definition at line 208 of file network-predicate.cpp.
References nfd::Network::doesContain().
Referenced by nfd::face::IpAddressPredicate::operator()().
Definition at line 34 of file null-face.cpp.
References ndn::nfd::FACE_SCOPE_LOCAL.
Referenced by nfd::Nfd::initialize().
ssize_t nfd::face::getTxQueueLength | ( | int | fd | ) |
obtain send queue length from a specified system socket
fd | file descriptor of the socket |
QUEUE_UNSUPPORTED | this operation is unsupported on the current platform |
QUEUE_ERROR | there was an error retrieving the send queue length |
On Linux, ioctl() is used to obtain the value of SIOCOUTQ from the socket. On macOS, getsockopt() is used to obtain the value of SO_NWRITE from the socket.
Definition at line 40 of file socket-utils.cpp.
References QUEUE_ERROR, and QUEUE_UNSUPPORTED.
Referenced by nfd::face::StreamTransport< boost::asio::local::stream_protocol >::getSendQueueLength(), nfd::face::DatagramTransport< boost::asio::ip::udp, Multicast >::getSendQueueLength(), and nfd::face::MulticastUdpTransport::getSendQueueLength().
nfd::face::NFD_REGISTER_PROTOCOL_FACTORY | ( | TcpFactory | ) |
nfd::face::NFD_LOG_MEMBER_INIT_SPECIALIZED | ( | StreamTransport< boost::asio::ip::tcp > | , |
TcpTransport | |||
) |
nfd::face::NFD_LOG_MEMBER_DECL_SPECIALIZED | ( | StreamTransport< boost::asio::ip::tcp > | ) |
std::ostream & nfd::face::operator<< | ( | std::ostream & | os, |
TransportState | state | ||
) |
std::ostream & nfd::face::operator<< | ( | std::ostream & | os, |
const FaceLogHelper< Transport > & | flh | ||
) |
Definition at line 227 of file transport.cpp.
References Face, nfd::face::Transport::getFace(), nfd::face::Transport::getLocalUri(), nfd::face::Transport::getRemoteUri(), and INVALID_FACEID.
std::enable_if<std::is_base_of<Transport, T>::value && !std::is_same<Transport, T>::value, std::ostream&>::type nfd::face::operator<< | ( | std::ostream & | os, |
const FaceLogHelper< T > & | flh | ||
) |
Definition at line 474 of file transport.hpp.
nfd::face::NFD_REGISTER_PROTOCOL_FACTORY | ( | UdpFactory | ) |
|
static |
Definition at line 386 of file udp-factory.cpp.
References nfd::face::ProtocolFactory::addFace, nfd::face::UdpFactory::createMulticastFace(), ndn::net::NetworkInterface::getNetworkAddresses(), INVALID_FACEID, nonstd::optional_lite::std11::move(), nfd::face::ProtocolFactory::netmon, NFD_LOG_DEBUG, and nonstd::optional_lite::nullopt.
nfd::face::NFD_LOG_MEMBER_INIT_SPECIALIZED | ( | (DatagramTransport< boost::asio::ip::udp, Unicast >) | , |
UnicastUdpTransport | |||
) |
nfd::face::NFD_LOG_MEMBER_DECL_SPECIALIZED | ( | (DatagramTransport< boost::asio::ip::udp, Unicast >) | ) |
nfd::face::NFD_REGISTER_PROTOCOL_FACTORY | ( | UnixStreamFactory | ) |
nfd::face::NFD_LOG_MEMBER_INIT_SPECIALIZED | ( | StreamTransport< boost::asio::local::stream_protocol > | , |
UnixStreamTransport | |||
) |
nfd::face::NFD_LOG_MEMBER_DECL_SPECIALIZED | ( | StreamTransport< boost::asio::local::stream_protocol > | ) |
nfd::face::NFD_REGISTER_PROTOCOL_FACTORY | ( | WebSocketFactory | ) |
|
static |
Definition at line 35 of file websocket-transport.cpp.
Referenced by nfd::face::WebSocketTransport::WebSocketTransport().
Definition at line 39 of file ethernet-channel.cpp.
Definition at line 36 of file ethernet-factory.cpp.
Definition at line 39 of file ethernet-transport.cpp.
const FaceId nfd::face::INVALID_FACEID = ndn::nfd::INVALID_FACE_ID |
indicates an invalid FaceId
Definition at line 47 of file face-common.hpp.
Referenced by nfd::FaceTable::add(), nfd::FaceTable::addReserved(), nfd::fw::AccessStrategy::afterReceiveInterest(), nfd::face::EthernetFactory::createMulticastFace(), nfd::makeCreateFaceResponse(), nfd::Forwarder::onOutgoingData(), nfd::Forwarder::onOutgoingNack(), operator<<(), pickAddress(), ns3::ndn::L3RateTracer::Print(), ns3::ndn::L3RateTracer::SatisfiedInterests(), and ns3::ndn::L3RateTracer::TimedOutInterests().
const FaceId nfd::face::FACEID_INTERNAL_FACE = 1 |
identifies the InternalFace used in management
Definition at line 49 of file face-common.hpp.
Referenced by nfd::ignoreRibAndLogSections(), and ns3::ndn::L3Protocol::setCsReplacementPolicy().
const FaceId nfd::face::FACEID_CONTENT_STORE = 254 |
identifies a packet comes from the ContentStore
Definition at line 51 of file face-common.hpp.
Referenced by nfd::Forwarder::Forwarder(), nfd::Nfd::initialize(), and nfd::Forwarder::onContentStoreHit().
const FaceId nfd::face::FACEID_NULL = 255 |
identifies the NullFace that drops every packet
Definition at line 53 of file face-common.hpp.
Referenced by nfd::Nfd::initialize().
const FaceId nfd::face::FACEID_RESERVED_MAX = 255 |
upper bound of reserved FaceIds
Definition at line 55 of file face-common.hpp.
Referenced by nfd::FaceTable::add(), and nfd::FaceTable::addReserved().
const ssize_t nfd::face::MIN_MTU = 64 |
Minimum MTU that may be set.
This is done to ensure the NDNLPv2 fragmentation feature functions properly.
Definition at line 61 of file face-common.hpp.
Referenced by nfd::face::EthernetFactory::EthernetFactory(), and nfd::face::UdpFactory::UdpFactory().
Definition at line 35 of file face-system.cpp.
const std::string nfd::face::CFGSEC_FACESYSTEM = "face_system" |
Definition at line 37 of file face-system.cpp.
const std::string nfd::face::CFGSEC_GENERAL = "general" |
Definition at line 38 of file face-system.cpp.
const std::string nfd::face::CFGSEC_GENERAL_FQ = CFGSEC_FACESYSTEM + ".general" |
Definition at line 39 of file face-system.cpp.
const std::string nfd::face::CFGSEC_NETDEVBOUND = "netdev_bound" |
Definition at line 40 of file face-system.cpp.
nfd::face::GenericLinkService |
Definition at line 36 of file generic-link-service.cpp.
Referenced by nfd::copyFaceProperties(), nfd::makeFaceStatus(), nfd::makeUpdateFaceResponse(), nfd::face::LpReliability::setOptions(), and nfd::updateLinkServiceOptions().
constexpr size_t nfd::face::CONGESTION_MARK_SIZE |
Definition at line 38 of file generic-link-service.cpp.
Definition at line 32 of file link-service.cpp.
Definition at line 34 of file lp-fragmenter.cpp.
|
static |
maximum overhead on a single fragment, not counting other NDNLPv2 headers
Definition at line 45 of file lp-fragmenter.cpp.
|
static |
maximum overhead of adding fragmentation to payload, not counting other NDNLPv2 headers
Definition at line 53 of file lp-fragmenter.cpp.
Referenced by nfd::face::LpFragmenter::fragmentPacket().
Definition at line 35 of file lp-reassembler.cpp.
Definition at line 34 of file lp-reliability.cpp.
Definition at line 49 of file multicast-ethernet-transport.cpp.
Definition at line 33 of file netdev-bound.cpp.
nfd::face::NullTransport |
Definition at line 31 of file null-transport.cpp.
Definition at line 35 of file tcp-channel.cpp.
Definition at line 33 of file tcp-factory.cpp.
Definition at line 32 of file transport.cpp.
const ssize_t nfd::face::MTU_UNLIMITED = -1 |
indicates the transport has no limit on payload size
Definition at line 91 of file transport.hpp.
Referenced by nfd::copyMtu(), nfd::face::InternalForwarderTransport::InternalForwarderTransport(), nfd::face::LpReliability::piggyback(), nfd::face::Transport::receive(), nfd::face::Transport::send(), nfd::face::Transport::setMtu(), nfd::face::UnixStreamTransport::UnixStreamTransport(), and nfd::face::WebSocketTransport::WebSocketTransport().
const ssize_t nfd::face::MTU_INVALID = -2 |
(for internal use) indicates MTU field is unset
Definition at line 95 of file transport.hpp.
Referenced by nfd::face::Transport::setMtu().
const ssize_t nfd::face::QUEUE_UNSUPPORTED = -1 |
indicates that the transport does not support reading the queue capacity/length
Definition at line 99 of file transport.hpp.
Referenced by ns3::ndn::NetDeviceTransport::getSendQueueLength(), nfd::face::Transport::getSendQueueLength(), and getTxQueueLength().
const ssize_t nfd::face::QUEUE_ERROR = -2 |
indicates that the transport was unable to retrieve the queue capacity/length
Definition at line 103 of file transport.hpp.
Referenced by nfd::face::DatagramTransport< boost::asio::ip::udp, Multicast >::DatagramTransport(), nfd::face::StreamTransport< boost::asio::local::stream_protocol >::getSendQueueLength(), nfd::face::DatagramTransport< boost::asio::ip::udp, Multicast >::getSendQueueLength(), nfd::face::MulticastUdpTransport::getSendQueueLength(), getTxQueueLength(), and nfd::face::MulticastUdpTransport::MulticastUdpTransport().
Definition at line 35 of file udp-channel.cpp.
Definition at line 40 of file udp-factory.cpp.
Definition at line 34 of file unicast-ethernet-transport.cpp.
Definition at line 38 of file unix-stream-channel.cpp.
Referenced by nfd::face::UnixStreamChannel::Error::Error().
Definition at line 33 of file unix-stream-factory.cpp.
Definition at line 35 of file websocket-channel.cpp.
Definition at line 33 of file websocket-factory.cpp.
Definition at line 32 of file websocket-transport.cpp.