nfd-constants.hpp File Reference
+ Include dependency graph for nfd-constants.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ndn
 
 ndn::nfd
 

Enumerations

enum  ndn::nfd::CsFlagBit {
  ndn::nfd::BIT_CS_ENABLE_ADMIT = 0 ,
  ndn::nfd::BIT_CS_ENABLE_SERVE = 1
}
 CS enablement flags. More...
 
enum  ndn::nfd::FaceEventKind : uint8_t {
  ndn::nfd::FACE_EVENT_NONE = 0 ,
  ndn::nfd::FACE_EVENT_CREATED = 1 ,
  ndn::nfd::FACE_EVENT_DESTROYED = 2 ,
  ndn::nfd::FACE_EVENT_UP = 3 ,
  ndn::nfd::FACE_EVENT_DOWN = 4
}
 
enum  ndn::nfd::FaceFlagBit {
  ndn::nfd::BIT_LOCAL_FIELDS_ENABLED = 0 ,
  ndn::nfd::BIT_LP_RELIABILITY_ENABLED = 1 ,
  ndn::nfd::BIT_CONGESTION_MARKING_ENABLED = 2
}
 
enum  ndn::nfd::FacePersistency : uint8_t {
  ndn::nfd::FACE_PERSISTENCY_NONE = std::numeric_limits<uint8_t>::max() ,
  ndn::nfd::FACE_PERSISTENCY_PERSISTENT = 0 ,
  ndn::nfd::FACE_PERSISTENCY_ON_DEMAND = 1 ,
  ndn::nfd::FACE_PERSISTENCY_PERMANENT = 2
}
 
enum  ndn::nfd::FaceScope : uint8_t {
  ndn::nfd::FACE_SCOPE_NONE = std::numeric_limits<uint8_t>::max() ,
  ndn::nfd::FACE_SCOPE_NON_LOCAL = 0 ,
  ndn::nfd::FACE_SCOPE_LOCAL = 1
}
 
enum  ndn::nfd::LinkType : uint8_t {
  ndn::nfd::LINK_TYPE_NONE = std::numeric_limits<uint8_t>::max() ,
  ndn::nfd::LINK_TYPE_POINT_TO_POINT = 0 ,
  ndn::nfd::LINK_TYPE_MULTI_ACCESS = 1 ,
  ndn::nfd::LINK_TYPE_AD_HOC = 2
}
 
enum  ndn::nfd::RouteFlags : uint64_t {
  ndn::nfd::ROUTE_FLAGS_NONE = 0 ,
  ndn::nfd::ROUTE_FLAG_CHILD_INHERIT = 1 ,
  ndn::nfd::ROUTE_FLAG_CAPTURE = 2
}
 
enum  ndn::nfd::RouteOrigin : uint16_t {
  ndn::nfd::ROUTE_ORIGIN_NONE = std::numeric_limits<uint16_t>::max() ,
  ndn::nfd::ROUTE_ORIGIN_APP = 0 ,
  ndn::nfd::ROUTE_ORIGIN_AUTOREG = 64 ,
  ndn::nfd::ROUTE_ORIGIN_CLIENT = 65 ,
  ndn::nfd::ROUTE_ORIGIN_AUTOCONF = 66 ,
  ndn::nfd::ROUTE_ORIGIN_NLSR = 128 ,
  ndn::nfd::ROUTE_ORIGIN_PREFIXANN = 129 ,
  ndn::nfd::ROUTE_ORIGIN_STATIC = 255
}
 

Functions

std::ostream & ndn::nfd::operator<< (std::ostream &os, FaceEventKind faceEventKind)
 
std::ostream & ndn::nfd::operator<< (std::ostream &os, FacePersistency facePersistency)
 
std::ostream & ndn::nfd::operator<< (std::ostream &os, FaceScope faceScope)
 
std::ostream & ndn::nfd::operator<< (std::ostream &os, LinkType linkType)
 
std::ostream & ndn::nfd::operator<< (std::ostream &os, RouteFlags routeFlags)
 
std::ostream & ndn::nfd::operator<< (std::ostream &os, RouteOrigin routeOrigin)
 
std::istream & ndn::nfd::operator>> (std::istream &is, RouteOrigin &routeOrigin)
 Extract RouteOrigin from stream. More...
 

Variables

const uint64_t ndn::nfd::INVALID_FACE_ID = 0