class BGPPacket


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

Protected Methods

Protected Members


Detailed Description

enum Status { GOOD_MESSAGE, ILLEGAL_MESSAGE_LENGTH, CONNECTION_CLOSED, }

Status

Status returned by message reader.

 BGPPacket ()

BGPPacket

 ~BGPPacket ()

~BGPPacket

[virtual]

const uint8_t * encode (int& len)

encode

[const pure virtual]

const uint8_t * flatten (struct iovec *iov, int cnt, int& len)

flatten

[const]

uint8_t  get_type ()

get_type

[const]

void  set_marker (uint8_t* m)

set_marker

const uint8_t*  get_marker ()

get_marker

[const]

uint16_t  get_length ()

get_length

[const]

string  str ()

str

[const pure virtual]

 BGPPacket (const BGPPacket& BGPPacket)

BGPPacket

[protected]

const uint8_t* _Data

_Data

[protected]

uint16_t _Length

_Length

[protected]

uint8_t* _Marker

_Marker

[protected]

uint8_t _Type

_Type

[protected]


Generated by: pavlin on possum.icir.org on Wed Dec 11 16:50:58 2002, using kdoc 2.0a54+XORP.