NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: 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,
38  Nack = 800,
39  NackReason = 801,
41  CachePolicy = 820,
44 };
45 
46 enum {
51 
56 
60  HEADER3_MIN = 800,
61 
66 };
67 
68 } // namespace tlv
69 } // namespace lp
70 } // namespace ndn
71 
72 #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:60
upper bound of 3-octet header field
Definition: tlv.hpp:65
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
upper bound of 1-octet header field
Definition: tlv.hpp:55
CachePolicyType
indicates the cache policy applied to a Data packet
lower bound of 1-octet header field
Definition: tlv.hpp:50