summaryrefslogtreecommitdiff
path: root/node/Switch.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-04-10 16:30:15 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-04-10 16:30:15 -0700
commitaee742e7675dfc125f31fbe00fafeda53c532b05 (patch)
tree0c37168cc39677c1a4896ec1d8fffc7ebbe5b867 /node/Switch.hpp
parentc9294c1a78fa86fbba38b1a81988ea7527b0872c (diff)
downloadinfinitytier-aee742e7675dfc125f31fbe00fafeda53c532b05.tar.gz
infinitytier-aee742e7675dfc125f31fbe00fafeda53c532b05.zip
More toward GitHub issue #56
Diffstat (limited to 'node/Switch.hpp')
-rw-r--r--node/Switch.hpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/node/Switch.hpp b/node/Switch.hpp
index ee78d9fd..64457109 100644
--- a/node/Switch.hpp
+++ b/node/Switch.hpp
@@ -221,15 +221,9 @@ public:
throw();
private:
- void _handleRemotePacketFragment(
- const SharedPtr<Socket> &fromSock,
- const InetAddress &fromAddr,
- const Buffer<4096> &data);
-
- void _handleRemotePacketHead(
- const SharedPtr<Socket> &fromSock,
- const InetAddress &fromAddr,
- const Buffer<4096> &data);
+ void _handleRemotePacketFragment(const SharedPtr<Socket> &fromSock,const InetAddress &fromAddr,const Buffer<4096> &data);
+ void _handleRemotePacketHead(const SharedPtr<Socket> &fromSock,const InetAddress &fromAddr,const Buffer<4096> &data);
+ void _handleBeacon(const SharedPtr<Socket> &fromSock,const InetAddress &fromAddr,const Buffer<4096> &data);
Address _sendWhoisRequest(
const Address &addr,
@@ -241,6 +235,7 @@ private:
bool encrypt);
const RuntimeEnvironment *const _r;
+ volatile uint64_t _lastBeacon;
volatile unsigned int _multicastIdCounter;
struct WhoisRequest