Project

General

Profile

PacketTagTypes » History » Revision 12

Revision 11 (Teng Liang, 11/14/2017 01:35 PM) → Revision 12/20 (Davide Pesavento, 11/14/2017 09:37 PM)

# Packet Tag tag TypeId Assignments assignments 

 This page is a registry for type identifiers of Tag derived classes. 

 Each Tag derived class MUST declare the following method: 

     static member function: 

 ```cpp 
 static constexpr int 
  
     getTypeId(); 
 ``` 

 The return value of those functions methods SHOULD be registered in the table below. 

 ID or range             | Usage 
 --------------------- | --------------------------------------------------------------------- 
 0000~0009               | Unit testing 
 0010                    | [[nfd:NDNLPv2]] IncomingFaceId 
 0011                    | [[nfd:NDNLPv2]] NextHopFaceId 
 0012                    | [[nfd:NDNLPv2]] CachePolicy 
 0013                    | [[nfd:NDNLPv2]] CongestionMark 
 0014                    | [[nfd:NDNLPv2]] NonDiscovery 
 1000                    | Certificate bundle name ([[Certificate Bundle Packet Format]]) 
 1001                    | FinalBlockId of the certificate bundle ([[Certificate Bundle Packet Format]]) 
 1086                    | NDNS CertificateFetcher: IterativeQueryController IterativeQueryController. 
 0x60000000              | ndnSIM: HopCount 
 0x60000001~0x6fffffff | ndnSIM 
 9000-9999               | Reserved reserved for private experiments 


 



 ## Current usage in ndnSIM 

 ID           | Tag 
 ---------- | ---------------------- 
 0xaee87802 | ns3::ndn::Ns3PacketTag