Project

General

Profile

PacketTagTypes » History » Version 11

Teng Liang, 11/14/2017 01:35 PM

1 3 Junxiao Shi
# Packet tag TypeId assignments
2 1 Alex Afanasyev
3 2 Alex Afanasyev
This page is a registry for type identifiers of Tag derived classes.
4
5
Each Tag derived class MUST declare the following method:
6
7
    static constexpr int 
8
    getTypeId();
9
10
The return value of those methods SHOULD be registered in the table below.
11
12
ID or range           | Usage
13 1 Alex Afanasyev
--------------------- | ---------------------------------------------------------------------
14
0000~0009             | Unit testing
15 3 Junxiao Shi
0010                  | [[nfd:NDNLPv2]] IncomingFaceId
16
0011                  | [[nfd:NDNLPv2]] NextHopFaceId
17
0012                  | [[nfd:NDNLPv2]] CachePolicy
18 5 Eric Newberry
0013                  | [[nfd:NDNLPv2]] CongestionMark
19 11 Teng Liang
0014                  | [[nfd:NDNLPv2]] NonDiscovery
20 8 Alex Afanasyev
1000                  | Certificate bundle name ([[Certificate Bundle Packet Format]])
21 9 Junxiao Shi
1001                  | FinalBlockId of the certificate bundle ([[Certificate Bundle Packet Format]])
22 10 Yumin Xia
1086                  | NDNS CertificateFetcher: IterativeQueryController.
23 9 Junxiao Shi
0x60000000            | ndnSIM: HopCount
24 7 Alex Afanasyev
0x60000001~0x6fffffff | ndnSIM
25 4 Junxiao Shi
9000-9999             | reserved for private experiments
26 3 Junxiao Shi
27 2 Alex Afanasyev
28
29
## Current usage in ndnSIM
30
31
ID         | Tag
32
---------- | ----------------------
33
0xaee87802 | ns3::ndn::Ns3PacketTag