struct tapi_netperf_opt
Overview
Command line options. More…
#include <tapi_netperf.h> struct tapi_netperf_opt { // fields tapi_netperf_test_name test_name; const struct sockaddr* dst_host; const struct sockaddr* src_host; int port; sa_family_t ipversion; uint32_t duration; tapi_netperf_test_opt test_opt; };
Detailed Documentation
Command line options.
Fields
tapi_netperf_test_name test_name
Name of the test
const struct sockaddr* dst_host
Netserver host
const struct sockaddr* src_host
Netperf host May be NULL
(netperf source address will be not set)
int port
Port to connect. May be -1
(default port 12865 will be set). Host-Endian byteorder.
sa_family_t ipversion
IPv4 or IPv6
uint32_t duration
duration in seconds of the test
tapi_netperf_test_opt test_opt
Test specific command line options