TransportHeaderBase¶
Namespace: inet
class TransportHeaderBase
This base class provides an abstraction for different transport layer packets.
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
class |
(no description) |
Known subclasses¶
Name |
Type |
Description |
|---|---|---|
class |
(no description) |
|
class |
Represents a TCP segment, to be used with the Tcp module. |
|
class |
Fields¶
Name |
Type |
Description |
|---|---|---|
id |
int |
|
mutable |
bool |
|
complete |
bool |
|
correct |
bool |
|
properlyRepresented |
bool |
|
chunkLength |
||
rawBin |
string[] |
|
rawHex |
string[] |
|
regionTags |
||
sourcePort |
unsigned int |
|
destinationPort |
unsigned int |
Properties¶
Name |
Value |
Description |
|---|---|---|
beforeChange |
handleChange() |
|
descriptor |
readonly |
|
existingClass |
||
packetData |
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