![]() |
Flowgrind
Advanced TCP traffic generator
|
Settings that describe a flow between from a endpoint's perspective. More...
#include <common.h>
Data Structures | |
struct | extra_socket_options |
Data Fields | |
char | bind_address [1000] |
The interface address for the flow (used by daemon). More... | |
int | byte_counting |
Enumerate bytes in payload instead of sending zeros (option -E). More... | |
char | cc_alg [TCP_CA_NAME_MAX] |
Set congestion control algorithm ALG on test socket (option -O). More... | |
int | cork |
Sets SO_DEBUG on test socket (option -O). More... | |
double | delay [2] |
Delay of flow in seconds (option -Y). More... | |
int | dscp |
DSCP value for TOS byte (option -D). More... | |
double | duration [2] |
Duration of flow in seconds (option -T). More... | |
int | elcn |
Set TCP_ELCN (20) on test socket (option -O). More... | |
struct flow_settings::extra_socket_options | extra_socket_options [MAX_EXTRA_SOCKET_OPTIONS] |
int | flow_control |
Stop flow if it is experiencing local congestion (option -C). More... | |
int | flow_id |
Flow ID maintained by controller. More... | |
struct trafgen_options | interpacket_gap_trafgen_options |
Stochastic traffic generation settings for the interpacket gap. More... | |
int | ipmtudiscover |
Set IP_MTU_DISCOVER on test socket (option -O). More... | |
int | lcd |
Set TCP_LCD (21) on test socket (option -O). More... | |
int | maximum_block_size |
Application buffer size in bytes (option -U). More... | |
int | mtcp |
Set TCP_MTCP (15) on test socket (option -O). More... | |
int | nonagle |
Disable nagle algorithm on test socket (option -O). More... | |
int | num_extra_socket_options |
int | pushy |
Do not iterate through select() to continue sending in case block size did not suffice to fill sending queue (pushy) (option -P). More... | |
unsigned | random_seed |
Random seed to use (default: read /dev/urandom) (option -J). More... | |
double | reporting_interval |
Interval to report flow on screen (option -i). More... | |
struct trafgen_options | request_trafgen_options |
Stochastic traffic generation settings for the request size. More... | |
int | requested_read_buffer_size |
Request receiver buffer, advertised window in bytes (option -W). More... | |
int | requested_send_buffer_size |
Request sender buffer in bytes (option -B). More... | |
struct trafgen_options | response_trafgen_options |
Stochastic traffic generation settings for the response size. More... | |
int | route_record |
Sets ROUTE_RECORD on test socket (option -O). More... | |
int | shutdown |
Shutdown socket after test flow (option -N). More... | |
int | so_debug |
Sets SO_DEBUG on test socket (option -O). More... | |
int | traffic_dump |
Dump traffic using libpcap (option -M). More... | |
int | write_rate |
The actual rate we should send. More... | |
const char * | write_rate_str |
Send at specified rate per second (option -R). More... | |
Settings that describe a flow between from a endpoint's perspective.
These options can be specified for each of the two endpoints.
char flow_settings::bind_address[1000] |
int flow_settings::byte_counting |
char flow_settings::cc_alg[TCP_CA_NAME_MAX] |
int flow_settings::cork |
double flow_settings::delay[2] |
int flow_settings::dscp |
double flow_settings::duration[2] |
int flow_settings::elcn |
struct flow_settings::extra_socket_options flow_settings::extra_socket_options[MAX_EXTRA_SOCKET_OPTIONS] |
int flow_settings::flow_control |
int flow_settings::flow_id |
struct trafgen_options flow_settings::interpacket_gap_trafgen_options |
int flow_settings::ipmtudiscover |
int flow_settings::lcd |
int flow_settings::maximum_block_size |
int flow_settings::mtcp |
int flow_settings::nonagle |
int flow_settings::pushy |
unsigned flow_settings::random_seed |
double flow_settings::reporting_interval |
struct trafgen_options flow_settings::request_trafgen_options |
int flow_settings::requested_read_buffer_size |
int flow_settings::requested_send_buffer_size |
struct trafgen_options flow_settings::response_trafgen_options |
int flow_settings::route_record |
int flow_settings::shutdown |
int flow_settings::so_debug |
int flow_settings::traffic_dump |
int flow_settings::write_rate |
const char* flow_settings::write_rate_str |