summaryrefslogtreecommitdiff
path: root/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'buffer.h')
-rw-r--r--buffer.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/buffer.h b/buffer.h
index e3d8b58..1a426e1 100644
--- a/buffer.h
+++ b/buffer.h
@@ -61,14 +61,9 @@ public:
u_int8_t operator[](u_int32_t index) const;
std::string getHexDump() const;
- operator u_int8_t*(); // just for write/read tun and packetSource
-protected:
- friend class TunDevice;
- friend class UDPPacketSource;
- friend class AesIcmCipher;
- friend class KeyDerivation; //
- friend class Mpi;
+ operator u_int8_t*();
+protected:
u_int8_t *buf_;
u_int32_t length_;
};