class BGPPacket

The main container for BGP messages (packets) which are sent back and forth. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods

Public Members


Detailed Description

The main container for BGP messages (packets) which are sent back and forth.

This base class only contains the standard fields (length, type) leaving other information to be stored in the derived objects.

enum Status { GOOD_MESSAGE, ILLEGAL_MESSAGE_LENGTH, CONNECTION_CLOSED, }

Status

Status returned by message reader.

static const uint8_t Marker[MARKER_SIZE]

Marker[MARKER_SIZE]

 BGPPacket ()

BGPPacket

 ~BGPPacket ()

~BGPPacket

[virtual]

uint8_t  type ()

type

[const]

string  str ()

str

[const pure virtual]

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

encode

[const pure virtual]

uint8_t * basic_encode (size_t len, uint8_t *buf)

basic_encode

[const]

 BGPPacket (const BGPPacket& BGPPacket)

BGPPacket

uint8_t _Type

_Type


Generated by: pavlin on possum.icir.org on Wed Aug 2 15:36:33 2006, using kdoc $.