summaryrefslogtreecommitdiff
path: root/src/encryptedPacket.h
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2014-07-31 15:40:03 +0000
committerOthmar Gsenger <otti@anytun.org>2014-07-31 15:40:03 +0000
commitcd25b1fe9e2beb01f5d7d61daa87f73a8c191e40 (patch)
tree01b7bc9a13b70749eae5f5c9e9fc1e42f5c5615f /src/encryptedPacket.h
parentfix compiler warning (diff)
multithreaded sender seems to work...
Diffstat (limited to 'src/encryptedPacket.h')
-rw-r--r--src/encryptedPacket.h5
1 files changed, 5 insertions, 0 deletions
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