BpduTcn¶
Namespace: inet
class BpduTcn
(no description)
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
class |
Represents a BPDU (Bridge PDU) used by the STP and RSTP protocols, as defined in the 802.1D-1998 specification. |
Fields¶
Name |
Type |
Description |
|---|---|---|
id |
int |
|
mutable |
bool |
|
complete |
bool |
|
correct |
bool |
|
properlyRepresented |
bool |
|
chunkLength |
||
rawBin |
string[] |
|
rawHex |
string[] |
|
regionTags |
||
protocolIdentifier |
2 bytes, 0 for STP, 1 for RSTP (TODO use them) |
|
protocolVersionIdentifier |
1 byte, version ID, currently 0, // 3:MultipleSpanningTree |
|
bpduType |
1 byte, 0 for Configuration BPDU, 1 for Topology Change Notification BPDU |
|
chunkLength |
||
protocolIdentifier |
||
protocolVersionIdentifier |
||
bpduType |
Topology Change Notification BPDU |
Properties¶
Name |
Value |
Description |
|---|---|---|
beforeChange |
handleChange() |
|
descriptor |
readonly |
|
existingClass |
||
packetData |
Source code¶
class BpduTcn extends BpduBase
{
chunkLength = B(4);
protocolIdentifier = SPANNING_TREE_PROTOCOL;
protocolVersionIdentifier = SPANNING_TREE;
bpduType = BPDU_TCN; // Topology Change Notification BPDU
}