class BGPPeer


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

Public Methods

Public Members


Detailed Description

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

BGPPeer

 ~BGPPeer ()

~BGPPeer

[virtual]

void  connected (int s)

connected

int  get_sock ()

get_sock

bool  same_sockaddr (struct sockaddr_in *sinp)

same_sockaddr

void  event_start ()

event_start

state machine handlers for the various BGP events

void  event_stop ()

event_stop

void  event_open ()

event_open

void  event_open (const int sock)

event_open

void  event_closed ()

event_closed

void  event_openfail ()

event_openfail

void  event_tranfatal ()

event_tranfatal

void  event_connexp ()

event_connexp

void  event_holdexp ()

event_holdexp

void  event_keepexp ()

event_keepexp

void  event_openmess (const OpenPacket* p)

event_openmess

void  event_keepmess ()

event_keepmess

void  event_recvupdate (const UpdatePacket *p)

event_recvupdate

void  event_recvnotify ()

event_recvnotify

void  notify_peer_of_error (const int error, const int subcode, const uint8_t*data = 0, const size_t len = 0)

notify_peer_of_error

FSMState  state ()

state

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

string  str ()

str

bool  is_connected ()

is_connected

[const]

bool  still_reading ()

still_reading

[const]

LocalData* _localdata

_localdata

BGPMain*  main ()

main

const BGPPeerData*  peerdata ()

peerdata

[const]

bool  ibgp ()

ibgp

[const]

bool  send_netreachability (const BGPUpdateAttrib &n)

send_netreachability

send the netreachability message, return send result.

PeerOutputState  send_update_message (const UpdatePacket& p)

send_update_message

[virtual]

uint32_t  get_established_transitions ()

get_established_transitions

[const]

uint32_t  get_established_time ()

get_established_time

[const]

void  get_msg_stats (uint32_t& in_updates, uint32_t& out_updates, uint32_t& in_msgs, uint32_t& out_msgs, uint16_t& last_error, uint32_t& in_update_elapsed)

get_msg_stats

[const]


Generated by: pavlin on possum.icir.org on Mon Mar 10 19:34:59 2003, using kdoc 2.0a54+XORP.