![]() |
Flowgrind
Advanced TCP traffic generator
|
Data structures used by the Flowgrind daemon and controller. More...
#include "config.h"
#include <sys/time.h>
#include <time.h>
#include <stdint.h>
#include "gitversion.h"
Go to the source code of this file.
Data Structures | |
struct | block |
Flowgrind's data block layout. More... | |
struct | flow_settings::extra_socket_options |
struct | fg_tcp_info |
struct | flow_settings |
Settings that describe a flow between from a endpoint's perspective. More... | |
struct | report |
struct | trafgen_options |
Options for stochastic traffic generation. More... | |
Macros | |
#define | DEFAULT_LISTEN_PORT 5999 |
Daemon's default listen port. More... | |
#define | FLOWGRIND_API_VERSION 3 |
XML-RPC API version in integer representation. More... | |
#define | FLOWGRIND_AUTHORS |
Flowgrind's authors in a printable string. More... | |
#define | FLOWGRIND_COPYING |
Standard GPL3 no warranty message. More... | |
#define | FLOWGRIND_COPYRIGHT "Copyright (C) 2007 - 2021 Flowgrind authors." |
Flowgrind's copyright year. More... | |
#define | FLOWGRIND_VERSION GITVERSION |
Flowgrind version number. More... | |
#define | MAX_EXTRA_SOCKET_OPTION_VALUE_LENGTH 100 |
Ensures extra options are limited in length on both controller and deamon. More... | |
#define | MAX_EXTRA_SOCKET_OPTIONS 10 |
Max number of arbitrary extra socket options which may sent to the deamon. More... | |
#define | MAX_FLOWS_CONTROLLER 2048 |
Maximal number of parallel flows supported by one controller. More... | |
#define | MAX_FLOWS_DAEMON FD_SETSIZE >> 1 |
Maximal number of parallel flows supported by one daemon instance. More... | |
#define | MIN_BLOCK_SIZE (signed) sizeof (struct block) |
Minium block (message) size we can send. More... | |
#define | TCP_CA_NAME_MAX 16 |
Max size of the congestion control algorithm specifier string. More... | |
Enumerations | |
enum | distribution_t { CONSTANT = 0, NORMAL, WEIBULL, UNIFORM, EXPONENTIAL, PARETO, LOGNORMAL } |
Stochastic distributions for traffic generation. More... | |
enum | endpoint_t { SOURCE = 0, DESTINATION } |
Flow endpoint types. More... | |
enum | extra_socket_option_level { level_sol_socket, level_sol_tcp, level_ipproto_ip, level_ipproto_sctp, level_ipproto_tcp, level_ipproto_udp } |
enum | io_t { WRITE = 0, READ } |
I/O operation types. More... | |
enum | report_t { INTERVAL = 0, FINAL } |
Report types. More... | |
Data structures used by the Flowgrind daemon and controller.
Definition in file common.h.
#define DEFAULT_LISTEN_PORT 5999 |
#define FLOWGRIND_API_VERSION 3 |
#define FLOWGRIND_AUTHORS |
#define FLOWGRIND_COPYING |
#define FLOWGRIND_COPYRIGHT "Copyright (C) 2007 - 2021 Flowgrind authors." |
#define FLOWGRIND_VERSION GITVERSION |
#define MAX_EXTRA_SOCKET_OPTION_VALUE_LENGTH 100 |
#define MAX_EXTRA_SOCKET_OPTIONS 10 |
#define MAX_FLOWS_CONTROLLER 2048 |
#define MAX_FLOWS_DAEMON FD_SETSIZE >> 1 |
#define MIN_BLOCK_SIZE (signed) sizeof (struct block) |
#define TCP_CA_NAME_MAX 16 |
enum distribution_t |
enum endpoint_t |
enum io_t |