Added an 'independent' option for set identites that will put them under the
[distributedratelimiting.git] / drl / ratetypes.h
index 319d071..dc7f6c9 100644 (file)
@@ -42,6 +42,9 @@ typedef struct identity {
     /** Pointer to the identity's parent in the HTB hierarchy. */
     struct identity *parent;
 
     /** Pointer to the identity's parent in the HTB hierarchy. */
     struct identity *parent;
 
+    /** For sets, indicates the parent should be 0x10.  Meaningless for machines. */
+    int independent;
+
     /** Array of the leaves that are limited by this identity. Points into the
      * leaves array for the identity's instance. */
     struct leaf **leaves;
     /** Array of the leaves that are limited by this identity. Points into the
      * leaves array for the identity's instance. */
     struct leaf **leaves;