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.5.4" 
   68 #define CYCLONE_STP_MAJOR_VERSION 2 
   70 #define CYCLONE_STP_MINOR_VERSION 5 
   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(__CCRX__) 
  135 #elif defined(__CWCC__) || defined(_WIN32) 
  136    #pragma pack(push, 1) 
  152 #if defined(__CCRX__) 
  154 #elif defined(__CWCC__) || defined(_WIN32) 
  
@ STP_PORT_STATE_LEARNING
 
@ STP_PORT_STATE_DISABLED
 
@ STP_PORT_STATE_FORWARDING
 
@ STP_PROTOCOL_VERSION
STP version.
 
@ STP_PORT_ROLE_ALTERNATE
 
StpPortRole
Port role values.
 
@ STP_PORT_STATE_LISTENING
 
typedef __packed_struct
Bridge identifier.
 
@ STP_PORT_ROLE_DESIGNATED
 
@ MSTP_PROTOCOL_VERSION
MSTP version.
 
StpProtocolVersion
Protocol versions.
 
@ STP_PORT_STATE_BLOCKING
 
@ RSTP_PROTOCOL_VERSION
RSTP version.