TransportHeaderBase
classThis base class provides an abstraction for different transport layer packets.
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) |
Known subclasses
| Name | Type | Description |
|---|---|---|
| SctpHeader | class | (no description) |
| TcpHeader | class |
Represents a TCP segment, to be used with the TCP module. |
| UdpHeader | class |
Represents an Udp header, to be used with the Udp module. |
Fields
| Name | Type | Description |
|---|---|---|
| sourcePort | unsigned int | |
| destinationPort | unsigned int | |
| mutable | bool | |
| complete | bool | |
| correct | bool | |
| properlyRepresented | bool | |
| chunkLength | b | |
| rawBin | string[] | |
| rawHex | string[] | |
| tags | RegionTagSet::cObjectRegionTag[] |
Source code
// // This base class provides an abstraction for different transport layer packets. // class TransportHeaderBase extends FieldsChunk { @existingClass; unsigned int sourcePort; unsigned int destinationPort; }File: src/inet/transportlayer/contract/TransportHeaderBase.msg