Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

wtp_init.h File Reference

#include "gwlib/gwlib.h"
#include "wap_addr.h"
#include "wap_events.h"
#include "timers.h"
#include "wtp_init_states.def"
#include "wtp_init_machine.def"

Include dependency graph for wtp_init.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Data Structures

struct  WTPInitMachine

Defines

#define INIT_STATE_NAME(state)   state,
#define ROW(state, event, condition, action, next_state)
#define INTEGER(name)   int name;
#define EVENT(name)   WAPEvent *name;
#define TIMER(name)   Timer *name;
#define ADDRTUPLE(name)   WAPAddrTuple *name;
#define ENUM(name)   init_states name;
#define MACHINE(field)   field

Typedefs

typedef WTPInitMachine WTPInitMachine

Enumerations

enum  init_states {
  state, event, condition, action,
  INITIATOR_NULL_STATE, TR_Invoke_Req, tcl = = 1, init_machine = tidnew 0 0 wtp_pack_invoke(init_machine, event) wap_event_duplicate(invoke) 1 0 0 event->u.TR_Invoke_Req.up_flag 0,
  INITIATOR_NULL_STATE, TR_Invoke_Req, tcl = = 1, invoke = wtp_pack_invoke(init_machine, event) wap_event_duplicate(invoke),
  INITIATOR_RESULT_WAIT, TR_Abort_Req, init_machine = tidnew 0 0 wtp_pack_invoke(init_machine, event) wap_event_duplicate(invoke) 1 0 0 event->u.TR_Invoke_Req.up_flag 0, USER,
  abort_reason, INITIATOR_RESULT_WAIT, RcvAck, tid_ok = = 0,
  wsp_event = create_tr_invoke_cnf(init_machine), INITIATOR_RESULT_WAIT, RcvAck, tid_ok = = 0,
  init_machine = tidnew 0 0 wtp_pack_invoke(init_machine, event) wap_event_duplicate(invoke) 1 0 0 event->u.TR_Invoke_Req.up_flag 0, TID_VERIFICATION, init_machine = tidnew 0 0 wtp_pack_invoke(init_machine, event) wap_event_duplicate(invoke) 1 0 0 event->u.TR_Invoke_Req.up_flag 0, INITIATOR_RESULT_WAIT,
  RcvAck, tid_ok = = 0, INITIATOR_RESULT_WAIT, RcvAbort,
  wsp_event = create_tr_invoke_cnf(init_machine), INITIATOR_RESULT_WAIT, RcvErrorPDU, init_machine = tidnew 0 0 wtp_pack_invoke(init_machine, event) wap_event_duplicate(invoke) 1 0 0 event->u.TR_Invoke_Req.up_flag 0,
  USER, wsp_event = create_tr_invoke_cnf(init_machine), INITIATOR_RESULT_WAIT, TimerTO_R,
  tidok_sent, resend = wap_event_duplicate(init_machine->invoke), resend = wap_event_duplicate(init_machine->invoke), INITIATOR_RESULT_WAIT,
  TimerTO_R, tidok_sent, init_machine = tidnew 0 0 wtp_pack_invoke(init_machine, event) wap_event_duplicate(invoke) 1 0 0 event->u.TR_Invoke_Req.up_flag 0, TID_VERIFICATION,
  tidok_sent, INITIATOR_RESULT_WAIT, TimerTO_R, rcr = = MAX_RCR,
  wsp_event = create_tr_invoke_cnf(init_machine), init_states_count
}


Define Documentation

#define ADDRTUPLE name   )     WAPAddrTuple *name;
 

Definition at line 94 of file wtp_init.h.

#define ENUM name   )     init_states name;
 

Definition at line 95 of file wtp_init.h.

#define EVENT name   )     WAPEvent *name;
 

Definition at line 92 of file wtp_init.h.

#define INIT_STATE_NAME state   )     state,
 

#define INTEGER name   )     int name;
 

Definition at line 91 of file wtp_init.h.

#define MACHINE field   )     field
 

Definition at line 96 of file wtp_init.h.

#define ROW state,
event,
condition,
action,
next_state   ) 
 

#define TIMER name   )     Timer *name;
 

Definition at line 93 of file wtp_init.h.


Typedef Documentation

typedef struct WTPInitMachine WTPInitMachine
 


Enumeration Type Documentation

enum init_states
 

Enumeration values:
state 
event 
condition 
action 
INITIATOR_NULL_STATE 
TR_Invoke_Req 
tcl 
init_machine 
INITIATOR_NULL_STATE 
TR_Invoke_Req 
tcl 
invoke 
INITIATOR_RESULT_WAIT 
TR_Abort_Req 
init_machine 
USER 
abort_reason 
INITIATOR_RESULT_WAIT 
RcvAck 
tid_ok 
wsp_event 
INITIATOR_RESULT_WAIT 
RcvAck 
tid_ok 
init_machine 
TID_VERIFICATION 
init_machine 
INITIATOR_RESULT_WAIT 
RcvAck 
tid_ok 
INITIATOR_RESULT_WAIT 
RcvAbort 
wsp_event 
INITIATOR_RESULT_WAIT 
RcvErrorPDU 
init_machine 
USER 
wsp_event 
INITIATOR_RESULT_WAIT 
TimerTO_R 
tidok_sent 
resend 
resend 
INITIATOR_RESULT_WAIT 
TimerTO_R 
tidok_sent 
init_machine 
TID_VERIFICATION 
tidok_sent 
INITIATOR_RESULT_WAIT 
TimerTO_R 
rcr 
wsp_event 
init_states_count 

Definition at line 76 of file wtp_init.h.

00076                  {
00077     #define INIT_STATE_NAME(state) state,
00078     #define ROW(state, event, condition, action, next_state)
00079     #include "wtp_init_states.def"
00080     init_states_count
00081 };

See file LICENSE for details about the license agreement for using, modifying, copying or deriving work from this software.