class NotificationPacket


Definition#include <packet.hh>
InheritsBGPPacket [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods


Detailed Description

 NotificationPacket (const uint8_t *d, uint16_t l)
throw(InvalidPacket)

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)

pretty_print_error_code

[static]

Generate a human readable error string.

const uint8_t*  error_data ()

error_data

[const]

const uint8_t * encode (size_t &len, uint8_t *buf = 0)

encode

[const]

Reimplemented from BGPPacket.

string  str ()

str

[const]

Reimplemented from BGPPacket.

bool  operator== (const NotificationPacket& him)

operator==

[const]


Generated by: pavlin on possum.icir.org on Thu Aug 28 12:52:17 2003, using kdoc 2.0a54+XORP.