struct tapi_nptcp_opt

Overview

NPtcp tool specific command line options More…

#include <tapi_nptcp.h>

struct tapi_nptcp_opt {
    // fields

    unsigned int tcp_buffer_size;
    const char* host;
    bool invalidate_cache;
    unsigned int starting_msg_size;
    unsigned int nrepeats;
    const char* offsets;
    const char* output_filename;
    unsigned int perturbation_size;
    bool reset_sockets;
    bool streaming_mode;
    unsigned int upper_bound;
    bool bi_directional_mode;
};

Detailed Documentation

NPtcp tool specific command line options

Fields

unsigned int tcp_buffer_size

Send and receive TCP buffer size (in bytes)

const char* host

Receiver host to connect to

bool invalidate_cache

Invalidate cache

unsigned int starting_msg_size

Lower bound for the size of message to be tested (in bytes)

unsigned int nrepeats

The number of repeats for each test

const char* offsets

Transmit and receive buffer offsets from perfect page alignment. Use one integer to set both offsets to the value or two integeres separated by comma (e.g. “5,10”) to set transmit and receive buffer offsets correspondingly.

const char* output_filename

Output filename (default is np.out)

unsigned int perturbation_size

Perturbation size (in bytes)

bool reset_sockets

Reset the TCP sockets

bool streaming_mode

Set streaming mode

unsigned int upper_bound

Upper bound for the size of message to be tested (in bytes)

bool bi_directional_mode

Set bi-directional mode