xorp

XrlRipTargetBase Class Reference

Inheritance diagram for XrlRipTargetBase:
XrlRipTarget

List of all members.

Classes

struct  handler_table

Public Member Functions

 XrlRipTargetBase (XrlCmdMap *cmds=0)
 Constructor.
virtual ~XrlRipTargetBase ()
 Destructor.
bool set_command_map (XrlCmdMap *cmds)
 Set command map.
const string & get_name () const
 Get Xrl instance name associated with command map.
const char * version () const
 Get version string of instance.
 XrlRipTargetBase (XrlCmdMap *cmds=0)
 Constructor.
virtual ~XrlRipTargetBase ()
 Destructor.
bool set_command_map (XrlCmdMap *cmds)
 Set command map.
const string & get_name () const
 Get Xrl instance name associated with command map.
const char * version () const
 Get version string of instance.

Protected Member Functions

virtual XrlCmdError common_0_1_get_target_name (string &name)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError common_0_1_get_version (string &version)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError common_0_1_get_status (uint32_t &status, string &reason)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError common_0_1_shutdown ()=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError common_0_1_startup ()=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError finder_event_observer_0_1_xrl_target_birth (const string &target_class, const string &target_instance)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError finder_event_observer_0_1_xrl_target_death (const string &target_class, const string &target_instance)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError policy_backend_0_1_configure (const uint32_t &filter, const string &conf)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError policy_backend_0_1_reset (const uint32_t &filter)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError policy_backend_0_1_push_routes ()=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError policy_redist4_0_1_add_route4 (const IPv4Net &network, const bool &unicast, const bool &multicast, const IPv4 &nexthop, const uint32_t &metric, const XrlAtomList &policytags)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError policy_redist4_0_1_delete_route4 (const IPv4Net &network, const bool &unicast, const bool &multicast)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_add_rip_address (const string &ifname, const string &vifname, const IPv4 &addr)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_remove_rip_address (const string &ifname, const string &vifname, const IPv4 &addr)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_rip_address_enabled (const string &ifname, const string &vifname, const IPv4 &addr, const bool &enabled)=0
virtual XrlCmdError rip_0_1_rip_address_enabled (const string &ifname, const string &vifname, const IPv4 &addr, bool &enabled)=0
virtual XrlCmdError rip_0_1_set_cost (const string &ifname, const string &vifname, const IPv4 &addr, const uint32_t &cost)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_cost (const string &ifname, const string &vifname, const IPv4 &addr, uint32_t &cost)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_horizon (const string &ifname, const string &vifname, const IPv4 &addr, const string &horizon)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_horizon (const string &ifname, const string &vifname, const IPv4 &addr, string &horizon)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_passive (const string &ifname, const string &vifname, const IPv4 &addr, const bool &passive)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_passive (const string &ifname, const string &vifname, const IPv4 &addr, bool &passive)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_accept_non_rip_requests (const string &ifname, const string &vifname, const IPv4 &addr, const bool &accept)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_accept_non_rip_requests (const string &ifname, const string &vifname, const IPv4 &addr, bool &accept)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_accept_default_route (const string &ifname, const string &vifname, const IPv4 &addr, const bool &accept)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_accept_default_route (const string &ifname, const string &vifname, const IPv4 &addr, bool &accept)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_advertise_default_route (const string &ifname, const string &vifname, const IPv4 &addr, const bool &advertise)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_advertise_default_route (const string &ifname, const string &vifname, const IPv4 &addr, bool &advertise)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_route_timeout (const string &ifname, const string &vifname, const IPv4 &addr, const uint32_t &t_secs)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_route_timeout (const string &ifname, const string &vifname, const IPv4 &addr, uint32_t &t_secs)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_deletion_delay (const string &ifname, const string &vifname, const IPv4 &addr, const uint32_t &t_secs)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_deletion_delay (const string &ifname, const string &vifname, const IPv4 &addr, uint32_t &t_secs)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_request_interval (const string &ifname, const string &vifname, const IPv4 &addr, const uint32_t &t_secs)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_request_interval (const string &ifname, const string &vifname, const IPv4 &addr, uint32_t &t_secs)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_update_interval (const string &ifname, const string &vifname, const IPv4 &addr, const uint32_t &t_secs)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_update_interval (const string &ifname, const string &vifname, const IPv4 &addr, uint32_t &t_secs)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_update_jitter (const string &ifname, const string &vifname, const IPv4 &addr, const uint32_t &t_jitter)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_update_jitter (const string &ifname, const string &vifname, const IPv4 &addr, uint32_t &t_jitter)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_triggered_update_delay (const string &ifname, const string &vifname, const IPv4 &addr, const uint32_t &t_secs)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_triggered_update_delay (const string &ifname, const string &vifname, const IPv4 &addr, uint32_t &t_secs)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_triggered_update_jitter (const string &ifname, const string &vifname, const IPv4 &addr, const uint32_t &t_jitter)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_triggered_update_jitter (const string &ifname, const string &vifname, const IPv4 &addr, uint32_t &t_jitter)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_interpacket_delay (const string &ifname, const string &vifname, const IPv4 &addr, const uint32_t &t_msecs)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_interpacket_delay (const string &ifname, const string &vifname, const IPv4 &addr, uint32_t &t_msecs)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_simple_authentication_key (const string &ifname, const string &vifname, const IPv4 &addr, const string &password)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_delete_simple_authentication_key (const string &ifname, const string &vifname, const IPv4 &addr)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_md5_authentication_key (const string &ifname, const string &vifname, const IPv4 &addr, const uint32_t &key_id, const string &password, const string &start_time, const string &end_time)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_delete_md5_authentication_key (const string &ifname, const string &vifname, const IPv4 &addr, const uint32_t &key_id)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_rip_address_status (const string &ifname, const string &vifname, const IPv4 &addr, string &status)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_get_all_addresses (XrlAtomList &ifnames, XrlAtomList &vifnames, XrlAtomList &addrs)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_get_counters (const string &ifname, const string &vifname, const IPv4 &addr, XrlAtomList &counter_descriptions, XrlAtomList &counter_values)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_get_peers (const string &ifname, const string &vifname, const IPv4 &addr, XrlAtomList &peers)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_get_all_peers (XrlAtomList &peers, XrlAtomList &ifnames, XrlAtomList &vifnames, XrlAtomList &addrs)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_get_peer_counters (const string &ifname, const string &vifname, const IPv4 &addr, const IPv4 &peer, XrlAtomList &counter_descriptions, XrlAtomList &counter_values, uint32_t &peer_last_active)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_trace (const string &tvar, const bool &enable)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError socket4_user_0_1_recv_event (const string &sockid, const string &if_name, const string &vif_name, const IPv4 &src_host, const uint32_t &src_port, const vector< uint8_t > &data)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError socket4_user_0_1_inbound_connect_event (const string &sockid, const IPv4 &src_host, const uint32_t &src_port, const string &new_sockid, bool &accept)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError socket4_user_0_1_outgoing_connect_event (const string &sockid)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError socket4_user_0_1_error_event (const string &sockid, const string &error, const bool &fatal)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError socket4_user_0_1_disconnect_event (const string &sockid)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError common_0_1_get_target_name (string &name)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError common_0_1_get_version (string &version)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError common_0_1_get_status (uint32_t &status, string &reason)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError common_0_1_shutdown ()=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError common_0_1_startup ()=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError finder_event_observer_0_1_xrl_target_birth (const string &target_class, const string &target_instance)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError finder_event_observer_0_1_xrl_target_death (const string &target_class, const string &target_instance)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError policy_backend_0_1_configure (const uint32_t &filter, const string &conf)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError policy_backend_0_1_reset (const uint32_t &filter)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError policy_backend_0_1_push_routes ()=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError policy_redist4_0_1_add_route4 (const IPv4Net &network, const bool &unicast, const bool &multicast, const IPv4 &nexthop, const uint32_t &metric, const XrlAtomList &policytags)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError policy_redist4_0_1_delete_route4 (const IPv4Net &network, const bool &unicast, const bool &multicast)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_add_rip_address (const string &ifname, const string &vifname, const IPv4 &addr)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_remove_rip_address (const string &ifname, const string &vifname, const IPv4 &addr)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_rip_address_enabled (const string &ifname, const string &vifname, const IPv4 &addr, const bool &enabled)=0
virtual XrlCmdError rip_0_1_rip_address_enabled (const string &ifname, const string &vifname, const IPv4 &addr, bool &enabled)=0
virtual XrlCmdError rip_0_1_set_cost (const string &ifname, const string &vifname, const IPv4 &addr, const uint32_t &cost)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_cost (const string &ifname, const string &vifname, const IPv4 &addr, uint32_t &cost)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_horizon (const string &ifname, const string &vifname, const IPv4 &addr, const string &horizon)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_horizon (const string &ifname, const string &vifname, const IPv4 &addr, string &horizon)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_passive (const string &ifname, const string &vifname, const IPv4 &addr, const bool &passive)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_passive (const string &ifname, const string &vifname, const IPv4 &addr, bool &passive)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_accept_non_rip_requests (const string &ifname, const string &vifname, const IPv4 &addr, const bool &accept)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_accept_non_rip_requests (const string &ifname, const string &vifname, const IPv4 &addr, bool &accept)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_accept_default_route (const string &ifname, const string &vifname, const IPv4 &addr, const bool &accept)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_accept_default_route (const string &ifname, const string &vifname, const IPv4 &addr, bool &accept)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_advertise_default_route (const string &ifname, const string &vifname, const IPv4 &addr, const bool &advertise)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_advertise_default_route (const string &ifname, const string &vifname, const IPv4 &addr, bool &advertise)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_route_timeout (const string &ifname, const string &vifname, const IPv4 &addr, const uint32_t &t_secs)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_route_timeout (const string &ifname, const string &vifname, const IPv4 &addr, uint32_t &t_secs)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_deletion_delay (const string &ifname, const string &vifname, const IPv4 &addr, const uint32_t &t_secs)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_deletion_delay (const string &ifname, const string &vifname, const IPv4 &addr, uint32_t &t_secs)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_request_interval (const string &ifname, const string &vifname, const IPv4 &addr, const uint32_t &t_secs)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_request_interval (const string &ifname, const string &vifname, const IPv4 &addr, uint32_t &t_secs)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_update_interval (const string &ifname, const string &vifname, const IPv4 &addr, const uint32_t &t_secs)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_update_interval (const string &ifname, const string &vifname, const IPv4 &addr, uint32_t &t_secs)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_update_jitter (const string &ifname, const string &vifname, const IPv4 &addr, const uint32_t &t_jitter)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_update_jitter (const string &ifname, const string &vifname, const IPv4 &addr, uint32_t &t_jitter)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_triggered_update_delay (const string &ifname, const string &vifname, const IPv4 &addr, const uint32_t &t_secs)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_triggered_update_delay (const string &ifname, const string &vifname, const IPv4 &addr, uint32_t &t_secs)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_triggered_update_jitter (const string &ifname, const string &vifname, const IPv4 &addr, const uint32_t &t_jitter)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_triggered_update_jitter (const string &ifname, const string &vifname, const IPv4 &addr, uint32_t &t_jitter)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_interpacket_delay (const string &ifname, const string &vifname, const IPv4 &addr, const uint32_t &t_msecs)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_interpacket_delay (const string &ifname, const string &vifname, const IPv4 &addr, uint32_t &t_msecs)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_simple_authentication_key (const string &ifname, const string &vifname, const IPv4 &addr, const string &password)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_delete_simple_authentication_key (const string &ifname, const string &vifname, const IPv4 &addr)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_set_md5_authentication_key (const string &ifname, const string &vifname, const IPv4 &addr, const uint32_t &key_id, const string &password, const string &start_time, const string &end_time)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_delete_md5_authentication_key (const string &ifname, const string &vifname, const IPv4 &addr, const uint32_t &key_id)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_rip_address_status (const string &ifname, const string &vifname, const IPv4 &addr, string &status)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_get_all_addresses (XrlAtomList &ifnames, XrlAtomList &vifnames, XrlAtomList &addrs)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_get_counters (const string &ifname, const string &vifname, const IPv4 &addr, XrlAtomList &counter_descriptions, XrlAtomList &counter_values)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_get_peers (const string &ifname, const string &vifname, const IPv4 &addr, XrlAtomList &peers)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_get_all_peers (XrlAtomList &peers, XrlAtomList &ifnames, XrlAtomList &vifnames, XrlAtomList &addrs)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_get_peer_counters (const string &ifname, const string &vifname, const IPv4 &addr, const IPv4 &peer, XrlAtomList &counter_descriptions, XrlAtomList &counter_values, uint32_t &peer_last_active)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError rip_0_1_trace (const string &tvar, const bool &enable)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError socket4_user_0_1_recv_event (const string &sockid, const string &if_name, const string &vif_name, const IPv4 &src_host, const uint32_t &src_port, const vector< uint8_t > &data)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError socket4_user_0_1_inbound_connect_event (const string &sockid, const IPv4 &src_host, const uint32_t &src_port, const string &new_sockid, bool &accept)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError socket4_user_0_1_outgoing_connect_event (const string &sockid)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError socket4_user_0_1_error_event (const string &sockid, const string &error, const bool &fatal)=0
 Pure-virtual function that needs to be implemented to:
virtual XrlCmdError socket4_user_0_1_disconnect_event (const string &sockid)=0
 Pure-virtual function that needs to be implemented to:

Protected Attributes

XrlCmdMap_cmds

Private Member Functions

XrlCmdRT handle_common_0_1_get_target_name (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_common_0_1_get_version (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_common_0_1_get_status (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_common_0_1_shutdown (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_common_0_1_startup (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_finder_event_observer_0_1_xrl_target_birth (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_finder_event_observer_0_1_xrl_target_death (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_policy_backend_0_1_configure (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_policy_backend_0_1_reset (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_policy_backend_0_1_push_routes (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_policy_redist4_0_1_add_route4 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_policy_redist4_0_1_delete_route4 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_add_rip_address (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_remove_rip_address (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_rip_address_enabled (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_rip_address_enabled (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_cost (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_cost (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_horizon (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_horizon (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_passive (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_passive (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_accept_non_rip_requests (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_accept_non_rip_requests (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_accept_default_route (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_accept_default_route (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_advertise_default_route (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_advertise_default_route (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_route_timeout (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_route_timeout (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_deletion_delay (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_deletion_delay (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_request_interval (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_request_interval (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_update_interval (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_update_interval (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_update_jitter (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_update_jitter (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_triggered_update_delay (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_triggered_update_delay (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_triggered_update_jitter (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_triggered_update_jitter (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_interpacket_delay (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_interpacket_delay (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_simple_authentication_key (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_delete_simple_authentication_key (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_md5_authentication_key (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_delete_md5_authentication_key (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_rip_address_status (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_get_all_addresses (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_get_counters (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_get_peers (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_get_all_peers (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_get_peer_counters (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_trace (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_socket4_user_0_1_recv_event (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_socket4_user_0_1_inbound_connect_event (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_socket4_user_0_1_outgoing_connect_event (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_socket4_user_0_1_error_event (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_socket4_user_0_1_disconnect_event (const XrlArgs &in, XrlCmdOT out)
void add_handlers ()
void remove_handlers ()
XrlCmdRT handle_common_0_1_get_target_name (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_common_0_1_get_version (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_common_0_1_get_status (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_common_0_1_shutdown (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_common_0_1_startup (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_finder_event_observer_0_1_xrl_target_birth (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_finder_event_observer_0_1_xrl_target_death (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_policy_backend_0_1_configure (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_policy_backend_0_1_reset (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_policy_backend_0_1_push_routes (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_policy_redist4_0_1_add_route4 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_policy_redist4_0_1_delete_route4 (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_add_rip_address (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_remove_rip_address (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_rip_address_enabled (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_rip_address_enabled (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_cost (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_cost (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_horizon (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_horizon (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_passive (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_passive (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_accept_non_rip_requests (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_accept_non_rip_requests (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_accept_default_route (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_accept_default_route (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_advertise_default_route (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_advertise_default_route (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_route_timeout (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_route_timeout (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_deletion_delay (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_deletion_delay (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_request_interval (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_request_interval (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_update_interval (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_update_interval (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_update_jitter (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_update_jitter (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_triggered_update_delay (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_triggered_update_delay (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_triggered_update_jitter (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_triggered_update_jitter (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_interpacket_delay (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_interpacket_delay (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_simple_authentication_key (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_delete_simple_authentication_key (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_set_md5_authentication_key (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_delete_md5_authentication_key (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_rip_address_status (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_get_all_addresses (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_get_counters (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_get_peers (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_get_all_peers (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_get_peer_counters (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_rip_0_1_trace (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_socket4_user_0_1_recv_event (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_socket4_user_0_1_inbound_connect_event (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_socket4_user_0_1_outgoing_connect_event (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_socket4_user_0_1_error_event (const XrlArgs &in, XrlCmdOT out)
XrlCmdRT handle_socket4_user_0_1_disconnect_event (const XrlArgs &in, XrlCmdOT out)
void add_handlers ()
void remove_handlers ()

Static Private Attributes

static struct handler_table handlers []
static const size_t num_handlers = (sizeof(XrlRipTargetBase::handlers) / sizeof(XrlRipTargetBase::handlers[0]))

Constructor & Destructor Documentation

XrlRipTargetBase::XrlRipTargetBase ( XrlCmdMap cmds = 0)

Constructor.

Parameters:
cmdsan XrlCmdMap that the commands associated with the target should be added to. This is typically the XrlRouter associated with the target.
XrlRipTargetBase::~XrlRipTargetBase ( ) [virtual]

Destructor.

Dissociates instance commands from command map.

XrlRipTargetBase::XrlRipTargetBase ( XrlCmdMap cmds = 0)

Constructor.

Parameters:
cmdsan XrlCmdMap that the commands associated with the target should be added to. This is typically the XrlRouter associated with the target.
virtual XrlRipTargetBase::~XrlRipTargetBase ( ) [virtual]

Destructor.

Dissociates instance commands from command map.


Member Function Documentation

virtual XrlCmdError XrlRipTargetBase::common_0_1_get_status ( uint32_t &  status,
string &  reason 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get status of Xrl Target

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::common_0_1_get_status ( uint32_t &  status,
string &  reason 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get status of Xrl Target

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::common_0_1_get_target_name ( string &  name) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get name of Xrl Target

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::common_0_1_get_target_name ( string &  name) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get name of Xrl Target

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::common_0_1_get_version ( string &  version) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get version string from Xrl Target

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::common_0_1_get_version ( string &  version) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get version string from Xrl Target

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::common_0_1_shutdown ( ) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Request clean shutdown of Xrl Target

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::common_0_1_shutdown ( ) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Request clean shutdown of Xrl Target

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::common_0_1_startup ( ) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Request a startup of Xrl Target

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::common_0_1_startup ( ) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Request a startup of Xrl Target

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::finder_event_observer_0_1_xrl_target_birth ( const string &  target_class,
const string &  target_instance 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Announce target birth to observer.

Parameters:
target_classthe target class name.
target_instancethe target instance name.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::finder_event_observer_0_1_xrl_target_birth ( const string &  target_class,
const string &  target_instance 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Announce target birth to observer.

Parameters:
target_classthe target class name.
target_instancethe target instance name.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::finder_event_observer_0_1_xrl_target_death ( const string &  target_class,
const string &  target_instance 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Announce target death to observer.

Parameters:
target_classthe target class name.
target_instancethe target instance name.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::finder_event_observer_0_1_xrl_target_death ( const string &  target_class,
const string &  target_instance 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Announce target death to observer.

Parameters:
target_classthe target class name.
target_instancethe target instance name.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::policy_backend_0_1_configure ( const uint32_t &  filter,
const string &  conf 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Configure a policy filter.

Parameters:
filterthe identifier of the filter to configure.
confthe configuration of the filter.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::policy_backend_0_1_configure ( const uint32_t &  filter,
const string &  conf 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Configure a policy filter.

Parameters:
filterthe identifier of the filter to configure.
confthe configuration of the filter.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::policy_backend_0_1_push_routes ( ) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Push all available routes through all filters for re-filtering.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::policy_backend_0_1_push_routes ( ) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Push all available routes through all filters for re-filtering.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::policy_backend_0_1_reset ( const uint32_t &  filter) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Reset a policy filter.

Parameters:
filterthe identifier of the filter to reset.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::policy_backend_0_1_reset ( const uint32_t &  filter) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Reset a policy filter.

Parameters:
filterthe identifier of the filter to reset.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::policy_redist4_0_1_add_route4 ( const IPv4Net network,
const bool &  unicast,
const bool &  multicast,
const IPv4 nexthop,
const uint32_t &  metric,
const XrlAtomList policytags 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Start route redistribution for an IPv4 route.

Parameters:
networkthe route to advertise.
unicastwhether the route is unicast.
multicastwhether the route is multicast.
nexthopthe nexthop of the route.
metricthe metric of the route.
policytagsthe set of policy-tags associated with the route.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::policy_redist4_0_1_add_route4 ( const IPv4Net network,
const bool &  unicast,
const bool &  multicast,
const IPv4 nexthop,
const uint32_t &  metric,
const XrlAtomList policytags 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Start route redistribution for an IPv4 route.

Parameters:
networkthe route to advertise.
unicastwhether the route is unicast.
multicastwhether the route is multicast.
nexthopthe nexthop of the route.
metricthe metric of the route.
policytagsthe set of policy-tags associated with the route.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::policy_redist4_0_1_delete_route4 ( const IPv4Net network,
const bool &  unicast,
const bool &  multicast 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Terminate route redistribution for an IPv4 route.

Parameters:
networkthe route for which advertisements should cease.
unicastwhether the route is unicast.
multicastwhether the route is multicast.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::policy_redist4_0_1_delete_route4 ( const IPv4Net network,
const bool &  unicast,
const bool &  multicast 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Terminate route redistribution for an IPv4 route.

Parameters:
networkthe route for which advertisements should cease.
unicastwhether the route is unicast.
multicastwhether the route is multicast.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_accept_default_route ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
bool &  accept 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Accessor for whether default route is accepted from peers.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_accept_default_route ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
bool &  accept 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Accessor for whether default route is accepted from peers.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_accept_non_rip_requests ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
bool &  accept 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get value indicating whether non-RIP requests are accepted and responded to on interface/vif/address.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_accept_non_rip_requests ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
bool &  accept 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get value indicating whether non-RIP requests are accepted and responded to on interface/vif/address.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_add_rip_address ( const string &  ifname,
const string &  vifname,
const IPv4 addr 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Add an address to run RIP process on. The addition of address is not instantaneous, RIP has to instantiate state in the FEA to send and receive packets. Once instantiated the address must be explicitly enabled with set_rip_address_enabled.

Parameters:
ifnamethe interface that owns vif that has address.
vifnamevirtual interface owning address.
addrthe address to be added.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_add_rip_address ( const string &  ifname,
const string &  vifname,
const IPv4 addr 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Add an address to run RIP process on. The addition of address is not instantaneous, RIP has to instantiate state in the FEA to send and receive packets. Once instantiated the address must be explicitly enabled with set_rip_address_enabled.

Parameters:
ifnamethe interface that owns vif that has address.
vifnamevirtual interface owning address.
addrthe address to be added.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_advertise_default_route ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
bool &  advertise 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Accessor for whether default route is advertised.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_advertise_default_route ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
bool &  advertise 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Accessor for whether default route is advertised.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_cost ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
uint32_t &  cost 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get cost metric associated with address.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_cost ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
uint32_t &  cost 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get cost metric associated with address.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_delete_md5_authentication_key ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const uint32_t &  key_id 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Delete MD5 authentication key.

Parameters:
ifnamethe interface name.
vifnamethe vif name.
addrthe address.
key_idthe key ID (must be an integer in the interval [0, 255]).

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_delete_md5_authentication_key ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const uint32_t &  key_id 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Delete MD5 authentication key.

Parameters:
ifnamethe interface name.
vifnamethe vif name.
addrthe address.
key_idthe key ID (must be an integer in the interval [0, 255]).

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_delete_simple_authentication_key ( const string &  ifname,
const string &  vifname,
const IPv4 addr 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Delete simple password authentication key.

Parameters:
ifnamethe interface name.
vifnamethe vif name.
addrthe address.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_delete_simple_authentication_key ( const string &  ifname,
const string &  vifname,
const IPv4 addr 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Delete simple password authentication key.

Parameters:
ifnamethe interface name.
vifnamethe vif name.
addrthe address.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_deletion_delay ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
uint32_t &  t_secs 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get period that routes associated with reception address will be deleted after they've expired.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_deletion_delay ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
uint32_t &  t_secs 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get period that routes associated with reception address will be deleted after they've expired.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_get_all_addresses ( XrlAtomList ifnames,
XrlAtomList vifnames,
XrlAtomList addrs 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get addresses running RIP.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_get_all_addresses ( XrlAtomList ifnames,
XrlAtomList vifnames,
XrlAtomList addrs 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get addresses running RIP.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_get_all_peers ( XrlAtomList peers,
XrlAtomList ifnames,
XrlAtomList vifnames,
XrlAtomList addrs 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get list of all peers known to RIP. There is a 1-to-1 correspondence between the items in the lists of peers, ifnames, vifnames, addrs.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_get_all_peers ( XrlAtomList peers,
XrlAtomList ifnames,
XrlAtomList vifnames,
XrlAtomList addrs 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get list of all peers known to RIP. There is a 1-to-1 correspondence between the items in the lists of peers, ifnames, vifnames, addrs.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_get_counters ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
XrlAtomList counter_descriptions,
XrlAtomList counter_values 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get counters associated with interface / vif /address.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_get_counters ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
XrlAtomList counter_descriptions,
XrlAtomList counter_values 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get counters associated with interface / vif /address.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_get_peer_counters ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const IPv4 peer,
XrlAtomList counter_descriptions,
XrlAtomList counter_values,
uint32_t &  peer_last_active 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get counters associated with peer of interface / vif /address.

Parameters:
counter_descriptionstextual descriptions of counters.
counter_valuesvalues associated with counters.
peer_last_activeis the number of seconds since TimeVal(0,0).

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_get_peer_counters ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const IPv4 peer,
XrlAtomList counter_descriptions,
XrlAtomList counter_values,
uint32_t &  peer_last_active 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get counters associated with peer of interface / vif /address.

Parameters:
counter_descriptionstextual descriptions of counters.
counter_valuesvalues associated with counters.
peer_last_activeis the number of seconds since TimeVal(0,0).

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_get_peers ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
XrlAtomList peers 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get the list of peers associated with interface / vif / address.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_get_peers ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
XrlAtomList peers 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get the list of peers associated with interface / vif / address.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_horizon ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
string &  horizon 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get horizon type applied to routes advertised from address.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_horizon ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
string &  horizon 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get horizon type applied to routes advertised from address.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_interpacket_delay ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
uint32_t &  t_msecs 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get the inter-packet delay between the output of packets from address.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_interpacket_delay ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
uint32_t &  t_msecs 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get the inter-packet delay between the output of packets from address.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_passive ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
bool &  passive 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get value indicating whether RIP is passive (receive only) on interface/vif/address.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_passive ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
bool &  passive 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get value indicating whether RIP is passive (receive only) on interface/vif/address.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_remove_rip_address ( const string &  ifname,
const string &  vifname,
const IPv4 addr 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Remove an address RIP process is running on.

Parameters:
ifnamethe interface that owns vif that has address.
vifnamevirtual interface owning address.
addrthe address to be removed.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_remove_rip_address ( const string &  ifname,
const string &  vifname,
const IPv4 addr 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Remove an address RIP process is running on.

Parameters:
ifnamethe interface that owns vif that has address.
vifnamevirtual interface owning address.
addrthe address to be removed.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_request_interval ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
uint32_t &  t_secs 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set period that route table requests should be sent from address when no peers are associated with it.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_request_interval ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
uint32_t &  t_secs 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set period that route table requests should be sent from address when no peers are associated with it.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_rip_address_status ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
string &  status 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get a textual description of the status of address RIP is running upon.

Parameters:
ifnamethe interface that owns vif that has the address.
vifnamevirtual interface owns the address.
addrthe address to query.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_rip_address_status ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
string &  status 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get a textual description of the status of address RIP is running upon.

Parameters:
ifnamethe interface that owns vif that has the address.
vifnamevirtual interface owns the address.
addrthe address to query.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_route_timeout ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
uint32_t &  t_secs 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get period that routes associated with reception address will expire in the absence of updates.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_route_timeout ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
uint32_t &  t_secs 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get period that routes associated with reception address will expire in the absence of updates.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_accept_default_route ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const bool &  accept 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Accept default route from peers.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_accept_default_route ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const bool &  accept 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Accept default route from peers.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_accept_non_rip_requests ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const bool &  accept 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Accept and respond to non-RIP requests.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_accept_non_rip_requests ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const bool &  accept 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Accept and respond to non-RIP requests.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_advertise_default_route ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const bool &  advertise 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Advertise default route (if present).

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_advertise_default_route ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const bool &  advertise 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Advertise default route (if present).

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_cost ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const uint32_t &  cost 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set cost metric associated with address.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_cost ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const uint32_t &  cost 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set cost metric associated with address.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_deletion_delay ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const uint32_t &  t_secs 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set period that routes associated with reception address will be deleted after they've expired.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_deletion_delay ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const uint32_t &  t_secs 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set period that routes associated with reception address will be deleted after they've expired.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_horizon ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const string &  horizon 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set horizon type applied to routes advertised from address.

Parameters:
horizonname of horizon type. Permitted values: "none", "poison-reverse" "split-horizon-poison-reverse"

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_horizon ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const string &  horizon 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set horizon type applied to routes advertised from address.

Parameters:
horizonname of horizon type. Permitted values: "none", "poison-reverse" "split-horizon-poison-reverse"

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_interpacket_delay ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const uint32_t &  t_msecs 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set the inter-packet delay between the output of packets from address.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_interpacket_delay ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const uint32_t &  t_msecs 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set the inter-packet delay between the output of packets from address.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_md5_authentication_key ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const uint32_t &  key_id,
const string &  password,
const string &  start_time,
const string &  end_time 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set MD5 authentication key.

Parameters:
ifnamethe interface name.
vifnamethe vif name.
addrthe address.
key_idthe key ID (must be an integer in the interval [0, 255]).
passwordthe authentication password.
start_timethe authentication start time (YYYY-MM-DD.HH:MM).
end_timethe authentication end time (YYYY-MM-DD.HH:MM).

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_md5_authentication_key ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const uint32_t &  key_id,
const string &  password,
const string &  start_time,
const string &  end_time 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set MD5 authentication key.

Parameters:
ifnamethe interface name.
vifnamethe vif name.
addrthe address.
key_idthe key ID (must be an integer in the interval [0, 255]).
passwordthe authentication password.
start_timethe authentication start time (YYYY-MM-DD.HH:MM).
end_timethe authentication end time (YYYY-MM-DD.HH:MM).

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_passive ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const bool &  passive 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Make RIP passive (receive only) on interface/vif/address.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_passive ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const bool &  passive 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Make RIP passive (receive only) on interface/vif/address.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_request_interval ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const uint32_t &  t_secs 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set period that route table requests should be sent from address when no peers are associated with it.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_request_interval ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const uint32_t &  t_secs 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set period that route table requests should be sent from address when no peers are associated with it.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_route_timeout ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const uint32_t &  t_secs 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set period that routes associated with reception address will expire in the absence of updates.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_route_timeout ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const uint32_t &  t_secs 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set period that routes associated with reception address will expire in the absence of updates.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_simple_authentication_key ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const string &  password 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set simple password authentication key.

Parameters:
ifnamethe interface name.
vifnamethe vif name.
addrthe address.
passwordthe authentication password.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_simple_authentication_key ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const string &  password 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set simple password authentication key.

Parameters:
ifnamethe interface name.
vifnamethe vif name.
addrthe address.
passwordthe authentication password.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_triggered_update_delay ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const uint32_t &  t_secs 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set period between sending triggered updates from address.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_triggered_update_delay ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const uint32_t &  t_secs 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set period between sending triggered updates from address.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_triggered_update_jitter ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const uint32_t &  t_jitter 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set jitter between sending triggered updates from address (in percents of the period).

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_triggered_update_jitter ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const uint32_t &  t_jitter 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set jitter between sending triggered updates from address (in percents of the period).

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_update_interval ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const uint32_t &  t_secs 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set period between the unsolicited sending of the routing table from address.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_update_interval ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const uint32_t &  t_secs 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set period between the unsolicited sending of the routing table from address.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_update_jitter ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const uint32_t &  t_jitter 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set jitter between the unsolicited sending of the routing table from address (in percents of the period).

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_set_update_jitter ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
const uint32_t &  t_jitter 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Set jitter between the unsolicited sending of the routing table from address (in percents of the period).

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_trace ( const string &  tvar,
const bool &  enable 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Enable/Disable tracing.

Parameters:
tvartrace variable.
enableset to true to enable false to disable.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_trace ( const string &  tvar,
const bool &  enable 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Enable/Disable tracing.

Parameters:
tvartrace variable.
enableset to true to enable false to disable.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_triggered_update_delay ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
uint32_t &  t_secs 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get period between sending triggered updates from address.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_triggered_update_delay ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
uint32_t &  t_secs 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get period between sending triggered updates from address.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_triggered_update_jitter ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
uint32_t &  t_jitter 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get jitter between sending triggered updates from address (in percents of the period).

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_triggered_update_jitter ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
uint32_t &  t_jitter 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get jitter between sending triggered updates from address (in percents of the period).

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_update_interval ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
uint32_t &  t_secs 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get period between the unsolicited sending of the routing table from address.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_update_interval ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
uint32_t &  t_secs 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get period between the unsolicited sending of the routing table from address.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_update_jitter ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
uint32_t &  t_jitter 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get jitter between the unsolicited sending of the routing table from address (in percents of the period).

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::rip_0_1_update_jitter ( const string &  ifname,
const string &  vifname,
const IPv4 addr,
uint32_t &  t_jitter 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Get jitter between the unsolicited sending of the routing table from address (in percents of the period).

Implemented in XrlRipTarget.

bool XrlRipTargetBase::set_command_map ( XrlCmdMap cmds)

Set command map.

Parameters:
cmdspointer to command map to associate commands with. This argument is typically a pointer to the XrlRouter associated with the target.
Returns:
true on success, false if cmds is null or a command map has already been supplied.
bool XrlRipTargetBase::set_command_map ( XrlCmdMap cmds)

Set command map.

Parameters:
cmdspointer to command map to associate commands with. This argument is typically a pointer to the XrlRouter associated with the target.
Returns:
true on success, false if cmds is null or a command map has already been supplied.
virtual XrlCmdError XrlRipTargetBase::socket4_user_0_1_disconnect_event ( const string &  sockid) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Method invoked by target implementing socket4/0.1 when the peer has closed the connection. It applies only to TCP sockets. Note that the socket itself is left open and must be explicitly closed.

Parameters:
sockidthe identifier associated with socket where the event occurred.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::socket4_user_0_1_disconnect_event ( const string &  sockid) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Method invoked by target implementing socket4/0.1 when the peer has closed the connection. It applies only to TCP sockets. Note that the socket itself is left open and must be explicitly closed.

Parameters:
sockidthe identifier associated with socket where the event occurred.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::socket4_user_0_1_error_event ( const string &  sockid,
const string &  error,
const bool &  fatal 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Method invoked by target implementing socket4/0.1 when an error occurs.

Parameters:
sockidthe identifier associated with socket where the event occurred.
errora textual description of the error.
fatalindication of whether socket is shutdown because of error.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::socket4_user_0_1_error_event ( const string &  sockid,
const string &  error,
const bool &  fatal 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Method invoked by target implementing socket4/0.1 when an error occurs.

Parameters:
sockidthe identifier associated with socket where the event occurred.
errora textual description of the error.
fatalindication of whether socket is shutdown because of error.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::socket4_user_0_1_inbound_connect_event ( const string &  sockid,
const IPv4 src_host,
const uint32_t &  src_port,
const string &  new_sockid,
bool &  accept 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Method invoked by target implementing socket4/0.1 when a connection request is received from an IPv4 source. It applies only to TCP sockets.

Parameters:
sockidthe identifier associated with socket where the event occurred.
src_hostthe connecting host.
src_portthe connecting IP port.
new_sockidthe identifier associated with the new socket that has been created to handle the new connection.
acceptif true, the connection request has been accepted, otherwise it has been rejected.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::socket4_user_0_1_inbound_connect_event ( const string &  sockid,
const IPv4 src_host,
const uint32_t &  src_port,
const string &  new_sockid,
bool &  accept 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Method invoked by target implementing socket4/0.1 when a connection request is received from an IPv4 source. It applies only to TCP sockets.

Parameters:
sockidthe identifier associated with socket where the event occurred.
src_hostthe connecting host.
src_portthe connecting IP port.
new_sockidthe identifier associated with the new socket that has been created to handle the new connection.
acceptif true, the connection request has been accepted, otherwise it has been rejected.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::socket4_user_0_1_outgoing_connect_event ( const string &  sockid) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Method invoked by target implementing socket4/0.1 when an outgoing connection request originated by the local host is completed. It applies only to TCP sockets. Note that if the connection failed, the error_event will be dispatched instead.

Parameters:
sockidthe identifier associated with socket where the event occurred.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::socket4_user_0_1_outgoing_connect_event ( const string &  sockid) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Method invoked by target implementing socket4/0.1 when an outgoing connection request originated by the local host is completed. It applies only to TCP sockets. Note that if the connection failed, the error_event will be dispatched instead.

Parameters:
sockidthe identifier associated with socket where the event occurred.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::socket4_user_0_1_recv_event ( const string &  sockid,
const string &  if_name,
const string &  vif_name,
const IPv4 src_host,
const uint32_t &  src_port,
const vector< uint8_t > &  data 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Method invoked by target implementing socket4/0.1 when a packet arrives from an IPv4 source.

Parameters:
sockidthe identifier associated with socket where the event occurred.
if_namethe interface name the packet arrived on, if known. If unknown, then it is an empty string.
vif_namethe vif name the packet arrived on, if known. If unknown, then it is an empty string.
src_hostthe originating host.
src_portthe originating IP port.
datathe data received.

Implemented in XrlRipTarget.

virtual XrlCmdError XrlRipTargetBase::socket4_user_0_1_recv_event ( const string &  sockid,
const string &  if_name,
const string &  vif_name,
const IPv4 src_host,
const uint32_t &  src_port,
const vector< uint8_t > &  data 
) [protected, pure virtual]

Pure-virtual function that needs to be implemented to:

Method invoked by target implementing socket4/0.1 when a packet arrives from an IPv4 source.

Parameters:
sockidthe identifier associated with socket where the event occurred.
if_namethe interface name the packet arrived on, if known. If unknown, then it is an empty string.
vif_namethe vif name the packet arrived on, if known. If unknown, then it is an empty string.
src_hostthe originating host.
src_portthe originating IP port.
datathe data received.

Implemented in XrlRipTarget.


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