class BGPPacket

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

Contains pure virtuals
Definition#include <packet.hh>
Inherited byKeepAlivePacket, NotificationPacket, OpenPacket, UpdatePacket
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

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 Thu Aug 28 12:52:17 2003, using kdoc 2.0a54+XORP.