NFD: Named Data Networking Forwarding Daemon 24.07-28-gdcc0e6e0
Loading...
Searching...
No Matches
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

namespace  nfd
 
namespace  nfd::face
 

Macros

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

Typedefs

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

Variables

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