#include <buffer.h>
Inheritance diagram for Buffer:
Public Member Functions | |
Buffer () | |
Buffer (u_int32_t length) | |
Buffer (u_int8_t *data, u_int32_t length) | |
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) |
virtual Buffer | operator^ (const Buffer &xor_by) const |
virtual Buffer | leftByteShift (u_int32_t width) const |
virtual Buffer | rightByteShift (u_int32_t width) const |
u_int32_t | resizeFront (u_int32_t new_length) |
u_int32_t | resizeBack (u_int32_t new_length) |
u_int32_t | getLength () const |
u_int8_t * | getBuf () |
u_int8_t & | operator[] (u_int32_t index) |
u_int8_t | operator[] (u_int32_t index) const |
void | printHexDump () const |
operator u_int8_t * () | |
Protected Attributes | |
u_int8_t * | buf_ |
u_int32_t | length_ |
Friends | |
class | TunDevice |
class | UDPPacketSource |
Buffer::Buffer | ( | ) |
Buffer::Buffer | ( | u_int32_t | length | ) |
Buffer::~Buffer | ( | ) | [virtual] |
Buffer::Buffer | ( | const Buffer & | src | ) |
void Buffer::operator= | ( | const Buffer & | src | ) |
void Buffer::operator= | ( | const seq_nr_t & | src | ) |
void Buffer::operator= | ( | const sender_id_t & | src | ) |
u_int32_t Buffer::getLength | ( | ) | const |
u_int8_t * Buffer::getBuf | ( | ) |
void Buffer::printHexDump | ( | ) | const |
Buffer::operator u_int8_t * | ( | ) |
friend class TunDevice [friend] |
friend class UDPPacketSource [friend] |
u_int8_t* Buffer::buf_ [protected] |
u_int32_t Buffer::length_ [protected] |