From cd25b1fe9e2beb01f5d7d61daa87f73a8c191e40 Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Thu, 31 Jul 2014 15:40:03 +0000 Subject: multithreaded sender seems to work... --- src/encryptedPacket.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/encryptedPacket.h') diff --git a/src/encryptedPacket.h b/src/encryptedPacket.h index c924ad9..8bf38f5 100644 --- a/src/encryptedPacket.h +++ b/src/encryptedPacket.h @@ -48,6 +48,7 @@ #include "datatypes.h" #include "buffer.h" +#include "packetSource.h" class Cipher; class EncryptedPacket : public Buffer @@ -143,6 +144,9 @@ public: void removeAuthTag(); uint8_t* getAuthTag(); uint32_t getAuthTagLength(); + + void setEndpoint(PacketSourceEndpoint & ); + PacketSourceEndpoint getEndpoint() const; private: EncryptedPacket(); @@ -166,6 +170,7 @@ private: uint8_t* payload_; uint8_t* auth_tag_; uint32_t auth_tag_length_; + PacketSourceEndpoint endpoint_; }; #endif -- cgit v1.2.3