diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-09-24 09:04:09 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-09-24 09:04:09 -0700 |
| commit | 557801a09ef31c243add5f6d6de7a5f67af53ed2 (patch) | |
| tree | 83421970ce0a02366d3a50a77646543b913684bb /node/Switch.hpp | |
| parent | 9180a309862f1d2abb946381b5b92a823913d425 (diff) | |
| download | infinitytier-557801a09ef31c243add5f6d6de7a5f67af53ed2.tar.gz infinitytier-557801a09ef31c243add5f6d6de7a5f67af53ed2.zip | |
Rename PacketDecoder to much more descriptive IncomingPacket
Diffstat (limited to 'node/Switch.hpp')
| -rw-r--r-- | node/Switch.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
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<PacketDecoder> > _rxQueue; + std::list< SharedPtr<IncomingPacket> > _rxQueue; Mutex _rxQueue_m; struct TXQueueEntry @@ -267,7 +267,7 @@ private: struct DefragQueueEntry { uint64_t creationTime; - SharedPtr<PacketDecoder> frag0; + SharedPtr<IncomingPacket> 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 |
