diff options
Diffstat (limited to 'shaping/include')
| -rw-r--r-- | shaping/include/shaper.h | 2 | ||||
| -rw-r--r-- | shaping/include/shaper_maat.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/shaping/include/shaper.h b/shaping/include/shaper.h index 215f6c4..9276c98 100644 --- a/shaping/include/shaper.h +++ b/shaping/include/shaper.h @@ -188,6 +188,8 @@ struct shaping_flow { int rule_num; struct shaping_rule_info matched_rule_infos[SHAPING_RULE_NUM_MAX]; int priority; + unsigned char dscp_enable; + unsigned char dscp_value; struct addr_tuple4 tuple4; int anchor;//rule_idx int ref_cnt; diff --git a/shaping/include/shaper_maat.h b/shaping/include/shaper_maat.h index 1c8cb62..dc170e5 100644 --- a/shaping/include/shaper_maat.h +++ b/shaping/include/shaper_maat.h @@ -13,6 +13,8 @@ struct shaping_rule { int borrow_pf_id_array[SHAPING_REF_PROFILE_NUM_MAX]; int borrow_pf_num; int fair_factor; + unsigned char dscp_enable; + unsigned char dscp_value; }; struct shaping_profile { |
