struct tsa_config

Overview

Environment configuration for current working session with TSA More…

#include <tapi_tcp_states.h>

struct tsa_config {
    // fields

    rcf_rpc_server* pco_iut;
    rcf_rpc_server* pco_tst;
    rcf_rpc_server* pco_gw;
    const struct sockaddr* iut_addr;
    const struct sockaddr* tst_addr;
    const struct sockaddr* gw_iut_addr;
    const struct sockaddr* gw_tst_addr;
    const void* alien_link_addr;
    const void* iut_link_addr;
    const void* gw_tst_link_addr;
    const struct if_nameindex* iut_if;
    const struct if_nameindex* tst_if;
    const struct if_nameindex* gw_iut_if;
    const struct if_nameindex* gw_tst_if;
    uint32_t flags;
    bool gw_preconf;
};

Detailed Documentation

Environment configuration for current working session with TSA

Fields

rcf_rpc_server* pco_iut

< RPC servers RPC server on the IUT side

rcf_rpc_server* pco_tst

RPC server on the TST side

rcf_rpc_server* pco_gw

RPC server on a gateway Addresses

const struct sockaddr* iut_addr

Network address on the IUT side

const struct sockaddr* tst_addr

Network address on the TST side

const struct sockaddr* gw_iut_addr

Gateway IUT address

const struct sockaddr* gw_tst_addr

Gateway TST address

const void* alien_link_addr

Invalid ethernet address

const void* iut_link_addr

IUT ethernet address

const void* gw_tst_link_addr

Gateway tester interface ethernet address Interfaces

const struct if_nameindex* iut_if

Network interface on the IUT side

const struct if_nameindex* tst_if

Network interface on the TST side

const struct if_nameindex* gw_iut_if

Network interface on the gateway IUT side

const struct if_nameindex* gw_tst_if

Network interface on the gateway TST side Socket options

uint32_t flags

Flags described in tsa_flags enum

bool gw_preconf

If true, gateway is preconfigured, this library should not touch it.