diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-06-10 21:41:34 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-06-10 21:41:34 -0700 |
| commit | c30f9832b0a926914986bc9160190dbfec7ceddd (patch) | |
| tree | 02f10d85b10bb89757c4541632aa906b289dc228 /node/PacketDecoder.hpp | |
| parent | d44e1349d8e83b875b1a102b2b1ce31613a10924 (diff) | |
| download | infinitytier-c30f9832b0a926914986bc9160190dbfec7ceddd.tar.gz infinitytier-c30f9832b0a926914986bc9160190dbfec7ceddd.zip | |
Packet decoder work for EXT_FRAME for bridging - GitHub issue #68
Diffstat (limited to 'node/PacketDecoder.hpp')
| -rw-r--r-- | node/PacketDecoder.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
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> &peer); bool _doWHOIS(const RuntimeEnvironment *_r,const SharedPtr<Peer> &peer); bool _doRENDEZVOUS(const RuntimeEnvironment *_r,const SharedPtr<Peer> &peer); + bool _incomingFrame(const RuntimeEnvironment *_r,const SharedPtr<Peer> &peer,const SharedPtr<Network> &network,const MAC &from,const MAC &to,unsigned int etherType,const void *data,unsigned int len); bool _doFRAME(const RuntimeEnvironment *_r,const SharedPtr<Peer> &peer); bool _doEXT_FRAME(const RuntimeEnvironment *_r,const SharedPtr<Peer> &peer); bool _doMULTICAST_FRAME(const RuntimeEnvironment *_r,const SharedPtr<Peer> &peer); |
