SctpHeader¶
Namespace: inet::sctp
class SctpHeader
(no description)
Usage diagram¶
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
class |
This base class provides an abstraction for different transport layer packets. |
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 |
|
srcPort |
uint16_t |
Destination Port |
destPort |
uint16_t |
Verification Tag |
vTag |
uint32_t |
|
checksumOk |
bool |
|
checksum |
uint32_t |
|
checksumMode |
||
headerLength |
unsigned short |
|
sctpChunks |
SctpChunk *[] |
Properties¶
Name |
Value |
Description |
|---|---|---|
beforeChange |
handleChange() |
|
descriptor |
readonly |
|
existingClass |
||
packetData |
Source code¶
class SctpHeader extends TransportHeaderBase
{
// Source Port
uint16_t srcPort;
// Destination Port
uint16_t destPort;
// Verification Tag
uint32_t vTag;
bool checksumOk;
uint32_t checksum = 0;
ChecksumMode checksumMode = CHECKSUM_MODE_UNDEFINED;
unsigned short headerLength = 12;
SctpChunk *sctpChunks[] @custom;
}