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 size_t MARKER_SIZE

MARKER_SIZE

static const size_t COMMON_HEADER_LEN

COMMON_HEADER_LEN

static const size_t MARKER_OFFSET

MARKER_OFFSET

static const size_t LENGTH_OFFSET

LENGTH_OFFSET

static const size_t TYPE_OFFSET

TYPE_OFFSET

static const size_t MINPACKETSIZE

MINPACKETSIZE

static const size_t MAXPACKETSIZE

MAXPACKETSIZE

static const size_t MINOPENPACKET

MINOPENPACKET

static const size_t MINUPDATEPACKET

MINUPDATEPACKET

static const size_t MINKEEPALIVEPACKET

MINKEEPALIVEPACKET

static const size_t MINNOTIFICATIONPACKET

MINNOTIFICATIONPACKET

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]

bool  encode (uint8_t *buf, size_t &len, const BGPPeerData *peerdata)

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 kobe.xorp.net on Wed Jan 7 19:11:04 2009, using kdoc 2.0a54+XORP.