26 #ifndef NFD_DAEMON_FACE_FACE_COMMON_HPP
27 #define NFD_DAEMON_FACE_FACE_COMMON_HPP
32 #include <ndn-cxx/encoding/nfd-constants.hpp>
34 #include <boost/logic/tribool.hpp>
80 ndn::nfd::FacePersistency
persistency = ndn::nfd::FACE_PERSISTENCY_PERSISTENT;
83 optional<ssize_t>
mtu;
129 #define NFD_LOG_FACE(level, msg) NFD_LOG_##level( \
130 ::nfd::face::FaceLogHelper< \
131 typename std::remove_cv< \
132 typename std::remove_reference<decltype(*this)>::type \
139 #define NFD_LOG_FACE_TRACE(msg) NFD_LOG_FACE(TRACE, msg)
142 #define NFD_LOG_FACE_DEBUG(msg) NFD_LOG_FACE(DEBUG, msg)
145 #define NFD_LOG_FACE_INFO(msg) NFD_LOG_FACE(INFO, msg)
148 #define NFD_LOG_FACE_WARN(msg) NFD_LOG_FACE(WARN, msg)
151 #define NFD_LOG_FACE_ERROR(msg) NFD_LOG_FACE(ERROR, msg)
For internal use by FaceLogging macros.
FaceLogHelper(const T &obj1) noexcept
const FaceId FACEID_INTERNAL_FACE
identifies the InternalFace used in management
uint64_t EndpointId
Identifies a remote endpoint on the link.
const ssize_t MIN_MTU
Minimum MTU that may be set.
const FaceId FACEID_NULL
identifies the NullFace that drops every packet
const FaceId INVALID_FACEID
indicates an invalid FaceId
const FaceId FACEID_RESERVED_MAX
upper bound of reserved FaceIds
uint64_t FaceId
Identifies a face.
const FaceId FACEID_CONTENT_STORE
identifies a packet comes from the ContentStore
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents,...
Parameters used to set Transport properties or LinkService options on a newly created face.
optional< time::nanoseconds > baseCongestionMarkingInterval
optional< uint64_t > defaultCongestionThreshold
ndn::nfd::FacePersistency persistency
boost::logic::tribool wantCongestionMarking