![]() |
Flowgrind
Advanced TCP traffic generator
|
Routines used by the Flowgrind Daemon for advanced traffic generation. More...
#include <stdio.h>#include <stdlib.h>#include <math.h>#include <float.h>#include <errno.h>#include <string.h>#include <sys/time.h>#include <sys/types.h>#include <unistd.h>#include <sys/stat.h>#include <fcntl.h>#include <syslog.h>#include "daemon.h"#include "debug.h"#include "fg_math.h"#include "trafgen.h"Go to the source code of this file.
Macros | |
| #define | MAX_RUNS_PER_DISTRIBUTION 10 |
Functions | |
| static double | calculate (struct flow *flow, enum distribution_t type, double param_one, double param_two) |
| double | next_interpacket_gap (struct flow *flow) |
| int | next_request_block_size (struct flow *flow) |
| int | next_response_block_size (struct flow *flow) |
Routines used by the Flowgrind Daemon for advanced traffic generation.
Definition in file trafgen.c.
|
inlinestatic |
| int next_request_block_size | ( | struct flow * | flow | ) |
Definition at line 107 of file trafgen.c.