NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
{
37
FACE_SCOPE_NON_LOCAL
= 0,
40
FACE_SCOPE_LOCAL
= 1
41
};
42
43
std::ostream&
44
operator<<
(std::ostream& os,
FaceScope
faceScope);
45
48
enum
FacePersistency
{
51
FACE_PERSISTENCY_PERSISTENT
= 0,
54
FACE_PERSISTENCY_ON_DEMAND
= 1,
57
FACE_PERSISTENCY_PERMANENT
= 2
58
};
59
60
std::ostream&
61
operator<<
(std::ostream& os,
FacePersistency
facePersistency);
62
65
enum
LinkType
{
68
LINK_TYPE_POINT_TO_POINT
= 0,
71
LINK_TYPE_MULTI_ACCESS
= 1
72
};
73
74
std::ostream&
75
operator<<
(std::ostream& os,
LinkType
linkType);
76
79
enum
RouteOrigin
{
80
ROUTE_ORIGIN_APP
= 0,
81
ROUTE_ORIGIN_AUTOREG
= 64,
82
ROUTE_ORIGIN_CLIENT
= 65,
83
ROUTE_ORIGIN_AUTOCONF
= 66,
84
ROUTE_ORIGIN_NLSR
= 128,
85
ROUTE_ORIGIN_STATIC
= 255
86
};
87
90
enum
RouteFlags
{
91
ROUTE_FLAG_CHILD_INHERIT
= 1,
92
ROUTE_FLAG_CAPTURE
= 2
93
};
94
95
}
// namespace nfd
96
}
// namespace ndn
97
98
#endif // NDN_ENCODING_NFD_CONSTANTS_HPP
ndn::nfd::FaceScope
FaceScope
Definition:
nfd-constants.hpp:34
ndn
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-strategy-choice-helper.hpp:34
ndn::nfd::LinkType
LinkType
Definition:
nfd-constants.hpp:65
ndn::nfd::FACE_SCOPE_NON_LOCAL
face is non-local
Definition:
nfd-constants.hpp:37
ndn::nfd::LINK_TYPE_MULTI_ACCESS
link is multi-access
Definition:
nfd-constants.hpp:71
ndn::nfd::RouteFlags
RouteFlags
Definition:
nfd-constants.hpp:90
ndn::nfd::FACE_PERSISTENCY_PERMANENT
face is permanent
Definition:
nfd-constants.hpp:57
ndn::nfd::FACE_SCOPE_LOCAL
face is local
Definition:
nfd-constants.hpp:40
ndn::nfd::ROUTE_ORIGIN_NLSR
Definition:
nfd-constants.hpp:84
ndn::nfd::FACE_PERSISTENCY_ON_DEMAND
face is on-demand
Definition:
nfd-constants.hpp:54
ndn::nfd::ROUTE_ORIGIN_AUTOCONF
Definition:
nfd-constants.hpp:83
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:38
ndn::nfd::ROUTE_FLAG_CAPTURE
Definition:
nfd-constants.hpp:92
ndn::nfd::LINK_TYPE_POINT_TO_POINT
link is point-to-point
Definition:
nfd-constants.hpp:68
ndn::nfd::ROUTE_ORIGIN_STATIC
Definition:
nfd-constants.hpp:85
ndn::nfd::operator<<
std::ostream & operator<<(std::ostream &os, FaceScope faceScope)
Definition:
nfd-constants.cpp:29
ndn::nfd::FACE_PERSISTENCY_PERSISTENT
face is persistent
Definition:
nfd-constants.hpp:51
ndn::nfd::ROUTE_ORIGIN_CLIENT
Definition:
nfd-constants.hpp:82
ndn::nfd::FacePersistency
FacePersistency
Definition:
nfd-constants.hpp:48
ndn::nfd::ROUTE_ORIGIN_APP
Definition:
nfd-constants.hpp:80
ndn::nfd::RouteOrigin
RouteOrigin
Definition:
nfd-constants.hpp:79
ndn::nfd::ROUTE_ORIGIN_AUTOREG
Definition:
nfd-constants.hpp:81
ndn::nfd::INVALID_FACE_ID
static const uint64_t INVALID_FACE_ID
Definition:
nfd-constants.hpp:30
ndn::nfd::ROUTE_FLAG_CHILD_INHERIT
Definition:
nfd-constants.hpp:91
ndnSIM
ndn-cxx
src
encoding
nfd-constants.hpp
Generated on Tue Feb 23 2016 22:18:43 for ndnSIM by
1.8.11