summaryrefslogtreecommitdiff
path: root/node/IncomingPacket.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-09-26 12:23:43 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-09-26 12:23:43 -0700
commit2d41055bdce886722d1b6a355559862016ac964c (patch)
treeb7af7882c20515f0e8695c2adc8e2500f1d19e5a /node/IncomingPacket.hpp
parent027060dad15df2273dcb25616bea5446be335f55 (diff)
downloadinfinitytier-2d41055bdce886722d1b6a355559862016ac964c.tar.gz
infinitytier-2d41055bdce886722d1b6a355559862016ac964c.zip
Some Network code cleanup.
Diffstat (limited to 'node/IncomingPacket.hpp')
-rw-r--r--node/IncomingPacket.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/node/IncomingPacket.hpp b/node/IncomingPacket.hpp
index 5697c792..b89e259c 100644
--- a/node/IncomingPacket.hpp
+++ b/node/IncomingPacket.hpp
@@ -124,7 +124,13 @@ private:
bool _doNETWORK_MEMBERSHIP_CERTIFICATE(const RuntimeEnvironment *RR,const SharedPtr<Peer> &peer);
bool _doNETWORK_CONFIG_REQUEST(const RuntimeEnvironment *RR,const SharedPtr<Peer> &peer);
bool _doNETWORK_CONFIG_REFRESH(const RuntimeEnvironment *RR,const SharedPtr<Peer> &peer);
+ bool _doMULTICAST_GATHER(const RuntimeEnvironment *RR,const SharedPtr<Peer> &peer);
+ bool _doMULTICAST_FRAME(const RuntimeEnvironment *RR,const SharedPtr<Peer> &peer);
+ // Both OK(MULTICAST_GATHER) and OK(MULTICAST_FRAME) can carry this payload
+ void _handleMulticastGatherResponse(const RuntimeEnvironment *RR,const SharedPtr<Peer> &peer,unsigned int startIdx);
+
+ // Send an ERROR_NEED_MEMBERSHIP_CERTIFICATE to a peer indicating that an updated cert is needed to join
void _sendErrorNeedCertificate(const RuntimeEnvironment *RR,const SharedPtr<Peer> &peer,uint64_t nwid);
uint64_t _receiveTime;