Namespaces | |
field_location_tags | |
indicates where a field may occur | |
tlv | |
Enumerations | |
enum | CachePolicyType { CachePolicyType::NONE = 0, CachePolicyType::NO_CACHE = 1 } |
indicates the cache policy applied to a Data packet More... | |
enum | NackReason { NackReason::NONE = 0, NackReason::CONGESTION = 50, NackReason::DUPLICATE = 100, NackReason::NO_ROUTE = 150 } |
indicates the reason type of a network NACK More... | |
Functions | |
std::ostream & | operator<< (std::ostream &os, CachePolicyType policy) |
NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS (CachePolicy) | |
NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS (CachePolicy) | |
template size_t | GeoTag::wireEncode< encoding::EncoderTag > (EncodingImpl< encoding::EncoderTag > &encoder) const |
template size_t | GeoTag::wireEncode< encoding::EstimatorTag > (EncodingImpl< encoding::EstimatorTag > &encoder) const |
std::ostream & | operator<< (std::ostream &os, NackReason reason) |
bool | isLessSevere (lp::NackReason x, lp::NackReason y) |
compare NackReason for severity More... | |
NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS (NackHeader) | |
NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS (NackHeader) | |
std::ostream & | operator<< (std::ostream &os, const PitToken &pitToken) |
NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS (PrefixAnnouncementHeader) | |
NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS (PrefixAnnouncementHeader) | |
Definition at line 39 of file fields.hpp.
typedef FieldDecl<field_location_tags::Header, uint64_t, tlv::FragIndex, false, NonNegativeIntegerTag, NonNegativeIntegerTag> ndn::lp::FragIndexField |
Definition at line 47 of file fields.hpp.
typedef FieldDecl<field_location_tags::Header, uint64_t, tlv::FragCount, false, NonNegativeIntegerTag, NonNegativeIntegerTag> ndn::lp::FragCountField |
Definition at line 55 of file fields.hpp.
typedef FieldDecl<field_location_tags::Header, std::pair<Buffer::const_iterator, Buffer::const_iterator>, tlv::PitToken> ndn::lp::PitTokenField |
Definition at line 60 of file fields.hpp.
Definition at line 65 of file fields.hpp.
typedef FieldDecl<field_location_tags::Header, uint64_t, tlv::NextHopFaceId, false, NonNegativeIntegerTag, NonNegativeIntegerTag> ndn::lp::NextHopFaceIdField |
Definition at line 73 of file fields.hpp.
typedef FieldDecl<field_location_tags::Header, CachePolicy, tlv::CachePolicy> ndn::lp::CachePolicyField |
Definition at line 78 of file fields.hpp.
typedef FieldDecl<field_location_tags::Header, uint64_t, tlv::IncomingFaceId, false, NonNegativeIntegerTag, NonNegativeIntegerTag> ndn::lp::IncomingFaceIdField |
Definition at line 86 of file fields.hpp.
typedef FieldDecl<field_location_tags::Header, uint64_t, tlv::CongestionMark, false, NonNegativeIntegerTag, NonNegativeIntegerTag> ndn::lp::CongestionMarkField |
Definition at line 94 of file fields.hpp.
typedef FieldDecl<field_location_tags::Header, Sequence, tlv::Ack, true> ndn::lp::AckField |
Definition at line 100 of file fields.hpp.
Definition at line 105 of file fields.hpp.
typedef FieldDecl<field_location_tags::Header, EmptyValue, tlv::NonDiscovery> ndn::lp::NonDiscoveryField |
Definition at line 110 of file fields.hpp.
typedef FieldDecl<field_location_tags::Header, PrefixAnnouncementHeader, tlv::PrefixAnnouncement> ndn::lp::PrefixAnnouncementField |
Definition at line 115 of file fields.hpp.
typedef FieldDecl<field_location_tags::Header, uint16_t, tlv::HopCountTag, false, NonNegativeIntegerTag, NonNegativeIntegerTag> ndn::lp::HopCountTagField |
Definition at line 123 of file fields.hpp.
Definition at line 128 of file fields.hpp.
typedef FieldDecl<field_location_tags::Fragment, std::pair<Buffer::const_iterator, Buffer::const_iterator>, tlv::Fragment> ndn::lp::FragmentField |
Declare the Fragment field.
The fragment (i.e. payload) is the bytes between two provided iterators. During encoding, these bytes are copied from the Buffer into the LpPacket.
Definition at line 138 of file fields.hpp.
Set of all field declarations.
Definition at line 160 of file fields.hpp.
typedef uint64_t ndn::lp::Sequence |
represents a sequence number
Definition at line 35 of file sequence.hpp.
typedef SimpleTag<uint64_t, 10> ndn::lp::IncomingFaceIdTag |
typedef SimpleTag<uint64_t, 11> ndn::lp::NextHopFaceIdTag |
typedef SimpleTag<CachePolicy, 12> ndn::lp::CachePolicyTag |
typedef SimpleTag<uint64_t, 13> ndn::lp::CongestionMarkTag |
typedef SimpleTag<EmptyValue, 14> ndn::lp::NonDiscoveryTag |
typedef SimpleTag<uint64_t, 0x60000000> ndn::lp::HopCountTag |
|
strong |
indicates the cache policy applied to a Data packet
Enumerator | |
---|---|
NONE | |
NO_CACHE |
Definition at line 36 of file cache-policy.hpp.
|
strong |
indicates the reason type of a network NACK
Enumerator | |
---|---|
NONE | |
CONGESTION | |
DUPLICATE | |
NO_ROUTE |
Definition at line 37 of file nack-header.hpp.
std::ostream & ndn::lp::operator<< | ( | std::ostream & | os, |
CachePolicyType | policy | ||
) |
Definition at line 30 of file cache-policy.cpp.
References NO_CACHE.
ndn::lp::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS | ( | CachePolicy | ) |
ndn::lp::NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS | ( | CachePolicy | ) |
template size_t ndn::lp::GeoTag::wireEncode< encoding::EncoderTag > | ( | EncodingImpl< encoding::EncoderTag > & | encoder | ) | const |
template size_t ndn::lp::GeoTag::wireEncode< encoding::EstimatorTag > | ( | EncodingImpl< encoding::EstimatorTag > & | encoder | ) | const |
std::ostream & ndn::lp::operator<< | ( | std::ostream & | os, |
NackReason | reason | ||
) |
Definition at line 29 of file nack-header.cpp.
References CONGESTION, DUPLICATE, and NO_ROUTE.
bool ndn::lp::isLessSevere | ( | lp::NackReason | x, |
lp::NackReason | y | ||
) |
compare NackReason for severity
lp::NackReason::NONE is treated as most severe
Definition at line 45 of file nack-header.cpp.
References NONE, and ndn::to_underlying().
Referenced by nfd::fw::ProcessNackTraitsBase::processNack(), and ndn::PendingInterest::recordNack().
ndn::lp::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS | ( | NackHeader | ) |
ndn::lp::NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS | ( | NackHeader | ) |
std::ostream & ndn::lp::operator<< | ( | std::ostream & | os, |
const PitToken & | pitToken | ||
) |
Definition at line 41 of file pit-token.cpp.
References ndn::printHex().
ndn::lp::NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS | ( | PrefixAnnouncementHeader | ) |
ndn::lp::NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS | ( | PrefixAnnouncementHeader | ) |
Definition at line 39 of file fields.hpp.
Definition at line 47 of file fields.hpp.
Definition at line 55 of file fields.hpp.
Definition at line 60 of file fields.hpp.
Definition at line 65 of file fields.hpp.
Definition at line 73 of file fields.hpp.
Definition at line 78 of file fields.hpp.
Definition at line 86 of file fields.hpp.
Definition at line 94 of file fields.hpp.
Definition at line 100 of file fields.hpp.
Definition at line 105 of file fields.hpp.
Definition at line 110 of file fields.hpp.
Definition at line 115 of file fields.hpp.
Definition at line 123 of file fields.hpp.
Definition at line 128 of file fields.hpp.
Definition at line 138 of file fields.hpp.
|
staticconstexpr |
Definition at line 29 of file pit-token.cpp.
|
staticconstexpr |
Definition at line 30 of file pit-token.cpp.