struct tapi_trex_app

Overview

TRex tool information. More…

#include <tapi_trex.h>

struct tapi_trex_app {
    // fields

    tapi_job_t* job;
    tapi_job_channel_t* out_chs[2];
    te_vec cmd;
    tapi_job_channel_t* std_out;
    tapi_job_channel_t* std_err;
    tapi_job_channel_t* total_tx_filter;
    tapi_job_channel_t* total_rx_filter;
    tapi_job_channel_t* total_cps_filter;
    tapi_job_channel_t* total_tx_pkt_filter;
    tapi_job_channel_t* total_rx_pkt_filter;
    tapi_job_channel_t* m_traff_dur_cl_flt;
    tapi_job_channel_t* m_traff_dur_srv_flt;
    tapi_job_channel_t* tcps_sndbyte_cl_flt;
    tapi_job_channel_t* tcps_sndbyte_srv_flt;
    tapi_job_channel_t* tcps_rcvbyte_cl_flt;
    tapi_job_channel_t* tcps_rcvbyte_srv_flt;
    tapi_job_channel_t* total_tx_bytes_flt;
    tapi_job_channel_t* total_rx_bytes_flt;
    tapi_trex_per_port_stat_flts per_port_stat_flts;
};

Detailed Documentation

TRex tool information.

Fields

tapi_job_t* job

TAPI job handle.

tapi_job_channel_t* out_chs[2]

Output channel handles.

te_vec cmd

Command line used to start the TRex job.

tapi_job_channel_t* std_out

Filters list: TRex stdout content.

tapi_job_channel_t* std_err

TRex stderr content.

tapi_job_channel_t* total_tx_filter

Total-Tx filter.

tapi_job_channel_t* total_rx_filter

Total-Rx filter.

tapi_job_channel_t* total_cps_filter

Total-CPS filter.

tapi_job_channel_t* total_tx_pkt_filter

Total-tx-pkt filter.

tapi_job_channel_t* total_rx_pkt_filter

Total-rx-pkt filter.

tapi_job_channel_t* m_traff_dur_cl_flt

m_traffic_duration client filter.

tapi_job_channel_t* m_traff_dur_srv_flt

m_traffic_duration server filter.

tapi_job_channel_t* tcps_sndbyte_cl_flt

tcps_sndbyte client filter.

tapi_job_channel_t* tcps_sndbyte_srv_flt

tcps_sndbyte server filter.

tapi_job_channel_t* tcps_rcvbyte_cl_flt

tcps_rcvbyte client filter.

tapi_job_channel_t* tcps_rcvbyte_srv_flt

tcps_rcvbyte server filter.

tapi_job_channel_t* total_tx_bytes_flt

total-tx-bytes filter.

tapi_job_channel_t* total_rx_bytes_flt

total-rx-bytes filter.

tapi_trex_per_port_stat_flts per_port_stat_flts

Per port stat filters