Packet¶
Namespace: inet
class Packet
(no description)
Usage diagram¶
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
cPacket |
(unknown – not in documented files) |
Fields¶
Name |
Type |
Description |
|---|---|---|
dataLength |
||
totalLength |
||
data |
ChunkTemporarySharedPtr * |
|
dissection |
ChunkTemporarySharedPtr * |
|
content |
Chunk * |
|
tags |
cObject *[] |
|
regionTags |
||
frontOffset |
||
backOffset |
||
front |
ChunkTemporarySharedPtr * |
|
back |
ChunkTemporarySharedPtr * |
Properties¶
Name |
Value |
Description |
|---|---|---|
descriptor |
readonly |
|
existingClass |
Source code¶
class Packet extends cPacket
{
@existingClass;
@descriptor(readonly);
b dataLength @hint("Length of packet data excluding popped parts");
b totalLength @hint("Length of packet data including popped parts");
ChunkTemporarySharedPtr *data @packetData @getter(getData) @hint("Packet data, excluding popped parts");
ChunkTemporarySharedPtr *dissection @packetData @getter(getDissection) @hint("Complete packet data according to protocol dissectors");
Chunk *content @packetData @getter(getContent) @hint("Complete packet data, including popped parts");
cObject *tags[] @getter(_getTag) @sizeGetter(getNumTags) @hint("Metadata attached to the whole packet");
SharingRegionTagSet::TagBaseRegionTag regionTags[] @getter(_getRegionTag) @sizeGetter(getNumRegionTags) @hint("Metadata attached to bit regions");
b frontOffset @hint("Front pop position");
b backOffset @hint("Back pop position");
ChunkTemporarySharedPtr *front @packetData @getter(getFront) @hint("Packet data popped from the front");
ChunkTemporarySharedPtr *back @packetData @getter(getBack) @hint("Packet data popped from the back");
}