X-Git-Url: http://git.onelab.eu/?p=distributedratelimiting.git;a=blobdiff_plain;f=drl%2Fraterouter.h;h=37f0141f385d920c337315a0fddabef956d367f3;hp=2594f12c7763f151580cf598b82f5fad2d9ea728;hb=17fba5cc2628df108d09ab4abbbd4b4a7437e7eb;hpb=d12ab8f1cd4ff135d692f7841360af70f0beb57b 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;