Project

General

Profile

Actions

PacketTagTypes » History » Revision 8

« Previous | Revision 8/20 (diff) | Next »
Alex Afanasyev, 02/08/2017 08:24 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 NDNLPv2 IncomingFaceId
0011 NDNLPv2 NextHopFaceId
0012 NDNLPv2 CachePolicy
0013 NDNLPv2 CongestionMark
1000 Certificate bundle name (Certificate Bundle Packet Format)
1001 FinalBlockId of the certificate bundle (Certificate Bundle Packet Format)

0x60000000 | ndnSIM: HopCount
0x60000001~0x6fffffff | ndnSIM
9000-9999 | reserved for private experiments

Current usage in ndnSIM

ID Tag
0xaee87802 ns3::ndn::Ns3PacketTag

Updated by Alex Afanasyev about 7 years ago · 8 revisions