[PACKET_IO] finish pcap_file mode

This commit is contained in:
liuwentan
2022-08-05 11:03:11 +08:00
parent 2cccb3ec04
commit 9cf895fa07
19 changed files with 773 additions and 51 deletions

View File

@@ -1,9 +1,12 @@
#pragma once
#include <sys/queue.h>
#include "marsio.h"
struct packet {
/* queue id which the packet belongs to */
int qid;
void *raw_pkt;
uint32_t pkt_len;
struct packet *prev;
struct packet *next;
};