From 4267e7da93a7394ad7059b6f71569642446f04a6 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Sat, 5 Oct 2013 10:19:12 -0400 Subject: Remove a whole bunch of now-unnecessary cruft from Topology and PacketDecoder. --- node/PacketDecoder.hpp | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'node/PacketDecoder.hpp') 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 &p, - Topology::PeerVerifyResult result); - - static void _CBaddPeerFromWhois( - void *arg, // RuntimeEnvironment - const SharedPtr &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); -- cgit v1.2.3