1
0
mirror of https://passt.top/passt synced 2024-07-01 23:42:41 +00:00
passt/pcap.h
Stefano Brivio 17337a736f 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>
2021-05-21 11:14:48 +02:00

3 lines
56 B
C

void pcap(char *pkt, size_t len);
void pcap_init(void);