diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-07-07 19:36:57 -0400 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-07-07 19:36:57 -0400 |
| commit | e2a2d33f8f12e7227b35c0cc77f8cc091f32a440 (patch) | |
| tree | 0d194f6b217495f9719e9f279c4fd061f7b2fa6d /node/Utils.hpp | |
| parent | c68ab6b70f9c34bde38c2e38dee1e5b155097a6a (diff) | |
| download | infinitytier-e2a2d33f8f12e7227b35c0cc77f8cc091f32a440.tar.gz infinitytier-e2a2d33f8f12e7227b35c0cc77f8cc091f32a440.zip | |
Filter code, work in progress, wont build yet
Diffstat (limited to 'node/Utils.hpp')
| -rw-r--r-- | node/Utils.hpp | 16 |
1 files changed, 0 insertions, 16 deletions
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) */ @@ -68,12 +58,6 @@ 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 * @return Hexadecimal string |
