From c30f9832b0a926914986bc9160190dbfec7ceddd Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 10 Jun 2014 21:41:34 -0700 Subject: Packet decoder work for EXT_FRAME for bridging - GitHub issue #68 --- node/PacketDecoder.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'node/PacketDecoder.hpp') diff --git a/node/PacketDecoder.hpp b/node/PacketDecoder.hpp index 0a16ceb3..3723fdda 100644 --- a/node/PacketDecoder.hpp +++ b/node/PacketDecoder.hpp @@ -58,6 +58,7 @@ namespace ZeroTier { class RuntimeEnvironment; +class Network; /** * Subclass of packet that handles the decoding of it @@ -116,6 +117,7 @@ private: bool _doOK(const RuntimeEnvironment *_r,const SharedPtr &peer); bool _doWHOIS(const RuntimeEnvironment *_r,const SharedPtr &peer); bool _doRENDEZVOUS(const RuntimeEnvironment *_r,const SharedPtr &peer); + bool _incomingFrame(const RuntimeEnvironment *_r,const SharedPtr &peer,const SharedPtr &network,const MAC &from,const MAC &to,unsigned int etherType,const void *data,unsigned int len); bool _doFRAME(const RuntimeEnvironment *_r,const SharedPtr &peer); bool _doEXT_FRAME(const RuntimeEnvironment *_r,const SharedPtr &peer); bool _doMULTICAST_FRAME(const RuntimeEnvironment *_r,const SharedPtr &peer); -- cgit v1.2.3