enum tsa_flags

Overview

Flags used by various functions in library More…

#include <tapi_tcp_states.h>

enum tsa_flags {
    TSA_TST_USE_REUSEADDR      = 0x1,
    TSA_NO_CONNECTIVITY_CHANGE = 0x2,
    TSA_ACT_TIMEOUT            = 0x4,
    TSA_ACT_RST                = 0x8,
    TSA_MOVE_IGNORE_ERR        = 0x10,
    TSA_MOVE_IGNORE_START_ERR  = 0x20,
    TSA_ESTABLISH_PASSIVE      = 0x40,
    TSA_NO_CFG_WAIT_CHANGES    = 0x80,
};

Detailed Documentation

Flags used by various functions in library

Enum Values

TSA_TST_USE_REUSEADDR

Set SO_REUSEADDR option on TESTER socket

TSA_NO_CONNECTIVITY_CHANGE

Do not use breaking/repairing connection to control transmission of TCP packets

TSA_ACT_TIMEOUT

Use time waiting to move from one TCP state to another if possible

TSA_ACT_RST

Use sending RST to move from one TCP state to another if possible

TSA_MOVE_IGNORE_ERR

Ignore errors of achieving not expected TCP state when performing TCP states transition (it is useful when we don’t use beaking/repairing connection in TSA_TST_SOCKET mode and do not see states like TCP_LAST_ACK)

TSA_MOVE_IGNORE_START_ERR

It has the same effect as TSA_MOVE_IGNORE_ERR but only in tsa_do_moves_str() when it’s required to move to some starting state before performing transition specified.

TSA_ESTABLISH_PASSIVE

Use passive opening of TCP connection to obtain TCP_ESTABLISHED state

TSA_NO_CFG_WAIT_CHANGES

Do not Wait for changes in connectivity