diff options
| author | root <[email protected]> | 2023-12-21 02:40:50 +0000 |
|---|---|---|
| committer | root <[email protected]> | 2023-12-21 02:40:50 +0000 |
| commit | ff98a9063d2070b11e7c6f6cfbe1abeb59c4e6cd (patch) | |
| tree | d5f457308d28a5dba54aafd4229cb27439e6e582 /shaping/include | |
| parent | 4f76c20b6c303b1e3dd7a9514c94f2db554ad88c (diff) | |
performance optimize
Diffstat (limited to 'shaping/include')
| -rw-r--r-- | shaping/include/shaper.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shaping/include/shaper.h b/shaping/include/shaper.h index ea6e749..5bec4ca 100644 --- a/shaping/include/shaper.h +++ b/shaping/include/shaper.h @@ -143,13 +143,13 @@ struct metadata }; struct shaping_flow { - struct addr_tuple4 tuple4; char *src_ip_str; size_t src_ip_str_len; struct delay_queue packet_queue; + int rule_num; struct shaping_rule_info matched_rule_infos[SHAPING_RULE_NUM_MAX]; int priority; - int rule_num; + struct addr_tuple4 tuple4; int anchor;//rule_idx int ref_cnt; unsigned int queue_len; |
