From 110904678275be6e26415c44ebdeee61ffa93edf Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 2 Oct 2014 13:50:37 -0700 Subject: Last steps before test: parse OK(MULTICAST_GATHER) and OK(MULTICAST_FRAME) --- node/IncomingPacket.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'node/IncomingPacket.hpp') 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,uint64_t nwid); + // Parse gather results for OK(MULTICAST_GATHER) and OK(MULTICAST_FRAME) + void _parseGatherResults(const RuntimeEnvironment *RR,const SharedPtr &peer,uint64_t nwid,const MulticastGroup &mg,unsigned int offset); + uint64_t _receiveTime; SharedPtr _fromSock; InetAddress _remoteAddress; -- cgit v1.2.3