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]

bool  send ()

send

[const virtual]

Should this parameter be sent by open.

string  str ()

str

[const pure virtual]

uint8_t* _data

_data

[protected]

uint8_t _length

_length

[protected]

ParamType _type

_type

[protected]


Generated by: pavlin on possum.icir.org on Wed Apr 13 21:53:16 2005, using kdoc $.