NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
nfd-constants.hpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
22 #ifndef NDN_ENCODING_NFD_CONSTANTS_HPP
23 #define NDN_ENCODING_NFD_CONSTANTS_HPP
24 
25 #include "../common.hpp"
26 
27 namespace ndn {
28 namespace nfd {
29 
30 static const uint64_t INVALID_FACE_ID = std::numeric_limits<uint64_t>::max();
31 
34 enum FaceScope : uint8_t {
35  FACE_SCOPE_NONE = std::numeric_limits<uint8_t>::max(),
42 };
43 
44 std::ostream&
45 operator<<(std::ostream& os, FaceScope faceScope);
46 
49 enum FacePersistency : uint8_t {
50  FACE_PERSISTENCY_NONE = std::numeric_limits<uint8_t>::max(),
60 };
61 
62 std::ostream&
63 operator<<(std::ostream& os, FacePersistency facePersistency);
64 
67 enum LinkType : uint8_t {
68  LINK_TYPE_NONE = std::numeric_limits<uint8_t>::max(),
75 };
76 
77 std::ostream&
78 operator<<(std::ostream& os, LinkType linkType);
79 
82 enum RouteOrigin : uint16_t {
83  ROUTE_ORIGIN_NONE = std::numeric_limits<uint16_t>::max(),
90 };
91 
92 std::ostream&
93 operator<<(std::ostream& os, RouteOrigin routeOrigin);
94 
97 enum RouteFlags {
101 };
102 
103 std::ostream&
104 operator<<(std::ostream& os, RouteFlags routeFlags);
105 
106 } // namespace nfd
107 } // namespace ndn
108 
109 #endif // NDN_ENCODING_NFD_CONSTANTS_HPP
Copyright (c) 2011-2015 Regents of the University of California.
Copyright (c) 2011-2015 Regents of the University of California.
Definition: ndn-common.hpp:40
std::ostream & operator<<(std::ostream &os, FaceScope faceScope)
static const uint64_t INVALID_FACE_ID