适配tfe_stream_addr;为了编译通过,注释mirror_stream.cpp中的代码;

This commit is contained in:
zhengchao
2018-09-04 11:36:22 +08:00
parent 046569828c
commit 4d1e9034c9
7 changed files with 59 additions and 61 deletions

View File

@@ -41,7 +41,7 @@ Return:
0:succes
<0:error
***************************************************************************/
int mirror_stream_open(struct origin_stream_addr* addr,void** pme);
int mirror_stream_open(int thread_id, const struct tfe_stream_addr* addr,void** pme);
@@ -57,7 +57,7 @@ Return:
0:succes
<0:error
***************************************************************************/
int mirror_stream_write(enum tfe_conn_dir cur_dir,const unsigned char * data, size_t len, void** pme,int thread_seq);
int mirror_stream_write(int cur_dir,const unsigned char * data, size_t len, void** pme,int thread_id);

View File

@@ -76,7 +76,7 @@ struct deliver_comm_info
struct deliver_pkt_info
{
enum tfe_conn_dir dir;
int dir;
unsigned int seq; //host order
unsigned int ack; //host order
unsigned int len; //host order,tcp payload len
@@ -99,7 +99,7 @@ struct deliver_session_info
struct deliver_pme_info
{
unsigned char dst_macaddr[DELIVER_MACADDR_LEN];
struct origin_stream_addr addr_info;
struct tfe_stream_addr* addr_info;
struct deliver_pkt_info pkt_info;
struct deliver_session_info session_info;
};