适配fieldstat3新接口(节约10%); 减少strlen的调用(节约2%); 优化栈变量的初始化(节约1%),累计节约13%CPU
This commit is contained in:
@@ -81,11 +81,19 @@ struct app_id_dict
|
||||
int continue_scanning;
|
||||
unsigned short tcp_timeout;
|
||||
unsigned short udp_timeout;
|
||||
unsigned short app_name_len;
|
||||
unsigned short parent_app_name_len;
|
||||
char risk_len;
|
||||
char category_len;
|
||||
char subcategory_len;
|
||||
char technology_len;
|
||||
char characteristics_len;
|
||||
char padding[3];
|
||||
int tcp_time_wait;
|
||||
int tcp_half_close;
|
||||
char *risk;
|
||||
char *app_name;
|
||||
char *parent_app_name;
|
||||
char *risk;
|
||||
char *category;
|
||||
char *subcategory;
|
||||
char *technology;
|
||||
|
||||
Reference in New Issue
Block a user