summaryrefslogtreecommitdiff
path: root/protocol.h
diff options
context:
space:
mode:
authorBoian Bonev <bbonev@ipacct.com>2011-11-14 09:19:56 +0530
committerBoian Bonev <bbonev@ipacct.com>2011-11-14 09:19:56 +0530
commit060569c084f072cd6dd0509e8c30d78d2d2d2b84 (patch)
treeb649ed1012d8a9195c1349ab19252224764acf99 /protocol.h
parent8e00efedad165bfed2856a41cbf492c91e0ddce0 (diff)
parenta5b710a45671c1b9504130d83d3ebe7fe8a65c5a (diff)
downloadMAC-Telnet-060569c084f072cd6dd0509e8c30d78d2d2d2b84.tar.gz
MAC-Telnet-060569c084f072cd6dd0509e8c30d78d2d2d2b84.zip
merge
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,