class BGPParameter


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Public Static Methods

Protected Members


Detailed Description

BGPParametercreate (const uint8_t* d, uint16_t max_len, size_t& actual_length)
throw(CorruptMessage)

create

[static]

create a new BGPParameter from incoming data. Takes a chunk of memory of size l, returns an object of the appropriate type and actual_length is the number of bytes used from the packet. Throws an exception on error.

 BGPParameter ()

BGPParameter

 BGPParameter (uint8_t l, const uint8_t* d)

BGPParameter

 BGPParameter (const BGPParameter& param)

BGPParameter

 ~BGPParameter ()

~BGPParameter

[virtual]

void  decode ()

decode

[pure virtual]

void  encode ()

encode

[const pure virtual]

bool  compare (const BGPParameter&)

compare

[const pure virtual]

void  dump_contents ()

dump_contents

[const]

void  set_type (ParamType t)

set_type

ParamType  type ()

type

[const]

void  set_length (int l)

set_length

uint8_t  length ()

length

[const]

uint8_t  paramlength ()

paramlength

[const]

uint8_t*  data ()

data

[const]

string  str ()

str

[const pure virtual]

uint8_t* _data

_data

[protected]

uint8_t _length

_length

[protected]

ParamType _type

_type

[protected]


Generated by: bms on anglepoise.lon.incunabulum.net on Wed Jul 23 10:06:01 2008, using kdoc 2.0a54+XORP.