Go to the documentation of this file.
35 #include "stp_config.h"
61 #ifndef GPL_LICENSE_TERMS_ACCEPTED
62 #error Before compiling CycloneSTP Open, you must accept the terms of the GPL license
66 #define CYCLONE_STP_VERSION_STRING "2.2.4"
68 #define CYCLONE_STP_MAJOR_VERSION 2
70 #define CYCLONE_STP_MINOR_VERSION 2
72 #define CYCLONE_STP_REV_NUMBER 4
80 #define STP_PROTOCOL_ID 0
83 #define STP_LLC_DSAP 0x42
84 #define STP_LLC_SSAP 0x42
85 #define STP_LLC_CTRL 0x03
88 #define STP_MIN_BPDU_SIZE 4
133 #if defined(__CWCC__) || defined(_WIN32)
134 #pragma pack(push, 1)
142 typedef __start_packed
struct
150 #if defined(__CWCC__) || defined(_WIN32)
@ STP_PORT_STATE_LEARNING
@ STP_PORT_STATE_DISABLED
@ STP_PORT_STATE_FORWARDING
@ STP_PROTOCOL_VERSION
STP version.
__start_packed struct @0 StpBridgeId
Bridge identifier.
@ STP_PORT_ROLE_ALTERNATE
__start_packed struct @0 MacAddr
MAC address.
StpPortRole
Port role values.
@ STP_PORT_STATE_LISTENING
__start_packed struct _Ipv4Header __end_packed
@ STP_PORT_ROLE_DESIGNATED
@ MSTP_PROTOCOL_VERSION
MSTP version.
StpProtocolVersion
Protocol versions.
@ STP_PORT_STATE_BLOCKING
@ RSTP_PROTOCOL_VERSION
RSTP version.