summaryrefslogtreecommitdiff
path: root/protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocol.h')
-rw-r--r--protocol.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/protocol.h b/protocol.h
index a450b2b..11c9aca 100644
--- a/protocol.h
+++ b/protocol.h
@@ -33,6 +33,13 @@
#define MT_MNDP_TIMEOUT 5
#define MT_MNDP_LONGTIMEOUT 120
+#ifndef ETH_ALEN
+#define ETH_ALEN 6
+#endif
+#ifndef IPV4_ALEN
+#define IPV4_ALEN 4
+#endif
+
/* Packet type */
enum mt_ptype {
MT_PTYPE_SESSIONSTART,