From e2a2d33f8f12e7227b35c0cc77f8cc091f32a440 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Sun, 7 Jul 2013 19:36:57 -0400 Subject: Filter code, work in progress, wont build yet --- node/Utils.hpp | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'node/Utils.hpp') diff --git a/node/Utils.hpp b/node/Utils.hpp index b8aced63..5cdf10de 100644 --- a/node/Utils.hpp +++ b/node/Utils.hpp @@ -44,16 +44,6 @@ #include "Constants.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 - /** * Maximum compression/decompression block size (do not change) */ @@ -67,12 +57,6 @@ namespace ZeroTier { class Utils { public: - /** - * @param etherType Ethernet type ID - * @return Name of Ethernet protocol (e.g. ARP, IPV4) - */ - static const char *etherTypeName(const unsigned int etherType); - /** * @param data Data to convert to hex * @param len Length of data -- cgit v1.2.3