diff options
author | Christian Pointner <equinox@anytun.org> | 2008-02-20 00:25:29 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2008-02-20 00:25:29 +0000 |
commit | 7b75dd9d4afd6030fe1837ea7d2d3fcd225ae785 (patch) | |
tree | eb9375dcfd63e78965d844674577491c1dd1a5e9 /buffer.h | |
parent | further cleanups (diff) |
further cleanups
cipher could work now
Diffstat (limited to 'buffer.h')
-rw-r--r-- | buffer.h | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -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_; }; |