:orphan: .. index:: pair: struct; tsa_state .. _doxid-structtsa__state: struct tsa_state ================ .. toctree:: :hidden: Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block struct tsa_state { // fields :ref:`tsa_tst_type` :ref:`tst_type`; :ref:`rpc_tcp_state` :ref:`state_cur`; :ref:`tsa_state_sock` :ref:`sock`; :ref:`tsa_state_csap` :ref:`csap`; :ref:`tsa_handlers` :ref:`move_handlers`; int :ref:`iut_s`; int :ref:`iut_s_aux`; :ref:`rpc_tcp_state` :ref:`state_from`; :ref:`rpc_tcp_state` :ref:`state_to`; const char* :ref:`rem_path`; bool :ref:`timeout_used`; int :ref:`elapsed_time`; bool :ref:`iut_wait_connect`; bool :ref:`tst_wait_connect`; bool :ref:`close_listener`; bool :ref:`iut_alien_arp_added`; bool :ref:`tst_alien_arp_added`; }; .. _details-structtsa__state: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Fields ------ .. index:: pair: variable; tst_type .. _doxid-structtsa__state_1a7d782f6492fafe773af9befc29e5d8c6: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`tsa_tst_type` tst_type What should be used on the tester - socket or CSAP? .. index:: pair: variable; state_cur .. _doxid-structtsa__state_1ac03cf538395251a00cd59eb792c6928f: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`rpc_tcp_state` state_cur Current TCP state of IUT socket State variables specific to different working modes .. index:: pair: variable; sock .. _doxid-structtsa__state_1a2c728fbb259fb81f45ba484e7dbf35ab: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`tsa_state_sock` sock State variables for ``TSA_TST_SOCKET`` mode .. index:: pair: variable; csap .. _doxid-structtsa__state_1a7f9f471271f0dda980d872661c384a00: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`tsa_state_csap` csap State variables for ``TSA_TST_CSAP`` mode .. index:: pair: variable; move_handlers .. _doxid-structtsa__state_1a4e634de3e79af7a34cff0dc1f77e9faa: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`tsa_handlers` move_handlers Functions used to move between TCP states. .. index:: pair: variable; iut_s .. _doxid-structtsa__state_1a9fa94da01d9ef6abcb47538c64aa4b38: .. ref-code-block:: cpp :class: doxyrest-title-code-block int iut_s Socket on the IUT side .. index:: pair: variable; iut_s_aux .. _doxid-structtsa__state_1ac71120eb33135f029febdd7ee05e27dd: .. ref-code-block:: cpp :class: doxyrest-title-code-block int iut_s_aux Socket in listening state stored after accept on ``pco_iut`` Characterics of path in the space of TCP states .. index:: pair: variable; state_from .. _doxid-structtsa__state_1ad4a75bedb7d9478645fb04e33b66aad0: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`rpc_tcp_state` state_from TCP state before change .. index:: pair: variable; state_to .. _doxid-structtsa__state_1a6d87304d7d1d0f4df7015477113ede49: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`rpc_tcp_state` state_to TCP state after change .. index:: pair: variable; rem_path .. _doxid-structtsa__state_1a696db8cb27e3f7109a07f273444af603: .. ref-code-block:: cpp :class: doxyrest-title-code-block const char* rem_path Part of TCP state sequence remaining when error occurred .. index:: pair: variable; timeout_used .. _doxid-structtsa__state_1add03d55fa2b99d0196d8339ba9e63574: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool timeout_used ``true`` if the last TCP state change was achieved through timeout .. index:: pair: variable; elapsed_time .. _doxid-structtsa__state_1a3f86ad8dcab7dd0022afaa40ab3b1f89: .. ref-code-block:: cpp :class: doxyrest-title-code-block int elapsed_time Time waited for TCP state change lastly in milliseconds .. index:: pair: variable; iut_wait_connect .. _doxid-structtsa__state_1a50fb36180e978a533f6c92fde4dac098: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool iut_wait_connect Functions called with RCF_RPC_CALL ``true`` if **rpc_connect** with ``RCF_RPC_CALL`` was called on ``pco_iut`` .. index:: pair: variable; tst_wait_connect .. _doxid-structtsa__state_1ab5be58457b3c8d9fff62e926fe5c444a: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool tst_wait_connect ``true`` if **rpc_connect** with ``RCF_RPC_CALL`` was called on ``pco_tst`` .. index:: pair: variable; close_listener .. _doxid-structtsa__state_1a86c38c2b0676d9a12ba9b35255356819: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool close_listener Close listener socket just after accepting connection .. index:: pair: variable; iut_alien_arp_added .. _doxid-structtsa__state_1a61fd0d787faa09889f3b8ec21c8dea23: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool iut_alien_arp_added ``true`` if ARP for alien MAC was added to break connection from ``pco_tst`` to ``pco_iut`` .. index:: pair: variable; tst_alien_arp_added .. _doxid-structtsa__state_1ad1de6d1dd8b02b90bb37ebbf73523f39: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool tst_alien_arp_added ``true`` if ARP for alien MAC was added to break connection from ``pco_iut`` to ``pco_tst``