From 82a3c204c6f11224b3f4da9246e96bed0c9bb8b8 Mon Sep 17 00:00:00 2001 From: Vadim Kochan Date: Tue, 7 Feb 2017 10:15:57 +0200 Subject: 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 Signed-off-by: Tobias Klauser --- trafgen/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'trafgen') 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 \ -- cgit v1.2.3-54-g00ecf