diff options
| author | dump2file <[email protected]> | 2019-01-08 16:59:19 +0600 |
|---|---|---|
| committer | dump2file <[email protected]> | 2019-01-08 16:59:19 +0600 |
| commit | 9a84abed92611388da4769e474073bce2b9d8f84 (patch) | |
| tree | fdfebe67654181bbb7c19ed75ed7dbf0e1d7eca0 /src/ntc_ip_comm.h | |
| parent | b845ce79b89f9e6ed23176cf504d29c165dc9939 (diff) | |
在线代码同步
1、同步soq_type头文件
2、链接libcjson
3、同步dpkt_label
4、在user_region输出连接内部信息辅助排查问题
5、kafka输出增加debug级别的日志,mode为none时同样输出
Diffstat (limited to 'src/ntc_ip_comm.h')
| -rw-r--r-- | src/ntc_ip_comm.h | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/src/ntc_ip_comm.h b/src/ntc_ip_comm.h index 711b32f..fc49d06 100644 --- a/src/ntc_ip_comm.h +++ b/src/ntc_ip_comm.h @@ -8,7 +8,7 @@ extern "C" #endif #include "stream.h" -#include "soq/identify_v2.h" +//#include "soq/identify_v2.h" typedef struct ntc_ip_comm_global_item { @@ -74,7 +74,22 @@ extern "C" }dpkt_lable_t; */ -typedef stDntyProInfoV2 dpkt_lable_t; +typedef struct _dpkt_lable_t +{ + unsigned char trans_proto; + unsigned char v6; + unsigned short _pad0; + //uint16_t dpkt_app_ser_type; + // uint16_t dpkt_proto_ser_type; + unsigned int dpkt_proto_type; + unsigned int dpkt_app_type; + unsigned int dpkt_op_type; + unsigned int dpkt_browser_type; + unsigned int dpkt_web_type; + unsigned int dpkt_behavior_type; +}dpkt_lable_t; + +//typedef stDntyProInfoV2 dpkt_lable_t; typedef struct _comm_context_t { |
