BpduTcn

Namespace: inet

class BpduTcn

(no description)

Inheritance diagram

Extends

Name

Type

Description

BpduBase

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

b

rawBin

string[]

rawHex

string[]

regionTags

SharingRegionTagSet::TagBaseRegionTag[]

protocolIdentifier

BpduProtocolIdentifier

2 bytes, 0 for STP, 1 for RSTP (TODO use them)

protocolVersionIdentifier

BpduProtocolVersionIdentifier

1 byte, version ID, currently 0, // 3:MultipleSpanningTree

bpduType

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
}

File: src/inet/linklayer/ieee8021d/common/Ieee8021dBpdu.msg