diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-10-02 13:50:37 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-10-02 13:50:37 -0700 |
| commit | 110904678275be6e26415c44ebdeee61ffa93edf (patch) | |
| tree | 101fe5e85305834ed575a2dfeaac76397fd336ef /node/IncomingPacket.hpp | |
| parent | 49dc47ff38ff27fd8f846a4a6354a60423376671 (diff) | |
| download | infinitytier-110904678275be6e26415c44ebdeee61ffa93edf.tar.gz infinitytier-110904678275be6e26415c44ebdeee61ffa93edf.zip | |
Last steps before test: parse OK(MULTICAST_GATHER) and OK(MULTICAST_FRAME)
Diffstat (limited to 'node/IncomingPacket.hpp')
| -rw-r--r-- | node/IncomingPacket.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/node/IncomingPacket.hpp b/node/IncomingPacket.hpp index 33f12a5f..5bda2789 100644 --- a/node/IncomingPacket.hpp +++ b/node/IncomingPacket.hpp @@ -36,6 +36,7 @@ #include "Utils.hpp" #include "SharedPtr.hpp" #include "AtomicCounter.hpp" +#include "MulticastGroup.hpp" #include "Peer.hpp" #include "Socket.hpp" @@ -129,6 +130,9 @@ private: // 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); + // Parse gather results for OK(MULTICAST_GATHER) and OK(MULTICAST_FRAME) + void _parseGatherResults(const RuntimeEnvironment *RR,const SharedPtr<Peer> &peer,uint64_t nwid,const MulticastGroup &mg,unsigned int offset); + uint64_t _receiveTime; SharedPtr<Socket> _fromSock; InetAddress _remoteAddress; |
