diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2021-05-21 11:14:48 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2021-05-21 11:14:48 +0200 |
commit | 17337a736ff0e7ebd7d5272eba7466a627795215 (patch) | |
tree | c1ebb233dbec7a926315f354eb9f9feb709da07b /Makefile | |
parent | 59182924f01e4d2e8f6d8af27c355c191f332eba (diff) | |
download | passt-17337a736ff0e7ebd7d5272eba7466a627795215.tar passt-17337a736ff0e7ebd7d5272eba7466a627795215.tar.gz passt-17337a736ff0e7ebd7d5272eba7466a627795215.tar.bz2 passt-17337a736ff0e7ebd7d5272eba7466a627795215.tar.lz passt-17337a736ff0e7ebd7d5272eba7466a627795215.tar.xz passt-17337a736ff0e7ebd7d5272eba7466a627795215.tar.zst passt-17337a736ff0e7ebd7d5272eba7466a627795215.zip |
passt: Introduce packet capture implementation
With -DDEBUG, passt now saves guest-side traffic captures in
pcap format at /tmp/passt_<ISO8601 timestamp>.pcap. The timestamp
refers to time and date of start-up.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,8 +2,8 @@ CFLAGS += -Wall -Wextra -pedantic all: passt qrap -passt: passt.c passt.h arp.c arp.h dhcp.c dhcp.h dhcpv6.c dhcpv6.h ndp.c ndp.h siphash.c siphash.h tap.c tap.h icmp.c icmp.h tcp.c tcp.h udp.c udp.h util.c util.h - $(CC) $(CFLAGS) passt.c arp.c dhcp.c dhcpv6.c ndp.c siphash.c tap.c icmp.c tcp.c udp.c util.c -o passt +passt: passt.c passt.h arp.c arp.h dhcp.c dhcp.h dhcpv6.c dhcpv6.h pcap.c pcap.h ndp.c ndp.h siphash.c siphash.h tap.c tap.h icmp.c icmp.h tcp.c tcp.h udp.c udp.h util.c util.h + $(CC) $(CFLAGS) passt.c arp.c dhcp.c dhcpv6.c pcap.c ndp.c siphash.c tap.c icmp.c tcp.c udp.c util.c -o passt qrap: qrap.c passt.h $(CC) $(CFLAGS) -DARCH=\"$(shell uname -m)\" qrap.c -o qrap |