struct tapi_netperf_test_opt

Overview

Test specific command line options. More…

#include <tapi_netperf.h>

struct tapi_netperf_test_opt {
    // fields

    tapi_netperf_test_type type;
    int32_t request_size;
    int32_t response_size;
    struct tapi_netperf_test_opt::@86::@88 rr;
    int32_t buffer_send;
    int32_t buffer_recv;
    int32_t local_sock_buf;
    int32_t remote_sock_buf;
    struct tapi_netperf_test_opt::@86::@89 stream;
};

Detailed Documentation

Test specific command line options.

Fields

tapi_netperf_test_type type

Type of test

int32_t request_size

Request size. May be -1 (Default request size = 1 will be set)

int32_t response_size

Response size. May be -1 (Respone size will be the same as request_size)

int32_t buffer_send

Size of the buffer passed-in to the “send” calls. May be -1 (use the system’s default socket buffer sizes).

int32_t buffer_recv

Size of the buffer passed-in to the “receive” calls. May be -1 (use the system’s default socket buffer sizes).

int32_t local_sock_buf

This option sets the local (netperf) send and receive socket buffer size for the data connection to the value(s) specified. May be -1 (use the system’s default socket buffer sizes)

int32_t remote_sock_buf

This option sets the remote (netserver) send and receive socket buffer size for the data connection to the value(s) specified. May be -1 (use the system’s default socket buffer sizes)