struct tsa_state
Overview
struct tsa_state { // fields tsa_tst_type tst_type; rpc_tcp_state state_cur; tsa_state_sock sock; tsa_state_csap csap; tsa_handlers move_handlers; int iut_s; int iut_s_aux; rpc_tcp_state state_from; rpc_tcp_state state_to; const char* rem_path; bool timeout_used; int elapsed_time; bool iut_wait_connect; bool tst_wait_connect; bool close_listener; bool iut_alien_arp_added; bool tst_alien_arp_added; };
Detailed Documentation
Fields
tsa_tst_type tst_type
What should be used on the tester - socket or CSAP?
rpc_tcp_state state_cur
Current TCP state of IUT socket State variables specific to different working modes
tsa_state_sock sock
State variables for TSA_TST_SOCKET
mode
tsa_state_csap csap
State variables for TSA_TST_CSAP
mode
tsa_handlers move_handlers
Functions used to move between TCP states.
int iut_s
Socket on the IUT side
int iut_s_aux
Socket in listening state stored after accept on pco_iut
Characterics of path in the space of TCP states
rpc_tcp_state state_from
TCP state before change
rpc_tcp_state state_to
TCP state after change
const char* rem_path
Part of TCP state sequence remaining when error occurred
bool timeout_used
true
if the last TCP state change was achieved through timeout
int elapsed_time
Time waited for TCP state change lastly in milliseconds
bool iut_wait_connect
Functions called with RCF_RPC_CALL true
if rpc_connect with RCF_RPC_CALL
was called on pco_iut
bool tst_wait_connect
true
if rpc_connect with RCF_RPC_CALL
was called on pco_tst
bool close_listener
Close listener socket just after accepting connection
bool iut_alien_arp_added
true
if ARP for alien MAC was added to break connection from pco_tst
to pco_iut
bool tst_alien_arp_added
true
if ARP for alien MAC was added to break connection from pco_iut
to pco_tst