diff options
Diffstat (limited to 'trafgen.c')
-rw-r--r-- | trafgen.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -54,6 +54,7 @@ #include "timer.h" #include "ring_tx.h" #include "csum.h" +#include "trafgen_proto.h" #ifndef timeval_to_timespec #define timeval_to_timespec(tv, ts) { \ @@ -1215,6 +1216,8 @@ int main(int argc, char **argv) register_signal(SIGTERM, signal_handler); register_signal(SIGHUP, signal_handler); + protos_init(ctx.device); + if (prio_high) { set_proc_prio(-20); set_sched_status(SCHED_FIFO, sched_get_priority_max(SCHED_FIFO)); |