Added the option to manually specify which htb node/parent an identity should be...
[distributedratelimiting.git] / drl / config.h
index 883b641..f50ea3f 100644 (file)
@@ -113,6 +113,14 @@ typedef struct ident_config {
     /** List of the identity's members (type IDENT_SET only). */
     ident_member *members;
 
+    /** If NM is setting up the hierarchy for us, this is the htb node to use
+     * for this identity. */
+    int htb_node;
+
+    /** If NM is setting up the hierarchy for us, this is the htb parent node
+     * to use for this identity. */
+    int htb_parent;
+
     /** Pointer to the next ident in the list or NULL if this is the last. */
     struct ident_config *next;
 } ident_config;