class BGPPeer


Definition#include <peer.hh>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods

Public Members


Detailed Description

 BGPPeer (LocalData *ld, BGPPeerData *pd, SocketClient *sock, BGPMain *m)

BGPPeer

 ~BGPPeer ()

~BGPPeer

[virtual]

FSMState  get_ConnectionState ()

get_ConnectionState

void  set_ConnectionState (FSMState s)

set_ConnectionState

void  connected (int s)

connected

int  get_sock ()

get_sock

bool  same_sockaddr (struct sockaddr_in *sinp)

same_sockaddr

void  action (FSMEvent e, const int sock)

action

void  action (FSMEvent ConnectionEvent, const int error, const int subcode, const uint8_t*data = 0, const size_t len = 0)

action

void  action (FSMEvent e, const BGPPacket *p = NULL)

action

void  clear_all_timers ()

clear_all_timers

void  start_connect_retry_timer ()

start_connect_retry_timer

void  clear_connect_retry_timer ()

clear_connect_retry_timer

void  restart_connect_retry_timer ()

restart_connect_retry_timer

void  start_keepalive_timer ()

start_keepalive_timer

void  clear_keepalive_timer ()

clear_keepalive_timer

void  restart_keepalive_timer ()

restart_keepalive_timer

void  start_hold_timer ()

start_hold_timer

void  clear_hold_timer ()

clear_hold_timer

void  restart_hold_timer ()

restart_hold_timer

void  start_stopped_timer ()

start_stopped_timer

void  clear_stopped_timer ()

clear_stopped_timer

bool  get_message (BGPPacket::Status status, const uint8_t *buf, size_t len)

get_message

PeerOutputState  send_message (const BGPPacket& p)

send_message

void  send_message_complete (SocketClient::Event, const uint8_t *buf)

send_message_complete

void  check_hold_duration (int32_t hold_secs)
throw(CorruptMessage)

check_hold_duration

[static]

string  str ()

str

bool  is_connected ()

is_connected

bool  still_reading ()

still_reading

LocalData* _localdata

_localdata

BGPMain*  main ()

main

const BGPPeerData*  peerdata ()

peerdata

bool  ibgp ()

ibgp

bool  send_netreachability (const NetLayerReachability &n)

send_netreachability

PeerOutputState  send_update_message (const UpdatePacket& p)

send_update_message

[virtual]


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