Logo Search packages:      
Sourcecode: ike version File versions  Download package

Public Member Functions | Protected Member Functions | Protected Attributes

_PACKET Class Reference

Inheritance diagram for _PACKET:
Inheritance graph
[legend]
Collaboration diagram for _PACKET:
Collaboration graph
[legend]

List of all members.

Public Member Functions

bool add (_BDATA &bdata)
bool add (char *buff, size_t size)
bool add (const char *buff, size_t size)
bool add (int value, size_t size)
bool add (void *buff, size_t size)
bool add_byte (uint8_t data)
bool add_null (size_t size)
bool add_quad (uint32_t data, bool hton=true)
bool add_word (uint16_t data, bool hton=true)
bool base64_decode ()
bool base64_encode ()
unsigned char * buff ()
void del (bool null=false)
bool get (char *buff, size_t size)
bool get (_BDATA &bdata, size_t size=BDATA_ALL)
bool get (void *buff, size_t size)
bool get_byte (uint8_t &data)
bool get_null (size_t size)
bool get_quad (uint32_t &data, bool ntoh=true)
bool get_word (uint16_t &data, bool ntoh=true)
bool hex_decode ()
bool hex_encode (bool upper_case=false)
bool ins (const char *buff, size_t size, size_t oset=0)
bool ins (int value, size_t size, size_t oset=0)
bool ins (_BDATA &bdata, size_t oset=0)
bool ins (void *buff, size_t size, size_t oset=0)
bool ins (char *buff, size_t size, size_t oset=0)
bool operator!= (_BDATA &bdata)
bool operator== (_BDATA &bdata)
size_t oset (size_t new_oset=~0)
bool set (char *buff, size_t size, size_t oset=0)
bool set (_BDATA &bdata, size_t oset=0)
bool set (void *buff, size_t size, size_t oset=0)
bool set (int value, size_t size, size_t oset=0)
bool set (const char *buff, size_t size, size_t oset=0)
size_t size (size_t new_size=~0)
char * text ()

Protected Member Functions

size_t grow (size_t new_size=~0)

Protected Attributes

unsigned char * data_buff
size_t data_oset
size_t data_real
size_t data_size

Detailed Description

Definition at line 349 of file libip.h.


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

Generated by  Doxygen 1.6.0   Back to index