TSG-18200 Packet IO不再通过dir方向判断c2s/s2c
This commit is contained in:
@@ -44,13 +44,14 @@ struct packet_io_thread_ctx
|
||||
|
||||
struct packet_info
|
||||
{
|
||||
int is_e2i_dir;
|
||||
struct tuple4 tuple4;
|
||||
|
||||
char *header_data;
|
||||
int header_len;
|
||||
int is_ipv4;
|
||||
int is_e2i_dir;
|
||||
int header_len;
|
||||
char *header_data;
|
||||
|
||||
struct tuple4 tuple4;
|
||||
struct sids sids;
|
||||
struct route_ctx route_ctx;
|
||||
struct throughput_metrics rx;
|
||||
};
|
||||
|
||||
@@ -62,14 +63,9 @@ struct session_ctx
|
||||
uint8_t protocol;
|
||||
char session_addr[128];
|
||||
|
||||
char client_mac[6];
|
||||
char server_mac[6];
|
||||
|
||||
struct packet_info c2s_info;
|
||||
struct packet_info s2c_info;
|
||||
|
||||
struct metadata *raw_meta_i2e;
|
||||
struct metadata *raw_meta_e2i;
|
||||
struct metadata *ctrl_meta;
|
||||
|
||||
struct tfe_cmsg *cmsg;
|
||||
|
||||
Reference in New Issue
Block a user