Updates to autotools for library detection
[distributedratelimiting.git] / drl / ratetypes.h
index dc7f6c9..5430c2d 100644 (file)
@@ -36,6 +36,10 @@ typedef struct identity {
     /** The global rate limit. */
     uint32_t limit;
 
+    /** The effective global rate limit.  Can be lower than the nominal global
+     * rate limit due to the failure of one or more peers. */
+    uint32_t effective_limit;
+
     /** The local rate limit. */
     uint32_t locallimit;
     
@@ -188,6 +192,10 @@ typedef struct leaf {
 
     /** GRD: The leaf's packet drop probability. */
     double drop_prob;
+
+    /** Only used for experimentation. */
+    int delay;
+
 } leaf_t;
 
 /**