diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-06-04 10:11:55 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-06-04 10:11:55 +0200 |
commit | 78a23a4d5ab27c8af26c0e232c099a0c16907649 (patch) | |
tree | 7abfec64bdb1c639faca541512e95b6f3bfa9aad /trafgen.c | |
parent | 22e4551cb007312ef808669aa70cad10a7657136 (diff) |
xio: add ioexact operations
Break this out so that we only need to have sigint non-static where
it is really needed.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'trafgen.c')
-rw-r--r-- | trafgen.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -62,7 +62,7 @@ struct cpu_stats { sig_atomic_t state; }; -sig_atomic_t sigint = 0; +static sig_atomic_t sigint = 0; struct packet *packets = NULL; size_t plen = 0; @@ -97,13 +97,9 @@ static const struct option long_options[] = { }; static int sock; - static struct itimerval itimer; - static unsigned long interval = TX_KERNEL_PULL_INT; - static struct cpu_stats *stats; - unsigned int seed; #define CPU_STATS_STATE_CFG 1 |