Added a check to see if the sending rate is within 1% of the limit rather than
[distributedratelimiting.git] / drl / raterouter.h
index 28c6c7f..e6de5e9 100644 (file)
@@ -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.