summaryrefslogtreecommitdiff
path: root/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'buffer.h')
-rw-r--r--buffer.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/buffer.h b/buffer.h
index 85f539b..a9601fe 100644
--- a/buffer.h
+++ b/buffer.h
@@ -51,8 +51,7 @@ public:
virtual ~Buffer();
Buffer(const Buffer &src);
void operator=(const Buffer &src);
- void operator=(const seq_nr_t &src);
- void operator=(const sender_id_t &src);
+ bool operator==(const Buffer &cmp) const;
// math operations to calculate IVs and keys
virtual Buffer operator^(const Buffer &xor_by) const;
@@ -71,8 +70,8 @@ public:
protected:
friend class TunDevice;
friend class UDPPacketSource;
-// friend class AesIcmCypher;
-// friend class KeyDerivation; //
+ friend class AesIcmCypher;
+ friend class KeyDerivation; //
u_int8_t *buf_;
u_int32_t length_;