summaryrefslogtreecommitdiff
path: root/node/PacketDecoder.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-06-18 09:00:53 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-06-18 09:00:53 -0700
commitc3cea554934f30abeea9b219a41215c5f2bfa41e (patch)
tree556a8611345190d49df784d9cd192513bbc703ef /node/PacketDecoder.hpp
parent5d467f0f4590cfcbdc1b0699fe07e5a0f6e27764 (diff)
downloadinfinitytier-c3cea554934f30abeea9b219a41215c5f2bfa41e.tar.gz
infinitytier-c3cea554934f30abeea9b219a41215c5f2bfa41e.zip
Some cleanup in PacketDecoder.
Diffstat (limited to 'node/PacketDecoder.hpp')
-rw-r--r--node/PacketDecoder.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/node/PacketDecoder.hpp b/node/PacketDecoder.hpp
index 3723fdda..0d18f1be 100644
--- a/node/PacketDecoder.hpp
+++ b/node/PacketDecoder.hpp
@@ -117,7 +117,6 @@ 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);
@@ -126,6 +125,8 @@ private:
bool _doNETWORK_CONFIG_REQUEST(const RuntimeEnvironment *_r,const SharedPtr<Peer> &peer);
bool _doNETWORK_CONFIG_REFRESH(const RuntimeEnvironment *_r,const SharedPtr<Peer> &peer);
+ void _sendErrorNeedCertificate(const RuntimeEnvironment *_r,const SharedPtr<Peer> &peer,uint64_t nwid);
+
uint64_t _receiveTime;
SharedPtr<Socket> _fromSock;
InetAddress _remoteAddress;