class XrlRipCommonTarget

Common handler for Xrl Requests. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Protected Methods

Protected Members


Detailed Description

This class implements Xrl Target code that is common to both RIP and RIP NG.

 XrlRipCommonTarget (XrlProcessSpy& xps, XrlPortManager<A>& xpm, XrlRedistManager<A>& xrm, bool& should_exit, System<A>& rip_system)

XrlRipCommonTarget

 ~XrlRipCommonTarget ()

~XrlRipCommonTarget

void  set_status (ProcessStatus ps, const string& annotation = "")

set_status

XrlCmdError  common_0_1_get_status (uint32_t& status, string& reason)

common_0_1_get_status

XrlCmdError  common_0_1_shutdown ()

common_0_1_shutdown

XrlCmdError  finder_event_observer_0_1_xrl_target_birth (const string& class_name, const string& instance_name)

finder_event_observer_0_1_xrl_target_birth

XrlCmdError  finder_event_observer_0_1_xrl_target_death (const string& class_name, const string& instance_name)

finder_event_observer_0_1_xrl_target_death

XrlCmdError  ripx_0_1_add_rip_address (const string& ifname, const string& vifname, const A& addr)

ripx_0_1_add_rip_address

XrlCmdError  ripx_0_1_remove_rip_address (const string& ifname, const string& vifname, const A& addr)

ripx_0_1_remove_rip_address

XrlCmdError  ripx_0_1_set_rip_address_enabled (const string& ifname, const string& vifname, const A& addr, const bool& enabled)

ripx_0_1_set_rip_address_enabled

XrlCmdError  ripx_0_1_rip_address_enabled (const string& ifname, const string& vifname, const A& addr, bool& enabled)

ripx_0_1_rip_address_enabled

XrlCmdError  ripx_0_1_set_cost (const string& ifname, const string& vifname, const A& addr, const uint32_t& cost)

ripx_0_1_set_cost

XrlCmdError  ripx_0_1_cost (const string& ifname, const string& vifname, const A& addr, uint32_t& cost)

ripx_0_1_cost

XrlCmdError  ripx_0_1_set_horizon (const string& ifname, const string& vifname, const A& addr, const string& horizon)

ripx_0_1_set_horizon

XrlCmdError  ripx_0_1_horizon (const string& ifname, const string& vifname, const A& addr, string& horizon)

ripx_0_1_horizon

XrlCmdError  ripx_0_1_set_passive (const string& ifname, const string& vifname, const A& addr, const bool& passive)

ripx_0_1_set_passive

XrlCmdError  ripx_0_1_passive (const string& ifname, const string& vifname, const A& addr, bool& passive)

ripx_0_1_passive

XrlCmdError  ripx_0_1_set_accept_non_rip_requests (const string& ifname, const string& vifname, const A& addr, const bool& accept)

ripx_0_1_set_accept_non_rip_requests

XrlCmdError  ripx_0_1_accept_non_rip_requests (const string& ifname, const string& vifname, const A& addr, bool& accept)

ripx_0_1_accept_non_rip_requests

XrlCmdError  ripx_0_1_set_accept_default_route (const string& ifname, const string& vifname, const A& addr, const bool& accept)

ripx_0_1_set_accept_default_route

XrlCmdError  ripx_0_1_accept_default_route (const string& ifname, const string& vifname, const A& addr, bool& accept)

ripx_0_1_accept_default_route

XrlCmdError  ripx_0_1_set_advertise_default_route (const string& ifname, const string& vifname, const A& addr, const bool& advertise)

ripx_0_1_set_advertise_default_route

XrlCmdError  ripx_0_1_advertise_default_route (const string& ifname, const string& vifname, const A& addr, bool& advertise)

ripx_0_1_advertise_default_route

XrlCmdError  ripx_0_1_set_route_timeout (const string& ifname, const string& vifname, const A& addr, const uint32_t& t_secs)

ripx_0_1_set_route_timeout

XrlCmdError  ripx_0_1_route_timeout (const string& ifname, const string& vifname, const A& addr, uint32_t& t_secs)

ripx_0_1_route_timeout

XrlCmdError  ripx_0_1_set_deletion_delay (const string& ifname, const string& vifname, const A& addr, const uint32_t& t_secs)

ripx_0_1_set_deletion_delay

XrlCmdError  ripx_0_1_deletion_delay (const string& ifname, const string& vifname, const A& addr, uint32_t& t_secs)

ripx_0_1_deletion_delay

XrlCmdError  ripx_0_1_set_request_interval (const string& ifname, const string& vifname, const A& addr, const uint32_t& t_secs)

ripx_0_1_set_request_interval

XrlCmdError  ripx_0_1_request_interval (const string& ifname, const string& vifname, const A& addr, uint32_t& t_secs)

ripx_0_1_request_interval

XrlCmdError  ripx_0_1_set_update_interval (const string& ifname, const string& vifname, const A& addr, const uint32_t& t_secs)

ripx_0_1_set_update_interval

XrlCmdError  ripx_0_1_update_interval (const string& ifname, const string& vifname, const A& addr, uint32_t& t_secs)

ripx_0_1_update_interval

XrlCmdError  ripx_0_1_set_update_jitter (const string& ifname, const string& vifname, const A& addr, const uint32_t& t_jitter)

ripx_0_1_set_update_jitter

XrlCmdError  ripx_0_1_update_jitter (const string& ifname, const string& vifname, const A& addr, uint32_t& t_secs)

ripx_0_1_update_jitter

XrlCmdError  ripx_0_1_set_triggered_update_delay (const string& ifname, const string& vifname, const A& addr, const uint32_t& t_secs)

ripx_0_1_set_triggered_update_delay

XrlCmdError  ripx_0_1_triggered_update_delay (const string& ifname, const string& vifname, const A& addr, uint32_t& t_secs)

ripx_0_1_triggered_update_delay

XrlCmdError  ripx_0_1_set_triggered_update_jitter (const string& ifname, const string& vifname, const A& addr, const uint32_t& t_secs)

ripx_0_1_set_triggered_update_jitter

XrlCmdError  ripx_0_1_triggered_update_jitter (const string& ifname, const string& vifname, const A& addr, uint32_t& t_secs)

ripx_0_1_triggered_update_jitter

XrlCmdError  ripx_0_1_set_interpacket_delay (const string& ifname, const string& vifname, const A& addr, const uint32_t& t_msecs)

ripx_0_1_set_interpacket_delay

XrlCmdError  ripx_0_1_interpacket_delay (const string& ifname, const string& vifname, const A& addr, uint32_t& t_msecs)

ripx_0_1_interpacket_delay

XrlCmdError  ripx_0_1_rip_address_status (const string& ifname, const string& vifname, const A& addr, string& status)

ripx_0_1_rip_address_status

XrlCmdError  ripx_0_1_get_all_addresses (XrlAtomList& ifnames, XrlAtomList& vifnames, XrlAtomList& addrs)

ripx_0_1_get_all_addresses

XrlCmdError  ripx_0_1_get_peers (const string& ifname, const string& vifname, const A& addr, XrlAtomList& peers)

ripx_0_1_get_peers

XrlCmdError  ripx_0_1_get_all_peers (XrlAtomList& peers, XrlAtomList& ifnames, XrlAtomList& vifnames, XrlAtomList& addrs)

ripx_0_1_get_all_peers

XrlCmdError  ripx_0_1_get_counters (const string& ifname, const string& vifname, const A& addr, XrlAtomList& descriptions, XrlAtomList& values)

ripx_0_1_get_counters

XrlCmdError  ripx_0_1_get_peer_counters (const string& ifname, const string& vifname, const A& addr, const A& peer, XrlAtomList& descriptions, XrlAtomList& values, uint32_t& peer_last_pkt)

ripx_0_1_get_peer_counters

XrlCmdError  ripx_0_1_redist_protocol_routes (const string& protocol, const uint32_t& cost, const uint32_t& tag)

ripx_0_1_redist_protocol_routes

XrlCmdError  ripx_0_1_no_redist_protocol_routes (const string& protocol)

ripx_0_1_no_redist_protocol_routes

XrlCmdError  redistx_0_1_add_route (const IPNet<A>& net, const A& nexthop, const string& ifname, const string& vifname, const uint32_t& metric, const uint32_t& ad, const string& cookie, const string& protocol_origin)

redistx_0_1_add_route

XrlCmdError  redistx_0_1_delete_route (const IPNet<A>& net, const A& nexthop, const string& ifname, const string& vifname, const uint32_t& metric, const uint32_t& ad, const string& cookie, const string& protocol_origin)

redistx_0_1_delete_route

XrlCmdError  socketx_user_0_1_recv_event (const string& sockid, const A& src_host, const uint32_t& src_port, const vector<uint8_t>& pdata)

socketx_user_0_1_recv_event

XrlCmdError  socketx_user_0_1_connect_event (const string& sockid, const A& src_host, const uint32_t& src_port, const string& new_sockid, bool& accept)

socketx_user_0_1_connect_event

XrlCmdError  socketx_user_0_1_error_event (const string& sockid, const string& reason, const bool& fatal)

socketx_user_0_1_error_event

XrlCmdError  socketx_user_0_1_close_event (const string& sockid, const string& reason)

socketx_user_0_1_close_event

XrlCmdError  policy_backend_0_1_configure (const uint32_t& filter, const string& conf)

policy_backend_0_1_configure

XrlCmdError  policy_backend_0_1_reset (const uint32_t& filter)

policy_backend_0_1_reset

XrlCmdError  policy_backend_0_1_push_routes ()

policy_backend_0_1_push_routes

XrlCmdError  policy_redistx_0_1_add_routex (const IPNet<A>& net, const bool& unicast, const bool& multicast, const A& nexthop, const uint32_t& metric, const XrlAtomList& policytags)

policy_redistx_0_1_add_routex

XrlCmdError  policy_redistx_0_1_delete_routex (const IPNet<A>& net, const bool& unicast, const bool& multicast)

policy_redistx_0_1_delete_routex

pair<Port<A>*,XrlCmdError>  find_port (const string& ifname, const string& vifname, const A& addr)

find_port

Find Port associated with ifname, vifname, addr.

Returns: on success the first item in the pair will be a non-null pointer to the port and the second item with be XrlCmdError::OKAY(). On failyre the first item in the pair will be null and the XrlCmdError will signify the reason for the failure.

XrlProcessSpy& _xps

_xps

[protected]

XrlPortManager<A>& _xpm

_xpm

[protected]

XrlRedistManager<A>& _xrm

_xrm

[protected]

bool& _should_exit

_should_exit

[protected]

ProcessStatus _status

_status

[protected]

string _status_note

_status_note

[protected]

System<A>& _rip_system

_rip_system

[protected]

template <typename A>  XrlRipCommonTarget (XrlProcessSpy& xps, XrlPortManager<A>& xpm, XrlRedistManager<A>& xrm, bool& should_exit, System<A>& rip_system)

XrlRipCommonTarget

[protected]

template <typename A>  ~XrlRipCommonTarget ()

~XrlRipCommonTarget

[protected]

template <typename A> void  set_status (ProcessStatus status, const string& note)

set_status

[protected]

template <typename A> XrlCmdError  common_0_1_get_status (uint32_t& status, string& reason)

common_0_1_get_status

[protected]

template <typename A> XrlCmdError  common_0_1_shutdown ()

common_0_1_shutdown

[protected]

template <typename A> XrlCmdError  finder_event_observer_0_1_xrl_target_birth ( const string& cname, const string& iname )

finder_event_observer_0_1_xrl_target_birth

[protected]

template <typename A> XrlCmdError  finder_event_observer_0_1_xrl_target_death ( const string& cname, const string& iname )

finder_event_observer_0_1_xrl_target_death

[protected]

template <typename A> XrlCmdError  ripx_0_1_add_rip_address (const string& ifname, const string& vifname, const A& addr)

ripx_0_1_add_rip_address

[protected]

template <typename A> XrlCmdError  ripx_0_1_remove_rip_address (const string& ifname, const string& vifname, const A& addr)

ripx_0_1_remove_rip_address

[protected]

template <typename A> pair<Port<A>*, XrlCmdError>  find_port (const string& ifn, const string& vifn, const A& addr)

find_port

[protected]

template <typename A> XrlCmdError  ripx_0_1_set_rip_address_enabled (const string& ifn, const string& vifn, const A& addr, const bool& en)

ripx_0_1_set_rip_address_enabled

[protected]

template <typename A> XrlCmdError  ripx_0_1_rip_address_enabled (const string& ifn, const string& vifn, const A& addr, bool& en)

ripx_0_1_rip_address_enabled

[protected]

template <typename A> XrlCmdError  ripx_0_1_set_cost (const string& ifname, const string& vifname, const A& addr, const uint32_t& cost)

ripx_0_1_set_cost

[protected]

template <typename A> XrlCmdError  ripx_0_1_cost (const string& ifname, const string& vifname, const A& addr, uint32_t& cost)

ripx_0_1_cost

[protected]

template <typename A> XrlCmdError  ripx_0_1_set_horizon (const string& ifname, const string& vifname, const A& addr, const string& horizon)

ripx_0_1_set_horizon

[protected]

template <typename A> XrlCmdError  ripx_0_1_horizon (const string& ifname, const string& vifname, const A& addr, string& horizon)

ripx_0_1_horizon

[protected]

template <typename A> XrlCmdError  ripx_0_1_set_passive (const string& ifname, const string& vifname, const A& addr, const bool& passive)

ripx_0_1_set_passive

[protected]

template <typename A> XrlCmdError  ripx_0_1_passive (const string& ifname, const string& vifname, const A& addr, bool& passive)

ripx_0_1_passive

[protected]

template <typename A> XrlCmdError  ripx_0_1_set_accept_non_rip_requests ( const string& ifname, const string& vifname, const A& addr, const bool& accept )

ripx_0_1_set_accept_non_rip_requests

[protected]

template <typename A> XrlCmdError  ripx_0_1_accept_non_rip_requests ( const string& ifname, const string& vifname, const A& addr, bool& accept )

ripx_0_1_accept_non_rip_requests

[protected]

template <typename A> XrlCmdError  ripx_0_1_set_accept_default_route ( const string& ifname, const string& vifname, const A& addr, const bool& accept )

ripx_0_1_set_accept_default_route

[protected]

template <typename A> XrlCmdError  ripx_0_1_accept_default_route ( const string& ifname, const string& vifname, const A& addr, bool& accept )

ripx_0_1_accept_default_route

[protected]

template <typename A> XrlCmdError  ripx_0_1_set_advertise_default_route ( const string& ifname, const string& vifname, const A& addr, const bool& advertise )

ripx_0_1_set_advertise_default_route

[protected]

template <typename A> XrlCmdError  ripx_0_1_advertise_default_route ( const string& ifname, const string& vifname, const A& addr, bool& advertise )

ripx_0_1_advertise_default_route

[protected]

template <typename A> XrlCmdError  ripx_0_1_set_route_timeout ( const string& ifname, const string& vifname, const A& addr, const uint32_t& t )

ripx_0_1_set_route_timeout

[protected]

template <typename A> XrlCmdError  ripx_0_1_route_timeout ( const string& ifname, const string& vifname, const A& addr, uint32_t& t )

ripx_0_1_route_timeout

[protected]

template <typename A> XrlCmdError  ripx_0_1_set_deletion_delay ( const string& ifname, const string& vifname, const A& addr, const uint32_t& t )

ripx_0_1_set_deletion_delay

[protected]

template <typename A> XrlCmdError  ripx_0_1_deletion_delay ( const string& ifname, const string& vifname, const A& addr, uint32_t& t )

ripx_0_1_deletion_delay

[protected]

template <typename A> XrlCmdError  ripx_0_1_set_request_interval ( const string& ifname, const string& vifname, const A& addr, const uint32_t& t )

ripx_0_1_set_request_interval

[protected]

template <typename A> XrlCmdError  ripx_0_1_request_interval ( const string& ifname, const string& vifname, const A& addr, uint32_t& t )

ripx_0_1_request_interval

[protected]

template <typename A> XrlCmdError  ripx_0_1_set_update_interval ( const string& ifname, const string& vifname, const A& addr, const uint32_t& t_secs )

ripx_0_1_set_update_interval

[protected]

template <typename A> XrlCmdError  ripx_0_1_update_interval (const string& ifname, const string& vifname, const A& addr, uint32_t& t_secs)

ripx_0_1_update_interval

[protected]

template <typename A> XrlCmdError  ripx_0_1_set_update_jitter (const string& ifname, const string& vifname, const A& addr, const uint32_t& t_jitter)

ripx_0_1_set_update_jitter

[protected]

template <typename A> XrlCmdError  ripx_0_1_update_jitter (const string& ifname, const string& vifname, const A& addr, uint32_t& t_jitter)

ripx_0_1_update_jitter

[protected]

template <typename A> XrlCmdError  ripx_0_1_set_triggered_update_delay ( const string& ifname, const string& vifname, const A& addr, const uint32_t& t_secs)

ripx_0_1_set_triggered_update_delay

[protected]

template <typename A> XrlCmdError  ripx_0_1_triggered_update_delay ( const string& ifname, const string& vifname, const A& addr, uint32_t& t_secs)

ripx_0_1_triggered_update_delay

[protected]

template <typename A> XrlCmdError  ripx_0_1_set_triggered_update_jitter ( const string& ifname, const string& vifname, const A& addr, const uint32_t& t_jitter)

ripx_0_1_set_triggered_update_jitter

[protected]

template <typename A> XrlCmdError  ripx_0_1_triggered_update_jitter ( const string& ifname, const string& vifname, const A& addr, uint32_t& t_jitter)

ripx_0_1_triggered_update_jitter

[protected]

template <typename A> XrlCmdError  ripx_0_1_set_interpacket_delay ( const string& ifname, const string& vifname, const A& addr, const uint32_t& t_msecs )

ripx_0_1_set_interpacket_delay

[protected]

template <typename A> XrlCmdError  ripx_0_1_interpacket_delay ( const string& ifname, const string& vifname, const A& addr, uint32_t& t_msecs )

ripx_0_1_interpacket_delay

[protected]

template <typename A> XrlCmdError  ripx_0_1_rip_address_status (const string& ifn, const string& vifn, const A& addr, string& status)

ripx_0_1_rip_address_status

[protected]

template <typename A> XrlCmdError  ripx_0_1_get_all_addresses (XrlAtomList& ifnames, XrlAtomList& vifnames, XrlAtomList& addrs)

ripx_0_1_get_all_addresses

[protected]

template <typename A> XrlCmdError  ripx_0_1_get_peers (const string& ifn, const string& vifn, const A& addr, XrlAtomList& peers)

ripx_0_1_get_peers

[protected]

template <typename A> XrlCmdError  ripx_0_1_get_all_peers (XrlAtomList& peers, XrlAtomList& ifnames, XrlAtomList& vifnames, XrlAtomList& addrs)

ripx_0_1_get_all_peers

[protected]

template <typename A> XrlCmdError  ripx_0_1_get_counters (const string& ifn, const string& vifn, const A& addr, XrlAtomList& descriptions, XrlAtomList& values)

ripx_0_1_get_counters

[protected]

template <typename A> XrlCmdError  ripx_0_1_get_peer_counters ( const string& ifn, const string& vifn, const A& addr, const A& peer_addr, XrlAtomList& descriptions, XrlAtomList& values, uint32_t& peer_last_active)

ripx_0_1_get_peer_counters

[protected]

template <typename A> XrlCmdError  ripx_0_1_redist_protocol_routes (const string& protocol, const uint32_t& cost, const uint32_t& tag)

ripx_0_1_redist_protocol_routes

[protected]

template <typename A> XrlCmdError  ripx_0_1_no_redist_protocol_routes (const string& protocol)

ripx_0_1_no_redist_protocol_routes

[protected]

template <typename A> XrlCmdError  redistx_0_1_add_route (const IPNet<A>& net, const A& nexthop, const string& ifname, const string& vifname, const uint32_t& metric, const uint32_t& admin_d, const string& cookie, const string& protocol_origin)

redistx_0_1_add_route

[protected]

template <typename A> XrlCmdError  redistx_0_1_delete_route (const IPNet<A>& net, const A& nexthop, const string& ifname, const string& vifname, const uint32_t& metric, const uint32_t& admin_d, const string& cookie, const string& protocol_origin)

redistx_0_1_delete_route

[protected]

template <typename A> XrlCmdError  socketx_user_0_1_recv_event ( const string& sockid, const A& src_host, const uint32_t& src_port, const vector<uint8_t>& pdata )

socketx_user_0_1_recv_event

[protected]

template <typename A> XrlCmdError  socketx_user_0_1_connect_event ( const string& sockid, const A& src_host, const uint32_t& src_port, const string& new_sockid, bool& accept )

socketx_user_0_1_connect_event

[protected]

template <typename A> XrlCmdError  socketx_user_0_1_error_event ( const string& sockid, const string& reason, const bool& fatal )

socketx_user_0_1_error_event

[protected]

template <typename A> XrlCmdError  socketx_user_0_1_close_event ( const string& sockid, const string& reason )

socketx_user_0_1_close_event

[protected]

template <typename A> XrlCmdError  policy_backend_0_1_configure (const uint32_t& filter, const string& conf)

policy_backend_0_1_configure

[protected]

template <typename A> XrlCmdError  policy_backend_0_1_reset (const uint32_t& filter)

policy_backend_0_1_reset

[protected]

template <typename A> XrlCmdError  policy_backend_0_1_push_routes ()

policy_backend_0_1_push_routes

[protected]

template <typename A> XrlCmdError  policy_redistx_0_1_add_routex (const IPNet<A>& net, const bool& unicast, const bool& multicast, const A& nexthop, const uint32_t& metric, const XrlAtomList& policytags)

policy_redistx_0_1_add_routex

[protected]

template <typename A> XrlCmdError  policy_redistx_0_1_delete_routex (const IPNet<A>& net, const bool& unicast, const bool& multicast)

policy_redistx_0_1_delete_routex

[protected]


Generated by: pavlin on possum.icir.org on Wed Aug 2 15:36:43 2006, using kdoc $.