TFE Packet IO支持带封装报文格式
This commit is contained in:
@@ -7,6 +7,7 @@ extern "C"
|
||||
#endif
|
||||
|
||||
#include "tfe_addr_tuple4.h"
|
||||
#include "tfe_packet_io_fs.h"
|
||||
|
||||
struct tap_ctx
|
||||
{
|
||||
@@ -50,12 +51,16 @@ struct packet_info
|
||||
|
||||
char *header_data;
|
||||
int header_len;
|
||||
int is_ipv4;
|
||||
|
||||
struct throughput_metrics rx;
|
||||
};
|
||||
|
||||
struct session_ctx
|
||||
{
|
||||
int policy_ids;
|
||||
uint64_t session_id;
|
||||
uint8_t is_passthrough;
|
||||
char *session_addr;
|
||||
|
||||
char client_mac[6];
|
||||
|
||||
Reference in New Issue
Block a user