git://git.onelab.eu
/
distributedratelimiting.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added a check to see if the sending rate is within 1% of the limit rather than
[distributedratelimiting.git]
/
drl
/
raterouter.h
diff --git
a/drl/raterouter.h
b/drl/raterouter.h
index
28c6c7f
..
e6de5e9
100644
(file)
--- a/
drl/raterouter.h
+++ b/
drl/raterouter.h
@@
-56,7
+56,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.