Project

General

Profile

PacketTagTypes » History » Revision 4

Revision 3 (Junxiao Shi, 11/12/2015 06:14 PM) → Revision 4/20 (Junxiao Shi, 11/15/2015 10:04 AM)

# Packet tag TypeId assignments 

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

 Each Tag derived class MUST declare the following method: 

     static constexpr int  
     getTypeId(); 

 The return value of those 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 
 0xa0000000~0xafffffff | ndnSIM 
 9000-9999               | reserved for private experiments 



 ## Current usage in ndnSIM 

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