|
| MultipleStpLayer (uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet) |
|
| MultipleStpLayer () |
|
mstp_conf_bpdu * | getMstpHeader () const |
|
uint16_t | getVersion3Len () const |
|
void | setVersion3Len (uint16_t value) |
|
uint8_t | getMstConfigurationFormatSelector () const |
|
void | setMstConfigurationFormatSelector (uint8_t value) |
|
std::string | getMstConfigurationName () const |
|
void | setMstConfigurationName (const std::string &value) |
|
uint16_t | getMstConfigRevision () const |
|
void | setMstConfigRevision (uint16_t value) |
|
uint8_t * | getMstConfigDigest () const |
|
void | setMstConfigDigest (const uint8_t *value, uint8_t len) |
|
uint32_t | getCISTIrpc () const |
|
void | setCISTIrpc (uint32_t value) |
|
uint64_t | getCISTBridgeId () const |
|
void | setCISTBridgeId (uint64_t value) |
|
uint16_t | getCISTBridgePriority () const |
|
void | setCISTBridgePriority (uint16_t value) |
|
uint16_t | getCISTBridgeSystemIDExtension () const |
|
void | setCISTBridgeSystemIDExtension (uint16_t value) |
|
pcpp::MacAddress | getCISTBridgeSystemID () const |
|
void | setCISTBridgeSystemID (const pcpp::MacAddress &value) |
|
uint8_t | getRemainingHopCount () const |
|
void | setRemainingHopCount (uint8_t value) |
|
uint8_t | getNumberOfMSTIConfMessages () const |
|
msti_conf_msg * | getMstiConfMessages () const |
|
void | parseNextLayer () override |
| Parses next layer.
|
|
std::string | toString () const override |
|
| RapidStpLayer (uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet) |
|
| RapidStpLayer () |
|
rstp_conf_bpdu * | getRstpConfHeader () const |
|
uint8_t | getVersion1Len () const |
|
void | setVersion1Len (uint8_t value) |
|
size_t | getHeaderLen () const override |
|
| StpConfigurationBPDULayer (uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet) |
|
| StpConfigurationBPDULayer () |
|
stp_conf_bpdu * | getStpConfHeader () const |
|
uint8_t | getFlag () const |
|
void | setFlag (uint8_t value) |
|
uint64_t | getRootId () const |
|
void | setRootId (uint64_t value) |
|
uint16_t | getRootPriority () const |
|
void | setRootPriority (uint16_t value) |
|
uint16_t | getRootSystemIDExtension () const |
|
void | setRootSystemIDExtension (uint16_t value) |
|
pcpp::MacAddress | getRootSystemID () const |
|
void | setRootSystemID (const pcpp::MacAddress &value) |
|
uint32_t | getPathCost () const |
|
void | setPathCost (uint32_t value) |
|
uint64_t | getBridgeId () const |
|
void | setBridgeId (uint64_t value) |
|
uint16_t | getBridgePriority () const |
|
void | setBridgePriority (uint16_t value) |
|
uint16_t | getBridgeSystemIDExtension () const |
|
void | setBridgeSystemIDExtension (uint16_t value) |
|
pcpp::MacAddress | getBridgeSystemID () const |
|
void | setBridgeSystemID (const pcpp::MacAddress &value) |
|
uint16_t | getPortId () const |
|
void | setPortId (uint16_t value) |
|
double | getMessageAge () const |
|
void | setMessageAge (double value) |
|
double | getMaximumAge () const |
|
void | setMaximumAge (double value) |
|
double | getTransmissionInterval () const |
|
void | setTransmissionInterval (double value) |
|
double | getForwardDelay () const |
|
void | setForwardDelay (double value) |
|
| StpTopologyChangeBPDULayer (uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet) |
|
| StpTopologyChangeBPDULayer () |
|
stp_tcn_bpdu * | getStpTcnHeader () |
|
stp_header * | getStpHeader () const |
|
uint16_t | getProtoId () const |
|
void | setProtoId (uint16_t value) |
|
uint8_t | getVersion () const |
|
void | setVersion (uint8_t value) |
|
uint8_t | getType () const |
|
void | setType (uint8_t value) |
|
void | computeCalculateFields () override |
| Does nothing for this layer.
|
|
OsiModelLayer | getOsiModelLayer () const override |
|
| ~Layer () override |
|
Layer * | getNextLayer () const |
|
Layer * | getPrevLayer () const |
|
ProtocolType | getProtocol () const |
|
bool | isMemberOfProtocolFamily (ProtocolTypeFamily protocolTypeFamily) const |
|
uint8_t * | getData () const |
|
size_t | getDataLen () const |
|
uint8_t * | getLayerPayload () const |
|
size_t | getLayerPayloadSize () const |
|
bool | isAllocatedToPacket () const |
|
void | copyData (uint8_t *toArr) const |
|
uint8_t * | getDataPtr (size_t offset=0) const override |
|
|
static pcpp::MacAddress | StpMulticastDstMAC |
| STP protocol uses "01:80:C2:00:00:00" multicast address as destination MAC.
|
|
static pcpp::MacAddress | StpUplinkFastMulticastDstMAC |
| STP Uplink Fast protocol uses "01:00:0C:CD:CD:CD" as destination MAC.
|
|
template<typename T , typename... Args> |
Layer * | constructNextLayer (uint8_t *data, size_t dataLen, Packet *packet, Args &&... extraArgs) |
|
template<typename T , typename TFallback , typename... Args> |
Layer * | tryConstructNextLayerWithFallback (uint8_t *data, size_t dataLen, Packet *packet, Args &&... extraArgs) |
|
template<typename T > |
static bool | canReinterpretAs (const uint8_t *data, size_t dataLen) |
| Check if the data is large enough to reinterpret as a type. More...
|
|
Represents Multiple Spanning Tree Protocol (MSTP). It has limited capabilities (no crafting / limited editing) over MSTI configuration