X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=ipstruct.h;h=542cb0aa7c7a16ecca6c841481d971565b7c5fe0;hb=bf59a20b46290db34e1761926a39ee68164d636b;hp=6f0e5694dc2aab8b15174b4c7ad8b59992964a45;hpb=64b2d1255780905c78973df33145c93ee5613c9c;p=svn%2FPrometheus-QoS%2F.git diff --git a/ipstruct.h b/ipstruct.h index 6f0e569..542cb0a 100644 --- a/ipstruct.h +++ b/ipstruct.h @@ -10,12 +10,15 @@ struct IP int max; int mark; int prio; + int aggregated; int fixedprio; int group; int lmsid; int pps_limit; unsigned long long direct; unsigned long long proxy; + unsigned long long traffic_down; + unsigned long long traffic_up; unsigned long long upload; unsigned long long traffic; unsigned long long credit; @@ -53,6 +56,8 @@ struct Keyword // int divide_max; /* relative malus: new_ceil=rate+(old_ceil-rate)/divide_max */ // int htb_ceil_bonus_divide; /* relative bonus: new_ceil=old_ceil+old_ceil/htb_ceil_bonus_divide */ int default_prio; /* default HTB priority for this keyword */ + int download_aggregation; /* apply agregation with -s start_shaping switch */ + int upload_aggregation; /* apply agregation with -s start_shaping switch */ char *html_color; int ip_count; char *leaf_discipline;