X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drl%2Fraterouter.h;h=37f0141f385d920c337315a0fddabef956d367f3;hb=9f79e9f0c22d7d87c4369ca6441571d9c155bf95;hp=2594f12c7763f151580cf598b82f5fad2d9ea728;hpb=f83340496f632165030cc92cd98408a87082f6b1;p=distributedratelimiting.git diff --git a/drl/raterouter.h b/drl/raterouter.h index 2594f12..37f0141 100644 --- a/drl/raterouter.h +++ b/drl/raterouter.h @@ -60,7 +60,9 @@ enum dampenings { DAMPEN_NONE = 0, DAMPEN_TEST = 1, DAMPEN_FAILED = 2, DAMPEN_PA */ #define FLOW_START_THRESHOLD (6000) -#define CLOSE_ENOUGH (0.99) +#define CLOSE_ENOUGH (0.90) + +#define GRD_BIG_DROP (0.90) /** * All fields come from the ip protocol header. @@ -79,7 +81,7 @@ enum dampenings { DAMPEN_NONE = 0, DAMPEN_TEST = 1, DAMPEN_FAILED = 2, DAMPEN_PA * specified in the config file. The second is a standard table with * "perfect" accounting so that we can compare the two. Turn this off for * any type of production setting. */ -#define SHADOW_ACCTING +//#define SHADOW_ACCTING /* forward declare some structs */ struct limiter;