|
|
BGPParameter * create (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]
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]
BGPParameter* clone ()
| clone |
[const]
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 Mon Mar 10 19:34:59 2003, using kdoc 2.0a54+XORP. |