Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Attributes | Static Protected Attributes

Packet Class Reference

Inheritance diagram for Packet:

List of all members.

Public Member Functions

unsigned char *const bits ()
Packetcopy () const
Packetrefcopy ()
int & ref_count ()
void allocdata (int)
void initdata ()
unsigned char * access (int off) const
unsigned char * accessdata () const
AppDatauserdata () const
void setdata (AppData *d)
int datalen () const

Static Public Member Functions

static Packetalloc ()
static Packetalloc (int)
static void free (Packet *)
static void dump_header (Packet *p, int offset, int length)

Public Attributes

PacketStamp txinfo_
u_int8_t incoming

Static Public Attributes

static int hdrlen_ = 0

Protected Attributes

int ref_count_

Static Protected Attributes

static Packetfree_

The documentation for this class was generated from the following files: