feature: packet I/O suppport dumpfile list mode
This commit is contained in:
@@ -6,6 +6,7 @@ extern "C"
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include "utils.h"
|
||||
|
||||
@@ -48,7 +49,8 @@ struct __attribute__((aligned(64))) packet_io_stat
|
||||
enum packet_io_mode
|
||||
{
|
||||
PACKET_IO_DUMPFILE = 0,
|
||||
PACKET_IO_MARSIO = 1,
|
||||
PACKET_IO_DUMPFILELIST = 1,
|
||||
PACKET_IO_MARSIO = 2,
|
||||
};
|
||||
|
||||
struct packet_io_options
|
||||
@@ -56,7 +58,7 @@ struct packet_io_options
|
||||
enum packet_io_mode mode;
|
||||
|
||||
// for dumpfile
|
||||
char dumpfile_dir[256];
|
||||
char dumpfile_path[PATH_MAX];
|
||||
|
||||
// for marsio
|
||||
char app_symbol[64];
|
||||
|
||||
Reference in New Issue
Block a user