PacketTagTypes » History » Revision 17
Revision 16 (Davide Pesavento, 02/01/2018 09:32 PM) → Revision 17/20 (weijia yuan, 10/20/2018 11:18 PM)
# Packet Tag TypeId Assignments
This page is a registry for type identifiers of Tag derived classes.
Each Tag derived class MUST declare the following static member function:
```cpp
static constexpr int
getTypeId();
```
The return value of those functions SHOULD be registered in the table below.
ID or range | Usage
---------------------- | ---------------------------------------------------------------------
0..9 | Reserved for testing
10 | [[nfd:NDNLPv2]] IncomingFaceId
11 | [[nfd:NDNLPv2]] NextHopFaceId
12 | [[nfd:NDNLPv2]] CachePolicy
13 | [[nfd:NDNLPv2]] CongestionMark
14 | [[nfd:NDNLPv2]] NonDiscovery
15 | [[nfd:NDNLPv2]] PrefixAnnouncement
20 | [[repo-ng]] Base-handle Command
1000 | Certificate bundle name ([[Certificate Bundle Packet Format]])
1001 | FinalBlockId of the certificate bundle ([[Certificate Bundle Packet Format]])
1086 | NDNS CertificateFetcher: IterativeQueryController
0x60000000 | ndnSIM: HopCount
0x60000001..0x6fffffff | Reserved for ndnSIM
9000..9999 | Reserved for private experiments
## Current usage in ndnSIM
ID | Tag
---------- | ----------------------
0xaee87802 | ns3::ndn::Ns3PacketTag