Flowgrind
Advanced TCP traffic generator
cflow Struct Reference

Infos about the flow including flow options. More...

#include <flowgrind.h>

Data Fields

char byte_counting
 Enumerate bytes in payload instead of sending zeros (option -E). More...
 
struct flow_endpoint endpoint [2]
 Infos about flow endpoint. More...
 
int endpoint_id [2]
 ID used internally by the deamon to distinguish its flows. More...
 
struct reportfinal_report [2]
 Final report from the daemon. More...
 
char finished [2]
 Flag if final report for the flow is received. More...
 
char late_connect
 Call connect() immediately before sending data (option -L). More...
 
enum protocol_t proto
 Used transport protocol. More...
 
unsigned random_seed
 Random seed for stochastic traffic generation (option -J). More...
 
struct flow_settings settings [2]
 Flow specific options. More...
 
char shutdown
 shutdown() each socket direction after test flow (option (-N). More...
 
struct timespec start_timestamp [2]
 Timestamp set just before starting flow. More...
 
char summarize_only
 Summarize only, no intermediated interval reports (option -Q). More...
 

Detailed Description

Infos about the flow including flow options.

Definition at line 239 of file flowgrind.h.

Field Documentation

◆ byte_counting

char cflow::byte_counting

Enumerate bytes in payload instead of sending zeros (option -E).

Definition at line 254 of file flowgrind.h.

◆ endpoint

struct flow_endpoint cflow::endpoint[2]

Infos about flow endpoint.

Definition at line 265 of file flowgrind.h.

◆ endpoint_id

int cflow::endpoint_id[2]

ID used internally by the deamon to distinguish its flows.

Definition at line 261 of file flowgrind.h.

◆ final_report

struct report* cflow::final_report[2]

Final report from the daemon.

Definition at line 271 of file flowgrind.h.

◆ finished

char cflow::finished[2]

Flag if final report for the flow is received.

Definition at line 269 of file flowgrind.h.

◆ late_connect

char cflow::late_connect

Call connect() immediately before sending data (option -L).

Todo:
Some of this flow option members are duplicates from the _flow_settings struct (see common.h).

Flowgrind contoller should use this one

Definition at line 248 of file flowgrind.h.

◆ proto

enum protocol_t cflow::proto

Used transport protocol.

Definition at line 241 of file flowgrind.h.

◆ random_seed

unsigned cflow::random_seed

Random seed for stochastic traffic generation (option -J).

Definition at line 256 of file flowgrind.h.

◆ settings

struct flow_settings cflow::settings[2]

Flow specific options.

Definition at line 267 of file flowgrind.h.

◆ shutdown

char cflow::shutdown

shutdown() each socket direction after test flow (option (-N).

Definition at line 250 of file flowgrind.h.

◆ start_timestamp

struct timespec cflow::start_timestamp[2]

Timestamp set just before starting flow.

Definition at line 263 of file flowgrind.h.

◆ summarize_only

char cflow::summarize_only

Summarize only, no intermediated interval reports (option -Q).

Definition at line 252 of file flowgrind.h.


The documentation for this struct was generated from the following file: