face-common.hpp File Reference
#include "ethernet-protocol.hpp"
#include "udp-protocol.hpp"
#include "common/logger.hpp"
#include <ndn-cxx/encoding/nfd-constants.hpp>
#include <ndn-cxx/net/face-uri.hpp>
#include <boost/logic/tribool.hpp>
#include <variant>
+ Include dependency graph for face-common.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nfd::face::FaceLogHelper< T >
 For internal use by FaceLogging macros. More...
 
struct  nfd::face::FaceParams
 Parameters used to set Transport properties or LinkService options on a newly created face. More...
 

Namespaces

 nfd
 -status-http-server
 
 nfd::face
 

Macros

#define NFD_LOG_FACE_DEBUG(msg)   NFD_LOG_FACE(DEBUG, msg)
 Log a message at DEBUG level. More...
 
#define NFD_LOG_FACE_ERROR(msg)   NFD_LOG_FACE(ERROR, msg)
 Log a message at ERROR level. More...
 
#define NFD_LOG_FACE_INFO(msg)   NFD_LOG_FACE(INFO, msg)
 Log a message at INFO level. More...
 
#define NFD_LOG_FACE_TRACE(msg)   NFD_LOG_FACE(TRACE, msg)
 Log a message at TRACE level. More...
 
#define NFD_LOG_FACE_WARN(msg)   NFD_LOG_FACE(WARN, msg)
 Log a message at WARN level. More...
 

Typedefs

using nfd::face::EndpointId = std::variant< std::monostate, ethernet::Address, udp::Endpoint >
 Identifies a remote endpoint on the link. More...
 
using nfd::face::FaceId = uint64_t
 Identifies a face. More...
 

Variables

constexpr FaceId nfd::face::FACEID_CONTENT_STORE = 254
 Identifies a packet comes from the ContentStore. More...
 
constexpr FaceId nfd::face::FACEID_INTERNAL_FACE = 1
 Identifies the InternalFace used in management. More...
 
constexpr FaceId nfd::face::FACEID_NULL = 255
 Identifies the NullFace that drops every packet. More...
 
constexpr FaceId nfd::face::FACEID_RESERVED_MAX = 255
 Upper bound of reserved FaceIds. More...
 
constexpr FaceId nfd::face::INVALID_FACEID = ndn::nfd::INVALID_FACE_ID
 Indicates an invalid FaceId. More...
 
constexpr ssize_t nfd::face::MIN_MTU = 64
 Minimum MTU that may be set. More...