git://git.onelab.eu
/
distributedratelimiting.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added the option to manually specify which htb node/parent an identity should be...
[distributedratelimiting.git]
/
drl
/
config.h
diff --git
a/drl/config.h
b/drl/config.h
index
883b641
..
f50ea3f
100644
(file)
--- a/
drl/config.h
+++ b/
drl/config.h
@@
-113,6
+113,14
@@
typedef struct ident_config {
/** List of the identity's members (type IDENT_SET only). */
ident_member *members;
/** 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;
/** Pointer to the next ident in the list or NULL if this is the last. */
struct ident_config *next;
} ident_config;