NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
tags.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2
/*
3
* Copyright (c) 2013-2018 Regents of the University of California.
4
*
5
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
6
*
7
* ndn-cxx library is free software: you can redistribute it and/or modify it under the
8
* terms of the GNU Lesser General Public License as published by the Free Software
9
* Foundation, either version 3 of the License, or (at your option) any later version.
10
*
11
* ndn-cxx library is distributed in the hope that it will be useful, but WITHOUT ANY
12
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
14
*
15
* You should have received copies of the GNU General Public License and GNU Lesser
16
* General Public License along with ndn-cxx, e.g., in COPYING.md file. If not, see
17
* <http://www.gnu.org/licenses/>.
18
*
19
* See AUTHORS.md for complete list of ndn-cxx authors and contributors.
20
*/
21
22
#ifndef NDN_CXX_LP_TAGS_HPP
23
#define NDN_CXX_LP_TAGS_HPP
24
25
#include "
cache-policy.hpp
"
26
#include "
empty-value.hpp
"
27
#include "
prefix-announcement.hpp
"
28
#include "../tag.hpp"
29
30
namespace
ndn
{
31
namespace
lp
{
32
38
typedef
SimpleTag<uint64_t, 10>
IncomingFaceIdTag
;
39
45
typedef
SimpleTag<uint64_t, 11>
NextHopFaceIdTag
;
46
52
typedef
SimpleTag<CachePolicy, 12>
CachePolicyTag
;
53
59
typedef
SimpleTag<uint64_t, 13>
CongestionMarkTag
;
60
66
typedef
SimpleTag<EmptyValue, 14>
NonDiscoveryTag
;
67
73
typedef
SimpleTag<PrefixAnnouncement, 15>
PrefixAnnouncementTag
;
74
80
typedef
SimpleTag<uint64_t, 0x60000000>
HopCountTag
;
81
82
}
// namespace lp
83
}
// namespace ndn
84
85
#endif // NDN_CXX_LP_TAGS_HPP
ndn::lp::CachePolicyTag
SimpleTag< CachePolicy, 12 > CachePolicyTag
Definition:
tags.hpp:52
ndn::lp::IncomingFaceIdTag
SimpleTag< uint64_t, 10 > IncomingFaceIdTag
Definition:
tags.hpp:38
ndn::lp::HopCountTag
SimpleTag< uint64_t, 0x60000000 > HopCountTag
Definition:
tags.hpp:80
ndn
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-strategy-choice-helper.hpp:34
ndn::lp::NonDiscoveryTag
SimpleTag< EmptyValue, 14 > NonDiscoveryTag
Definition:
tags.hpp:66
cache-policy.hpp
ndn::lp::CongestionMarkTag
SimpleTag< uint64_t, 13 > CongestionMarkTag
Definition:
tags.hpp:59
prefix-announcement.hpp
ndn::SimpleTag
provides a tag type for simple types
Definition:
tag.hpp:58
ndn::lp::PrefixAnnouncementTag
SimpleTag< PrefixAnnouncement, 15 > PrefixAnnouncementTag
Definition:
tags.hpp:73
ndn::lp::NextHopFaceIdTag
SimpleTag< uint64_t, 11 > NextHopFaceIdTag
Definition:
tags.hpp:45
empty-value.hpp
ndn::lp
Definition:
cache-policy.cpp:28
ndnSIM
ndn-cxx
src
lp
tags.hpp
Generated on Tue Aug 7 2018 16:19:16 for ndnSIM by
1.8.14