[PACKET_IO] add pio_packet structure for pcap_live/pcap_file mode

This commit is contained in:
liuwentan
2022-08-09 15:58:46 +08:00
parent 7442cb09d5
commit c2d5b9cdb7
17 changed files with 157 additions and 360 deletions

View File

@@ -1,12 +1,5 @@
#pragma once
#include <sys/queue.h>
#include "marsio.h"
struct packet {
void *raw_pkt;
uint32_t pkt_len;
struct packet *prev;
struct packet *next;
};
#include <stdint.h>
struct packet;