Home
last modified time | relevance | path

Searched refs:STATE_MACH_T (Results 1 – 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/lib/librstp/common/
H A Dstatmch.h53 } STATE_MACH_T; typedef
57 STATE_MACH_T* abstr; \
70 STATE_MACH_T *
71 STP_state_mach_create (void (* concreteEnterState) (STATE_MACH_T*),
72 Bool (* concreteCheckCondition) (STATE_MACH_T*),
77 STP_state_mach_delete (STATE_MACH_T* this);
80 STP_check_condition (STATE_MACH_T* this);
83 STP_change_state (STATE_MACH_T* this);
86 STP_hop_2_state (STATE_MACH_T* this, unsigned int new_state);
H A Dstatmch.c33 STATE_MACH_T *
34 STP_state_mach_create (void (*concreteEnterState) (STATE_MACH_T*), in STP_state_mach_create() argument
35 Bool (*concreteCheckCondition) (STATE_MACH_T*), in STP_state_mach_create()
39 STATE_MACH_T *this; in STP_state_mach_create()
41 STP_MALLOC(this, STATE_MACH_T, "state machine"); in STP_state_mach_create()
59 STP_state_mach_delete (STATE_MACH_T *this) in STP_state_mach_delete()
66 STP_check_condition (STATE_MACH_T* this) in STP_check_condition()
79 STP_change_state (STATE_MACH_T* this) in STP_change_state()
94 STP_hop_2_state (STATE_MACH_T* this, unsigned int new_state) in STP_hop_2_state()
H A Dport.h60 STATE_MACH_T* info; /* 17.21 */
61 STATE_MACH_T* roletrns; /* 17.23 */
62 STATE_MACH_T* sttrans; /* 17.24 */
63 STATE_MACH_T* topoch; /* 17.25 */
64 STATE_MACH_T* migrate; /* 17.26 */
65 STATE_MACH_T* transmit; /* 17.26 */
66 STATE_MACH_T* p2p; /* 6.4.3, 6.5.1 */
67 STATE_MACH_T* edge; /* */
68 STATE_MACH_T* pcost; /* */
70 STATE_MACH_T* machines; /* list of machines */
H A Dsttrans.c41 disableLearning (STATE_MACH_T *this) in disableLearning()
49 enableLearning (STATE_MACH_T *this) in enableLearning()
57 disableForwarding (STATE_MACH_T *this) in disableForwarding()
65 enableForwarding (STATE_MACH_T *this) in enableForwarding()
74 STP_sttrans_enter_state (STATE_MACH_T *this) in STP_sttrans_enter_state()
112 STP_sttrans_check_conditions (STATE_MACH_T *this) in STP_sttrans_check_conditions()
H A Dpcost.c39 computeAutoPCost (STATE_MACH_T *this) in computeAutoPCost()
74 updPortPathCost (STATE_MACH_T *this) in updPortPathCost()
79 STP_pcost_enter_state (STATE_MACH_T *this) in STP_pcost_enter_state()
107 STP_pcost_check_conditions (STATE_MACH_T* this) in STP_pcost_check_conditions()
H A Dtopoch.c55 flush (STATE_MACH_T *this, char* reason) /* 17.19.9 */ in flush()
74 setTcPropBridge (STATE_MACH_T* this, char* reason) /* 17.19.14 */ in setTcPropBridge()
99 newTcWhile (STATE_MACH_T* this) /* 17.19.7 */ in newTcWhile()
110 STP_topoch_enter_state (STATE_MACH_T* this) in STP_topoch_enter_state()
182 STP_topoch_check_conditions (STATE_MACH_T* this) in STP_topoch_check_conditions()
H A Dedge.h30 STP_edge_enter_state (STATE_MACH_T* s);
33 STP_edge_check_conditions (STATE_MACH_T* s);
H A Dmigrate.h29 STP_migrate_enter_state (STATE_MACH_T* s);
32 STP_migrate_check_conditions (STATE_MACH_T* s);
H A Dpcost.h29 STP_pcost_enter_state (STATE_MACH_T* s);
32 STP_pcost_check_conditions (STATE_MACH_T* s);
H A Droletrns.h29 STP_roletrns_enter_state (STATE_MACH_T* s);
32 STP_roletrns_check_conditions (STATE_MACH_T* s);
H A Dsttrans.h29 STP_sttrans_enter_state (STATE_MACH_T* s);
32 STP_sttrans_check_conditions (STATE_MACH_T* s);
H A Dp2p.h29 STP_p2p_enter_state (STATE_MACH_T* s);
32 STP_p2p_check_conditions (STATE_MACH_T* s);
H A Dtopoch.h29 STP_topoch_enter_state (STATE_MACH_T* s);
32 STP_topoch_check_conditions (STATE_MACH_T* s);
H A Dtransmit.h29 STP_transmit_enter_state (STATE_MACH_T* s);
32 STP_transmit_check_conditions (STATE_MACH_T* s);
H A Drolesel.h29 STP_rolesel_enter_state (STATE_MACH_T* s);
32 STP_rolesel_check_conditions (STATE_MACH_T* s);
H A Dportinfo.h29 STP_info_enter_state (STATE_MACH_T* s);
32 STP_info_check_conditions (STATE_MACH_T* s);
H A Dstpm.c32 _stp_stpm_init_machine (STATE_MACH_T* this) in _stp_stpm_init_machine()
41 int (*iter_callb) (STATE_MACH_T*), in _stp_stpm_iterate_machines()
44 register STATE_MACH_T* stater; in _stp_stpm_iterate_machines()
180 register STATE_MACH_T* stater; in STP_stpm_delete()
189 this->machines = stater = (STATE_MACH_T*) pv; in STP_stpm_delete()
H A Dportinfo.c61 rcvBpdu (STATE_MACH_T* this) in rcvBpdu()
148 recordProposed (STATE_MACH_T* this, char* reason) in recordProposed()
161 setTcFlags (STATE_MACH_T* this) in setTcFlags()
197 updtBPDUVersion (STATE_MACH_T* this) in updtBPDUVersion()
217 updtRcvdInfoWhile (STATE_MACH_T* this) in updtRcvdInfoWhile()
337 void STP_info_enter_state (STATE_MACH_T* this) in STP_info_enter_state()
439 Bool STP_info_check_conditions (STATE_MACH_T* this) in STP_info_check_conditions()
H A Dtransmit.c118 txTcn (STATE_MACH_T* this) in txTcn()
172 txConfig (STATE_MACH_T* this) in txConfig()
210 txRstp (STATE_MACH_T* this) in txRstp()
291 STP_transmit_enter_state (STATE_MACH_T* this) in STP_transmit_enter_state()
331 STP_transmit_check_conditions (STATE_MACH_T* this) in STP_transmit_check_conditions()
H A Dp2p.c53 STP_p2p_enter_state (STATE_MACH_T* s) in STP_p2p_enter_state()
72 STP_p2p_check_conditions (STATE_MACH_T* s) in STP_p2p_check_conditions()
H A Dstpm.h57 STATE_MACH_T* rolesel; /* the Port Role Selection State machione: 17.22 */
58 STATE_MACH_T* machines;
H A Dedge.c43 STP_edge_enter_state (STATE_MACH_T *s) in STP_edge_enter_state()
72 STP_edge_check_conditions (STATE_MACH_T *s) in STP_edge_check_conditions()
H A Drolesel.c147 updtRootPrio (STATE_MACH_T* this) in updtRootPrio()
193 updtRolesBridge (STATE_MACH_T* this) in updtRolesBridge()
319 STP_rolesel_enter_state (STATE_MACH_T* this) in STP_rolesel_enter_state()
339 STP_rolesel_check_conditions (STATE_MACH_T* s) in STP_rolesel_check_conditions()
H A Dmigrate.c42 STP_migrate_enter_state (STATE_MACH_T* this) in STP_migrate_enter_state()
72 STP_migrate_check_conditions (STATE_MACH_T* this) in STP_migrate_check_conditions()
H A Dport.c169 register STATE_MACH_T* stater; in STP_port_delete()
178 stater = (STATE_MACH_T*) pv; in STP_port_delete()
207 STATE_MACH_T *stater; in STP_port_trace_state_machine()

12