stp_bpdu.h
STP (Spanning Tree Protocol)
error_t stpDumpBpdu(const StpBpdu *bpdu, size_t length)
Dump BPDU for debugging purpose.
Definition: stp_bpdu.c:267
error_t stpSendBpdu(StpBridgePort *port, const StpBpdu *bpdu, size_t length)
Send bridge protocol data unit.
Definition: stp_bpdu.c:186
error_t stpProcessBpdu(StpBridgePort *port, const StpBpdu *bpdu, size_t length)
Process incoming bridge protocol data unit.
Definition: stp_bpdu.c:130
void stpProcessLlcFrame(NetInterface *interface, EthHeader *ethHeader, const uint8_t *data, size_t length, NetRxAncillary *ancillary, void *param)
Process incoming LLC frame.
Definition: stp_bpdu.c:72