summaryrefslogtreecommitdiff
path: root/node/PacketDecoder.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-10-05 10:19:12 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-10-05 10:19:12 -0400
commit4267e7da93a7394ad7059b6f71569642446f04a6 (patch)
tree44b2a6fb57d924a3d48da47f9551b77f2978eedd /node/PacketDecoder.hpp
parent0e43e5e8f2eddd5768873350d12103f2684bedbf (diff)
downloadinfinitytier-4267e7da93a7394ad7059b6f71569642446f04a6.tar.gz
infinitytier-4267e7da93a7394ad7059b6f71569642446f04a6.zip
Remove a whole bunch of now-unnecessary cruft from Topology and PacketDecoder.
Diffstat (limited to 'node/PacketDecoder.hpp')
-rw-r--r--node/PacketDecoder.hpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/node/PacketDecoder.hpp b/node/PacketDecoder.hpp
index 3028296e..dfdb12a3 100644
--- a/node/PacketDecoder.hpp
+++ b/node/PacketDecoder.hpp
@@ -109,26 +109,6 @@ public:
inline uint64_t receiveTime() const throw() { return _receiveTime; }
private:
- struct _CBaddPeerFromHello_Data
- {
- const RuntimeEnvironment *renv;
- Address source;
- InetAddress remoteAddress;
- Demarc::Port localPort;
- unsigned int vMajor,vMinor,vRevision;
- uint64_t helloPacketId;
- uint64_t helloTimestamp;
- };
- static void _CBaddPeerFromHello(
- void *arg, // _CBaddPeerFromHello_Data
- const SharedPtr<Peer> &p,
- Topology::PeerVerifyResult result);
-
- static void _CBaddPeerFromWhois(
- void *arg, // RuntimeEnvironment
- const SharedPtr<Peer> &p,
- Topology::PeerVerifyResult result);
-
// These are called internally to handle packet contents once it has
// been authenticated, decrypted, decompressed, and classified.
bool _doERROR(const RuntimeEnvironment *_r,const SharedPtr<Peer> &peer);