X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=drl%2Fraterouter.h;h=789cd95f8d0fcb2b52d72fb1019c688bed8eb7ac;hb=da2e1847da1c3ece4b1a8685de49d972aed48178;hp=28c6c7f3938c89613de5be7b6b15290408059993;hpb=0be9704d6b24d09ebd55beedec52758cb88c570b;p=distributedratelimiting.git diff --git a/drl/raterouter.h b/drl/raterouter.h index 28c6c7f..789cd95 100644 --- a/drl/raterouter.h +++ b/drl/raterouter.h @@ -42,6 +42,7 @@ enum accountings { ACT_STANDARD = 1, ACT_SAMPLEHOLD = 2, ACT_SIMPLE = 3 }; /* global constants */ #define IDENT_CLEAN_INTERVAL 5 /* in seconds */ + #define LIMITER_LISTEN_PORT 9001 /** @@ -56,7 +57,9 @@ enum accountings { ACT_STANDARD = 1, ACT_SAMPLEHOLD = 2, ACT_SIMPLE = 3 }; * * This is used for FPS only. See estimate.c */ -#define FLOW_START_THRESHOLD (4096) +#define FLOW_START_THRESHOLD (6000) + +#define CLOSE_ENOUGH (0.99) /** * All fields come from the ip protocol header.