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

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

_PACKET_IKE Class Reference

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

List of all members.

Public Member Functions

bool add (_BDATA &bdata)
bool add (int value, size_t size)
bool add (void *buff, size_t size)
bool add (char *buff, size_t size)
bool add (const char *buff, size_t size)
bool add_byte (uint8_t data)
bool add_null (size_t size)
bool add_payload (bool encap, uint8_t next)
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 done ()
void end_payload (bool decap, bool write=true)
bool get (void *buff, size_t size)
bool get (_BDATA &bdata, size_t size=BDATA_ALL)
bool get (char *buff, size_t size)
bool get_byte (uint8_t &data)
uint32_t get_msgid ()
bool get_null (size_t size)
bool get_payload (bool encap, uint8_t &next)
size_t get_payload_left ()
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 (void *buff, size_t size, size_t oset=0)
bool ins (const char *buff, size_t size, size_t oset=0)
bool ins (_BDATA &bdata, size_t oset=0)
bool ins (int value, 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 read (IKE_COOKIES &cookies, uint8_t &payload, uint8_t &exchange, uint8_t &flags)
void reset ()
bool set (_BDATA &bdata, size_t oset=0)
bool set (int value, size_t size, size_t oset=0)
bool set (void *buff, size_t size, size_t oset=0)
bool set (char *buff, size_t size, size_t oset=0)
bool set (const char *buff, size_t size, size_t oset=0)
void set_msgid (uint32_t msgid)
size_t size (size_t new_size=~0)
char * text ()
bool write (IKE_COOKIES &cookies, uint8_t payload, uint8_t exchange, uint8_t flags)

Public Attributes

unsigned char notify

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
IKE_HEADER header
long pld_depth
PLD_DATA pld_stack [8]

Detailed Description

Definition at line 757 of file ike.h.


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

Generated by  Doxygen 1.6.0   Back to index