d4383b32fc4192e98ce6d18f01dd2976e966b680
1 /* Modified by: xChaos, 20131029 */
17 unsigned long long direct
;
18 unsigned long long proxy
;
19 unsigned long long upload
;
20 unsigned long long traffic
;
21 unsigned long long credit
;
22 unsigned long long realquota
;
24 unsigned long pktsdown
;
25 struct Keyword
*keyword
;
45 float asymetry_ratio
; /* ratio for ADSL-like upload */
46 int asymetry_fixed
; /* fixed treshold for ADSL-like upload */
47 int data_limit
; /* hard shaping: apply magic_treshold if max*data_limit MB exceeded */
48 int data_prio
; /* soft shaping (qos): reduce HTB prio if max*data_prio MB exceeded */
49 long fixed_limit
; /* fixed data limit for setting lower HTB ceil */
50 long fixed_prio
; /* fixed data lmit for setting lower HTB prio */
51 int reserve_min
; /* bonus for nominal HTB rate bandwidth (in kbps) */
52 int reserve_max
; /* malus for nominal HTB ceil (in kbps) */
53 // int divide_max; /* relative malus: new_ceil=rate+(old_ceil-rate)/divide_max */
54 // int htb_ceil_bonus_divide; /* relative bonus: new_ceil=old_ceil+old_ceil/htb_ceil_bonus_divide */
55 int default_prio
; /* default HTB priority for this keyword */
56 int download_aggregation
; /* apply agregation with -s start_shaping switch */
57 int upload_aggregation
; /* apply agregation with -s start_shaping switch */
60 char *leaf_discipline
;
61 int allowed_avgmtu
; /* this is for calculating packet limits, 0 = no limit*/
72 void TheIP(char *ipaddr
, int is_network
);
73 /* function implemented in parsehosts.c */
This page took 0.551272 seconds and 3 git commands to generate.