TransportPseudoHeader
classRepresents a TCP/UDP pseudo header, used for crc calculation.
Usage diagram
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
Name | Type | Description |
---|---|---|
FieldsChunk | class | (no description) |
Fields
Name | Type | Description |
---|---|---|
srcAddress | L3Address | |
destAddress | L3Address | |
networkProtocolId | int |
inet specific value, Protocol::getId() |
protocolId | int |
TCP: 6, UDP: 17 |
packetLength | B | |
mutable | bool | |
complete | bool | |
correct | bool | |
properlyRepresented | bool | |
chunkLength | b | |
rawBin | string[] | |
rawHex | string[] | |
tags | RegionTagSet::cObjectRegionTag[] |
Source code
// // Represents a TCP/UDP pseudo header, used for crc calculation. // class TransportPseudoHeader extends FieldsChunk { L3Address srcAddress; L3Address destAddress; int networkProtocolId; // inet specific value, Protocol::getId() int protocolId = -1; // TCP: 6, UDP: 17 B packetLength = B(-1); }File: src/inet/transportlayer/common/TransportPseudoHeader.msg