NotificationPacket (const uint8_t *d, uint16_t l)
throw(CorruptMessage) | NotificationPacket |
NotificationPacket (uint8_t ec, uint8_t esc = 0,
const uint8_t *d = 0, size_t l=0)
| NotificationPacket |
NotificationPacket ()
| NotificationPacket |
~NotificationPacket ()
| ~NotificationPacket |
uint8_t error_code ()
| error_code |
[const]
uint8_t error_subcode ()
| error_subcode |
[const]
bool validate_error_code (const int error, const int subcode)
| validate_error_code |
[static]
Verify that the supplied error code and subcode are legal.
string pretty_print_error_code (const int error, const int subcode,
const uint8_t* error_data = 0,
const size_t len = 0)
| pretty_print_error_code |
[static]
Generate a human readable error string.
const uint8_t* error_data ()
| error_data |
[const]
bool encode (uint8_t *buf, size_t &len, const BGPPeerData *peerdata)
| encode |
[const]
Reimplemented from BGPPacket.
string str ()
| str |
[const]
Reimplemented from BGPPacket.
bool operator== (const NotificationPacket& him)
| operator== |
[const]