diff options
Diffstat (limited to 'node')
-rw-r--r-- | node/Constants.hpp | 10 | ||||
-rw-r--r-- | node/Switch.hpp | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/node/Constants.hpp b/node/Constants.hpp index b7aa9817..56cc95d4 100644 --- a/node/Constants.hpp +++ b/node/Constants.hpp @@ -353,4 +353,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 diff --git a/node/Switch.hpp b/node/Switch.hpp index a8d89f41..1954e0cd 100644 --- a/node/Switch.hpp +++ b/node/Switch.hpp @@ -47,16 +47,6 @@ #include "IncomingPacket.hpp" #include "Hashtable.hpp" -/* 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 - namespace ZeroTier { class RuntimeEnvironment; |