summaryrefslogtreecommitdiff
path: root/trafgen
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2017-02-07 10:15:57 +0200
committerTobias Klauser <tklauser@distanz.ch>2017-02-09 10:48:56 +0100
commit82a3c204c6f11224b3f4da9246e96bed0c9bb8b8 (patch)
tree1ff925ecd468821bfd832167c63f2c5f5d422232 /trafgen
parent71c9b1f9539f3f918269da47233dba9c07d8ec39 (diff)
trafgen: Allow send packets from pcap file
Add ability to send packets from pcap file if it has ".pcap" extension via "-i,--in" option. By default packet sending is delayed considering original packets timestamps if no rate or delay is specified via -b/-t options. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'trafgen')
-rw-r--r--trafgen/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/trafgen/Makefile b/trafgen/Makefile
index 876ed93..a7c0ddd 100644
--- a/trafgen/Makefile
+++ b/trafgen/Makefile
@@ -21,6 +21,10 @@ trafgen-objs = xmalloc.o \
timer.o \
sysctl.o \
cpp.o \
+ pcap_sg.o \
+ pcap_rw.o \
+ pcap_mm.o \
+ iosched.o \
trafgen_proto.o \
trafgen_l2.o \
trafgen_l3.o \