From 17337a736ff0e7ebd7d5272eba7466a627795215 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Fri, 21 May 2021 11:14:48 +0200 Subject: passt: Introduce packet capture implementation With -DDEBUG, passt now saves guest-side traffic captures in pcap format at /tmp/passt_.pcap. The timestamp refers to time and date of start-up. Signed-off-by: Stefano Brivio --- pcap.h | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 pcap.h (limited to 'pcap.h') diff --git a/pcap.h b/pcap.h new file mode 100644 index 0000000..00bafee --- /dev/null +++ b/pcap.h @@ -0,0 +1,2 @@ +void pcap(char *pkt, size_t len); +void pcap_init(void); -- cgit v1.2.3