X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drl%2Fconfig.h;h=0b202c7b825e5b2b0fabcb921e6624c1d025f72e;hb=9f79e9f0c22d7d87c4369ca6441571d9c155bf95;hp=e1a436fba7d1085ba9c03465f431b34e0410d619;hpb=0be9704d6b24d09ebd55beedec52758cb88c570b;p=distributedratelimiting.git diff --git a/drl/config.h b/drl/config.h index e1a436f..0b202c7 100644 --- a/drl/config.h +++ b/drl/config.h @@ -75,9 +75,12 @@ typedef struct ident_config { /** The fixed (1-second) ewma weight value for this identity. */ double fixed_ewma_weight; - /** The number of estimate intervals to wait between calls to estimate, + /** The number of limiter intervals to wait between calls to estimate, * allocate and enforce. */ - int intervals; + int mainloop_intervals; + + /** The number of limiter intervals to wait between communication. */ + int communication_intervals; /** The type of this identity. */ enum ident_types type; @@ -88,6 +91,9 @@ typedef struct ident_config { /** The number of peers. */ int peer_count; + /** If this is set, the node goes under the root rather than machine nodes. */ + int independent; + /** List of the identity's members (type IDENT_SET only). */ ident_member *members;