struct tapi_trex_report

Overview

TRex information from the stdout. More…

#include <tapi_trex.h>

struct tapi_trex_report {
    // fields

    double avg_tx;
    double avg_rx;
    double avg_cps;
    uint64_t tx_pkts;
    uint64_t rx_pkts;
    double m_traff_dur_cl;
    double m_traff_dur_srv;
    uint64_t tcps_sndbyte_cl;
    uint64_t tcps_sndbyte_srv;
    uint64_t tcps_rcvbyte_cl;
    uint64_t tcps_rcvbyte_srv;
    uint64_t total_tx_bytes;
    uint64_t total_rx_bytes;
    tapi_trex_per_port_stat per_port_stat;
};

Detailed Documentation

TRex information from the stdout.

Fields

double avg_tx

Average Tx per second, bps.

double avg_rx

Average Rx per second, bps.

double avg_cps

Average connections per second, cps.

uint64_t tx_pkts

Total tx packets.

uint64_t rx_pkts

Total rx packets.

double m_traff_dur_cl

Diration of client traffic, sec.

double m_traff_dur_srv

Diration of server traffic, sec.

uint64_t tcps_sndbyte_cl

Data bytes sent by client.

uint64_t tcps_sndbyte_srv

Data bytes sent by server.

uint64_t tcps_rcvbyte_cl

Data bytes received by client.

uint64_t tcps_rcvbyte_srv

Data bytes received by server.

uint64_t total_tx_bytes

Total bytes sent.

uint64_t total_rx_bytes

Total bytes received.

tapi_trex_per_port_stat per_port_stat

Per port statistics.