summaryrefslogtreecommitdiffstats
path: root/include/utils.h
diff options
context:
space:
mode:
authorshemminger <shemminger>2005-06-23 17:31:27 +0000
committershemminger <shemminger>2005-06-23 17:31:27 +0000
commit02d2ae55c68d2319260163b76c550f45e1077a63 (patch)
treeb9a8ff20095a1a5a84697876456ae58a3ab2a282 /include/utils.h
parent87773db55113fa9b7a24a80f959640b53ff2cb92 (diff)
IPv4 multipath algorithm selection support
Diffstat (limited to 'include/utils.h')
-rw-r--r--include/utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/utils.h b/include/utils.h
index f27aa54b..1e3dc285 100644
--- a/include/utils.h
+++ b/include/utils.h
@@ -129,4 +129,6 @@ static __inline__ int get_user_hz(void)
int print_timestamp(FILE *fp);
+#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
+
#endif /* __UTILS_H__ */