diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-09-26 12:23:43 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-09-26 12:23:43 -0700 |
| commit | 2d41055bdce886722d1b6a355559862016ac964c (patch) | |
| tree | b7af7882c20515f0e8695c2adc8e2500f1d19e5a /node/IncomingPacket.hpp | |
| parent | 027060dad15df2273dcb25616bea5446be335f55 (diff) | |
| download | infinitytier-2d41055bdce886722d1b6a355559862016ac964c.tar.gz infinitytier-2d41055bdce886722d1b6a355559862016ac964c.zip | |
Some Network code cleanup.
Diffstat (limited to 'node/IncomingPacket.hpp')
| -rw-r--r-- | node/IncomingPacket.hpp | 6 |
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; |
