xorp

PrintPeers Class Reference

Inheritance diagram for PrintPeers:
XrlBgpV0p3Client

List of all members.

Public Member Functions

 PrintPeers (bool verbose, int interval)
void get_peer_list_start ()
void get_peer_list_start_done (const XrlError &e, const uint32_t *token, const bool *more)
void get_peer_list_next ()
void get_peer_list_next_done (const XrlError &e, const string *local_ip, const uint32_t *local_port, const string *peer_ip, const uint32_t *peer_port, const bool *more)
void print_peer_verbose (const string &local_ip, uint32_t local_port, const string &peer_ip, uint32_t peer_port)
void get_peer_id_done (const XrlError &e, const IPv4 *peer_id)
void get_peer_status_done (const XrlError &e, const uint32_t *peer_state, const uint32_t *admin_status)
void get_peer_negotiated_version_done (const XrlError &, const int32_t *neg_version)
void get_peer_as_done (const XrlError &e, const string *peer_as)
void get_peer_msg_stats_done (const XrlError &e, const uint32_t *in_updates, const uint32_t *out_updates, const uint32_t *in_msgs, const uint32_t *out_msgs, const uint32_t *last_error, const uint32_t *in_update_elapsed)
void get_peer_established_stats_done (const XrlError &, const uint32_t *transitions, const uint32_t *established_time)
void get_peer_timer_config_done (const XrlError &e, const uint32_t *retry_interval, const uint32_t *hold_time, const uint32_t *keep_alive, const uint32_t *hold_time_conf, const uint32_t *keep_alive_conf, const uint32_t *min_as_origination_interval, const uint32_t *min_route_adv_interval)
void do_verbose_peer_print ()
string time_units (uint32_t s) const

Private Attributes

EventLoop _eventloop
XrlStdRouter _xrl_rtr
bool _verbose
uint32_t _token
bool _done
uint32_t _count
bool _prev_no_bgp
bool _prev_no_peers
bool _more
uint32_t _received
IPv4 _peer_id
uint32_t _peer_state
uint32_t _admin_state
int32_t _negotiated_version
uint32_t _peer_as
uint32_t _in_updates
uint32_t _out_updates
uint32_t _in_msgs
uint32_t _out_msgs
uint32_t _last_error
uint32_t _in_update_elapsed
uint32_t _transitions
uint32_t _established_time
uint32_t _retry_interval
uint32_t _hold_time
uint32_t _keep_alive
uint32_t _hold_time_conf
uint32_t _keep_alive_conf
uint32_t _min_as_origination_interval
uint32_t _min_route_adv_interval

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations