PppTrailer¶
Namespace: inet
class PppTrailer
(no description)
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
class |
(no description) |
Fields¶
Name |
Type |
Description |
|---|---|---|
id |
int |
|
mutable |
bool |
|
complete |
bool |
|
correct |
bool |
|
properlyRepresented |
bool |
|
chunkLength |
||
rawBin |
string[] |
|
rawHex |
string[] |
|
regionTags |
||
chunkLength |
FIXME correct value is 3, but old inet was used 2 bytes |
|
fcs |
short |
frame check sequence, 2 byte |
flag |
short |
1 byte, omitted for successive PPP packets |
Properties¶
Name |
Value |
Description |
|---|---|---|
beforeChange |
handleChange() |
|
descriptor |
readonly |
|
existingClass |
||
packetData |
Source code¶
class PppTrailer extends FieldsChunk
{
chunkLength = PPP_TRAILER_LENGTH; //FIXME correct value is 3, but old inet was used 2 bytes
short fcs = 0; // frame check sequence, 2 byte
short flag = 0x7e; // 1 byte, omitted for successive PPP packets
}