summaryrefslogtreecommitdiff
path: root/node/Constants.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/Constants.hpp')
-rw-r--r--node/Constants.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/node/Constants.hpp b/node/Constants.hpp
index 27c43aa7..6e9f5b15 100644
--- a/node/Constants.hpp
+++ b/node/Constants.hpp
@@ -360,4 +360,14 @@
*/
#define ZT_TEST_NETWORK_ID 0xffffffffffffffffULL
+/* Ethernet frame types that might be relevant to us */
+#define ZT_ETHERTYPE_IPV4 0x0800
+#define ZT_ETHERTYPE_ARP 0x0806
+#define ZT_ETHERTYPE_RARP 0x8035
+#define ZT_ETHERTYPE_ATALK 0x809b
+#define ZT_ETHERTYPE_AARP 0x80f3
+#define ZT_ETHERTYPE_IPX_A 0x8137
+#define ZT_ETHERTYPE_IPX_B 0x8138
+#define ZT_ETHERTYPE_IPV6 0x86dd
+
#endif