NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
tlv.hpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
22 #ifndef NDN_CXX_LP_TLV_HPP
23 #define NDN_CXX_LP_TLV_HPP
24 
25 namespace ndn {
26 namespace lp {
27 namespace tlv {
28 
32 enum {
33  LpPacket = 100,
34  Fragment = 80,
35  Sequence = 81,
36  FragIndex = 82,
37  FragCount = 83,
39  Nack = 800,
40  NackReason = 801,
42  CachePolicy = 820,
46 };
47 
48 enum {
53 
58 
62  HEADER3_MIN = 800,
63 
68 };
69 
70 } // namespace tlv
71 } // namespace lp
72 } // namespace ndn
73 
74 #endif // NDN_CXX_LP_TLV_HPP
represents a CachePolicy header field
Copyright (c) 2011-2015 Regents of the University of California.
lower bound of 3-octet header field
Definition: tlv.hpp:62
upper bound of 3-octet header field
Definition: tlv.hpp:67
NackReason
indicates the reason type of a network NACK
Definition: nack-header.hpp:39
uint64_t Sequence
represents a sequence number
Definition: sequence.hpp:35
represents a Network Nack
Definition: nack.hpp:40
provides a tag type for simple types
Definition: tag.hpp:58
upper bound of 1-octet header field
Definition: tlv.hpp:57
CachePolicyType
indicates the cache policy applied to a Data packet
lower bound of 1-octet header field
Definition: tlv.hpp:52