Project

General

Profile

PacketTagTypes » History » Version 2

Alex Afanasyev, 01/03/2015 10:22 PM

1 2 Alex Afanasyev
Packet tag TypeId assignments
2
=============================
3 1 Alex Afanasyev
4 2 Alex Afanasyev
This page is a registry for type identifiers of Tag derived classes.
5
6
Each Tag derived class MUST declare the following method:
7
8
    static constexpr int 
9
    getTypeId();
10
11
The return value of those methods SHOULD be registered in the table below.
12
13
ID or range           | Usage
14
--------------------- | ---------------------------------------------------------------------
15
0000~0009             | Unit testing
16
0xa0000000~0xafffffff | ndnSIM
17
                      
18
19
20
## Current usage in ndnSIM
21
22
ID         | Tag
23
---------- | ----------------------
24
0xaee87802 | ns3::ndn::Ns3PacketTag