From 557801a09ef31c243add5f6d6de7a5f67af53ed2 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 24 Sep 2014 09:04:09 -0700 Subject: Rename PacketDecoder to much more descriptive IncomingPacket --- node/Switch.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'node/Switch.hpp') diff --git a/node/Switch.hpp b/node/Switch.hpp index 4cc34d46..c7f80606 100644 --- a/node/Switch.hpp +++ b/node/Switch.hpp @@ -44,7 +44,7 @@ #include "Array.hpp" #include "Network.hpp" #include "SharedPtr.hpp" -#include "PacketDecoder.hpp" +#include "IncomingPacket.hpp" #include "Socket.hpp" /* Ethernet frame types that might be relevant to us */ @@ -246,7 +246,7 @@ private: std::map< Address,WhoisRequest > _outstandingWhoisRequests; Mutex _outstandingWhoisRequests_m; - std::list< SharedPtr > _rxQueue; + std::list< SharedPtr > _rxQueue; Mutex _rxQueue_m; struct TXQueueEntry @@ -267,7 +267,7 @@ private: struct DefragQueueEntry { uint64_t creationTime; - SharedPtr frag0; + SharedPtr frag0; Packet::Fragment frags[ZT_MAX_PACKET_FRAGMENTS - 1]; unsigned int totalFragments; // 0 if only frag0 received, waiting for frags uint32_t haveFragments; // bit mask, LSB to MSB -- cgit v1.2.3