summaryrefslogtreecommitdiffhomepage
path: root/utils.h
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2013-02-01 13:17:41 +0100
committerSteven Barth <steven@midlink.org>2013-02-01 13:17:41 +0100
commitf73f11865e8601a0cb3983a6f2b2beb5ebabd14d (patch)
treece6165fabeba21f4e0905ecda3ee08e99b8c2d10 /utils.h
parent4bb99d4eb462776336928392010b372236ac3c93 (diff)
Improved IPv6 featureset
* Fix reloading of ula-prefixes * Added support for temporary addresses and routes * Added support for offlink addresses * Improved status-output for assigned prefixes
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils.h b/utils.h
index e159b42..d675a5c 100644
--- a/utils.h
+++ b/utils.h
@@ -42,6 +42,9 @@ struct vlist_simple_node {
int version;
};
+#define vlist_for_each_element_safe(tree, element, node_member, ptr) \
+ avl_for_each_element_safe(&(tree)->avl, element, node_member.avl, ptr)
+
#define vlist_simple_init(tree, node, member) \
__vlist_simple_init(tree, offsetof(node, member))