|
xorp
|
Classes | |
| struct | handler_table |
Public Member Functions | |
| XrlOlsr4TargetBase (XrlCmdMap *cmds=0) | |
| Constructor. | |
| virtual | ~XrlOlsr4TargetBase () |
| 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. | |
| XrlOlsr4TargetBase (XrlCmdMap *cmds=0) | |
| Constructor. | |
| virtual | ~XrlOlsr4TargetBase () |
| 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 | 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 | 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 | profile_0_1_enable (const string &pname)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | profile_0_1_disable (const string &pname)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | profile_0_1_get_entries (const string &pname, const string &instance_name)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | profile_0_1_clear (const string &pname)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | profile_0_1_list (string &info)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_trace (const string &tvar, const bool &enable)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_clear_database ()=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_set_willingness (const uint32_t &willingness)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_willingness (uint32_t &willingness)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_set_mpr_coverage (const uint32_t &coverage)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_mpr_coverage (uint32_t &coverage)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_set_tc_redundancy (const string &redundancy)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_tc_redundancy (string &redundancy)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_set_tc_fisheye (const bool &enabled)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_tc_fisheye (bool &enabled)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_set_hna_base_cost (const uint32_t &metric)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_hna_base_cost (uint32_t &metric)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_set_hello_interval (const uint32_t &interval)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_hello_interval (uint32_t &interval)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_set_refresh_interval (const uint32_t &interval)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_refresh_interval (uint32_t &interval)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_set_tc_interval (const uint32_t &interval)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_tc_interval (uint32_t &interval)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_set_mid_interval (const uint32_t &interval)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_mid_interval (uint32_t &interval)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_set_hna_interval (const uint32_t &interval)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_hna_interval (uint32_t &interval)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_set_dup_hold_time (const uint32_t &dup_hold_time)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_dup_hold_time (uint32_t &dup_hold_time)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_set_main_address (const IPv4 &addr)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_main_address (IPv4 &addr)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_bind_address (const string &ifname, const string &vifname, const IPv4 &local_addr, const uint32_t &local_port, const IPv4 &all_nodes_addr, const uint32_t &all_nodes_port)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_unbind_address (const string &ifname, const string &vifname)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_set_binding_enabled (const string &ifname, const string &vifname, const bool &enabled)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_binding_enabled (const string &ifname, const string &vifname, bool &enabled)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_change_local_addr_port (const string &ifname, const string &vifname, const IPv4 &local_addr, const uint32_t &local_port)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_change_all_nodes_addr_port (const string &ifname, const string &vifname, const IPv4 &all_nodes_addr, const uint32_t &all_nodes_port)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_interface_list (XrlAtomList &interfaces)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_interface_info (const uint32_t &faceid, string &ifname, string &vifname, IPv4 &local_addr, uint32_t &local_port, IPv4 &all_nodes_addr, uint32_t &all_nodes_port)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_set_interface_cost (const string &ifname, const string &vifname, const uint32_t &cost)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_interface_stats (const string &ifname, const string &vifname, uint32_t &bad_packets, uint32_t &bad_messages, uint32_t &messages_from_self, uint32_t &unknown_messages, uint32_t &duplicates, uint32_t &forwarded)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_link_list (XrlAtomList &links)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_link_info (const uint32_t &linkid, IPv4 &local_addr, IPv4 &remote_addr, IPv4 &main_addr, uint32_t &link_type, uint32_t &sym_time, uint32_t &asym_time, uint32_t &hold_time)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_neighbor_list (XrlAtomList &neighbors)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_neighbor_info (const uint32_t &nid, IPv4 &main_addr, uint32_t &willingness, uint32_t °ree, uint32_t &link_count, uint32_t &twohop_link_count, bool &is_advertised, bool &is_sym, bool &is_mpr, bool &is_mpr_selector)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_twohop_link_list (XrlAtomList &twohop_links)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_twohop_link_info (const uint32_t &tlid, uint32_t &last_face_id, IPv4 &nexthop_addr, IPv4 &dest_addr, uint32_t &hold_time)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_twohop_neighbor_list (XrlAtomList &twohop_neighbors)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_twohop_neighbor_info (const uint32_t &tnid, IPv4 &main_addr, bool &is_strict, uint32_t &link_count, uint32_t &reachability, uint32_t &coverage)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_mid_entry_list (XrlAtomList &mid_entries)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_mid_entry (const uint32_t &midid, IPv4 &main_addr, IPv4 &iface_addr, uint32_t &distance, uint32_t &hold_time)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_tc_entry_list (XrlAtomList &tc_entries)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_tc_entry (const uint32_t &tcid, IPv4 &destination, IPv4 &lasthop, uint32_t &distance, uint32_t &seqno, uint32_t &hold_time)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_hna_entry_list (XrlAtomList &hna_entries)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_hna_entry (const uint32_t &hnaid, IPv4Net &destination, IPv4 &lasthop, uint32_t &distance, uint32_t &hold_time)=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 | 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 | 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 | profile_0_1_enable (const string &pname)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | profile_0_1_disable (const string &pname)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | profile_0_1_get_entries (const string &pname, const string &instance_name)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | profile_0_1_clear (const string &pname)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | profile_0_1_list (string &info)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_trace (const string &tvar, const bool &enable)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_clear_database ()=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_set_willingness (const uint32_t &willingness)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_willingness (uint32_t &willingness)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_set_mpr_coverage (const uint32_t &coverage)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_mpr_coverage (uint32_t &coverage)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_set_tc_redundancy (const string &redundancy)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_tc_redundancy (string &redundancy)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_set_tc_fisheye (const bool &enabled)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_tc_fisheye (bool &enabled)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_set_hna_base_cost (const uint32_t &metric)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_hna_base_cost (uint32_t &metric)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_set_hello_interval (const uint32_t &interval)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_hello_interval (uint32_t &interval)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_set_refresh_interval (const uint32_t &interval)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_refresh_interval (uint32_t &interval)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_set_tc_interval (const uint32_t &interval)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_tc_interval (uint32_t &interval)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_set_mid_interval (const uint32_t &interval)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_mid_interval (uint32_t &interval)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_set_hna_interval (const uint32_t &interval)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_hna_interval (uint32_t &interval)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_set_dup_hold_time (const uint32_t &dup_hold_time)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_dup_hold_time (uint32_t &dup_hold_time)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_set_main_address (const IPv4 &addr)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_main_address (IPv4 &addr)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_bind_address (const string &ifname, const string &vifname, const IPv4 &local_addr, const uint32_t &local_port, const IPv4 &all_nodes_addr, const uint32_t &all_nodes_port)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_unbind_address (const string &ifname, const string &vifname)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_set_binding_enabled (const string &ifname, const string &vifname, const bool &enabled)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_binding_enabled (const string &ifname, const string &vifname, bool &enabled)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_change_local_addr_port (const string &ifname, const string &vifname, const IPv4 &local_addr, const uint32_t &local_port)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_change_all_nodes_addr_port (const string &ifname, const string &vifname, const IPv4 &all_nodes_addr, const uint32_t &all_nodes_port)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_interface_list (XrlAtomList &interfaces)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_interface_info (const uint32_t &faceid, string &ifname, string &vifname, IPv4 &local_addr, uint32_t &local_port, IPv4 &all_nodes_addr, uint32_t &all_nodes_port)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_set_interface_cost (const string &ifname, const string &vifname, const uint32_t &cost)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_interface_stats (const string &ifname, const string &vifname, uint32_t &bad_packets, uint32_t &bad_messages, uint32_t &messages_from_self, uint32_t &unknown_messages, uint32_t &duplicates, uint32_t &forwarded)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_link_list (XrlAtomList &links)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_link_info (const uint32_t &linkid, IPv4 &local_addr, IPv4 &remote_addr, IPv4 &main_addr, uint32_t &link_type, uint32_t &sym_time, uint32_t &asym_time, uint32_t &hold_time)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_neighbor_list (XrlAtomList &neighbors)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_neighbor_info (const uint32_t &nid, IPv4 &main_addr, uint32_t &willingness, uint32_t °ree, uint32_t &link_count, uint32_t &twohop_link_count, bool &is_advertised, bool &is_sym, bool &is_mpr, bool &is_mpr_selector)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_twohop_link_list (XrlAtomList &twohop_links)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_twohop_link_info (const uint32_t &tlid, uint32_t &last_face_id, IPv4 &nexthop_addr, IPv4 &dest_addr, uint32_t &hold_time)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_twohop_neighbor_list (XrlAtomList &twohop_neighbors)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_twohop_neighbor_info (const uint32_t &tnid, IPv4 &main_addr, bool &is_strict, uint32_t &link_count, uint32_t &reachability, uint32_t &coverage)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_mid_entry_list (XrlAtomList &mid_entries)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_mid_entry (const uint32_t &midid, IPv4 &main_addr, IPv4 &iface_addr, uint32_t &distance, uint32_t &hold_time)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_tc_entry_list (XrlAtomList &tc_entries)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_tc_entry (const uint32_t &tcid, IPv4 &destination, IPv4 &lasthop, uint32_t &distance, uint32_t &seqno, uint32_t &hold_time)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_hna_entry_list (XrlAtomList &hna_entries)=0 |
| Pure-virtual function that needs to be implemented to: | |
| virtual XrlCmdError | olsr4_0_1_get_hna_entry (const uint32_t &hnaid, IPv4Net &destination, IPv4 &lasthop, uint32_t &distance, uint32_t &hold_time)=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_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) |
| 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_profile_0_1_enable (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_profile_0_1_disable (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_profile_0_1_get_entries (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_profile_0_1_clear (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_profile_0_1_list (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_trace (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_clear_database (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_set_willingness (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_willingness (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_set_mpr_coverage (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_mpr_coverage (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_set_tc_redundancy (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_tc_redundancy (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_set_tc_fisheye (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_tc_fisheye (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_set_hna_base_cost (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_hna_base_cost (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_set_hello_interval (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_hello_interval (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_set_refresh_interval (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_refresh_interval (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_set_tc_interval (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_tc_interval (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_set_mid_interval (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_mid_interval (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_set_hna_interval (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_hna_interval (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_set_dup_hold_time (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_dup_hold_time (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_set_main_address (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_main_address (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_bind_address (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_unbind_address (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_set_binding_enabled (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_binding_enabled (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_change_local_addr_port (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_change_all_nodes_addr_port (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_interface_list (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_interface_info (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_set_interface_cost (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_interface_stats (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_link_list (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_link_info (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_neighbor_list (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_neighbor_info (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_twohop_link_list (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_twohop_link_info (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_twohop_neighbor_list (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_twohop_neighbor_info (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_mid_entry_list (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_mid_entry (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_tc_entry_list (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_tc_entry (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_hna_entry_list (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_hna_entry (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_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) |
| 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_profile_0_1_enable (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_profile_0_1_disable (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_profile_0_1_get_entries (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_profile_0_1_clear (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_profile_0_1_list (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_trace (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_clear_database (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_set_willingness (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_willingness (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_set_mpr_coverage (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_mpr_coverage (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_set_tc_redundancy (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_tc_redundancy (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_set_tc_fisheye (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_tc_fisheye (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_set_hna_base_cost (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_hna_base_cost (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_set_hello_interval (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_hello_interval (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_set_refresh_interval (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_refresh_interval (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_set_tc_interval (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_tc_interval (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_set_mid_interval (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_mid_interval (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_set_hna_interval (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_hna_interval (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_set_dup_hold_time (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_dup_hold_time (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_set_main_address (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_main_address (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_bind_address (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_unbind_address (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_set_binding_enabled (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_binding_enabled (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_change_local_addr_port (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_change_all_nodes_addr_port (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_interface_list (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_interface_info (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_set_interface_cost (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_interface_stats (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_link_list (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_link_info (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_neighbor_list (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_neighbor_info (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_twohop_link_list (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_twohop_link_info (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_twohop_neighbor_list (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_twohop_neighbor_info (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_mid_entry_list (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_mid_entry (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_tc_entry_list (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_tc_entry (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_hna_entry_list (const XrlArgs &in, XrlCmdOT out) |
| XrlCmdRT | handle_olsr4_0_1_get_hna_entry (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(XrlOlsr4TargetBase::handlers) / sizeof(XrlOlsr4TargetBase::handlers[0])) |
| XrlOlsr4TargetBase::XrlOlsr4TargetBase | ( | XrlCmdMap * | cmds = 0 | ) |
| XrlOlsr4TargetBase::~XrlOlsr4TargetBase | ( | ) | [virtual] |
Destructor.
Dissociates instance commands from command map.
| XrlOlsr4TargetBase::XrlOlsr4TargetBase | ( | XrlCmdMap * | cmds = 0 | ) |
| virtual XrlOlsr4TargetBase::~XrlOlsr4TargetBase | ( | ) | [virtual] |
Destructor.
Dissociates instance commands from command map.
| virtual XrlCmdError XrlOlsr4TargetBase::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 XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::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 XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::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 XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::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 XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::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 XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::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 XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::common_0_1_shutdown | ( | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Request clean shutdown of Xrl Target
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::common_0_1_shutdown | ( | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Request clean shutdown of Xrl Target
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::common_0_1_startup | ( | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Request a startup of Xrl Target
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::common_0_1_startup | ( | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Request a startup of Xrl Target
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::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.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::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.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::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.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::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.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_bind_address | ( | const string & | ifname, |
| const string & | vifname, | ||
| const IPv4 & | local_addr, | ||
| const uint32_t & | local_port, | ||
| const IPv4 & | all_nodes_addr, | ||
| const uint32_t & | all_nodes_port | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Create an IPv4 address binding for OLSR. OLSR must be bound to a given protocol address on each interface, which means interface bindings in OLSRv1 must be keyed by interface name as well as protocol address. Only a single IPv4 address may be thus bound, and the address must be supplied when the binding is created. This is to workaround the lack of RFC 3927 link-scoped IPv4 capability in most IPv4 implementations. The addition of address is not instantaneous. OLSR has to instantiate state in the FEA to send and receive packets. Once instantiated, the address must be explicitly enabled with the set_binding_enabled XRL.
| ifname | the interface that owns vif that has addr |
| vifname | virtual interface owning addr |
| local_addr | the address to be added. |
| local_port | the port to listen for control traffic on. |
| all_nodes_addr | the address to use for transmission. |
| all_nodes_port | the port to use for transmission. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_bind_address | ( | const string & | ifname, |
| const string & | vifname, | ||
| const IPv4 & | local_addr, | ||
| const uint32_t & | local_port, | ||
| const IPv4 & | all_nodes_addr, | ||
| const uint32_t & | all_nodes_port | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Create an IPv4 address binding for OLSR. OLSR must be bound to a given protocol address on each interface, which means interface bindings in OLSRv1 must be keyed by interface name as well as protocol address. Only a single IPv4 address may be thus bound, and the address must be supplied when the binding is created. This is to workaround the lack of RFC 3927 link-scoped IPv4 capability in most IPv4 implementations. The addition of address is not instantaneous. OLSR has to instantiate state in the FEA to send and receive packets. Once instantiated, the address must be explicitly enabled with the set_binding_enabled XRL.
| ifname | the interface that owns vif that has addr |
| vifname | virtual interface owning addr |
| local_addr | the address to be added. |
| local_port | the port to listen for control traffic on. |
| all_nodes_addr | the address to use for transmission. |
| all_nodes_port | the port to use for transmission. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_change_all_nodes_addr_port | ( | const string & | ifname, |
| const string & | vifname, | ||
| const IPv4 & | all_nodes_addr, | ||
| const uint32_t & | all_nodes_port | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Change the address where OLSR sends control traffic on the given interface. By default OLSR will attempt to use the all-ones broadcast address. Currently multicast addresses are NOT supported.
| ifname | the name of the interface. |
| vifname | the name of the vif. |
| all_nodes_addr | the address to use. |
| all_nodes_port | the port to use. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_change_all_nodes_addr_port | ( | const string & | ifname, |
| const string & | vifname, | ||
| const IPv4 & | all_nodes_addr, | ||
| const uint32_t & | all_nodes_port | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Change the address where OLSR sends control traffic on the given interface. By default OLSR will attempt to use the all-ones broadcast address. Currently multicast addresses are NOT supported.
| ifname | the name of the interface. |
| vifname | the name of the vif. |
| all_nodes_addr | the address to use. |
| all_nodes_port | the port to use. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_change_local_addr_port | ( | const string & | ifname, |
| const string & | vifname, | ||
| const IPv4 & | local_addr, | ||
| const uint32_t & | local_port | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Change the UDP address and port where OLSR listens for control traffic on this interface. In order to do this the process must tell the FEA to tear down and re-bind the control traffic socket.
| ifname | the name of the interface. |
| vifname | the name of the vif. |
| local_addr | the new local IPv4 address. |
| local_port | the new local port number. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_change_local_addr_port | ( | const string & | ifname, |
| const string & | vifname, | ||
| const IPv4 & | local_addr, | ||
| const uint32_t & | local_port | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Change the UDP address and port where OLSR listens for control traffic on this interface. In order to do this the process must tell the FEA to tear down and re-bind the control traffic socket.
| ifname | the name of the interface. |
| vifname | the name of the vif. |
| local_addr | the new local IPv4 address. |
| local_port | the new local port number. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_clear_database | ( | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Clear all OLSR protocol databases.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_clear_database | ( | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Clear all OLSR protocol databases.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_binding_enabled | ( | const string & | ifname, |
| const string & | vifname, | ||
| bool & | enabled | ||
| ) | [protected, pure virtual] |
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_binding_enabled | ( | const string & | ifname, |
| const string & | vifname, | ||
| bool & | enabled | ||
| ) | [protected, pure virtual] |
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_dup_hold_time | ( | uint32_t & | dup_hold_time | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the DUP_HOLD_TIME.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_dup_hold_time | ( | uint32_t & | dup_hold_time | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the DUP_HOLD_TIME.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_hello_interval | ( | uint32_t & | interval | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the HELLO_INTERVAL.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_hello_interval | ( | uint32_t & | interval | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the HELLO_INTERVAL.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_hna_base_cost | ( | uint32_t & | metric | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the current HNA base cost metric.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_hna_base_cost | ( | uint32_t & | metric | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the current HNA base cost metric.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_hna_entry | ( | const uint32_t & | hnaid, |
| IPv4Net & | destination, | ||
| IPv4 & | lasthop, | ||
| uint32_t & | distance, | ||
| uint32_t & | hold_time | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the information contained in a HNA entry.
| hnaid | HNA entry ID returned by get_hna_entry_list. |
| destination | the main address of the advertised destination. |
| lasthop | the main address of the node advertising this entry. |
| distance | the distance measured between this node and the origin of the TC packet containing this entry. |
| hold_time | the time in seconds until this entry expires. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_hna_entry | ( | const uint32_t & | hnaid, |
| IPv4Net & | destination, | ||
| IPv4 & | lasthop, | ||
| uint32_t & | distance, | ||
| uint32_t & | hold_time | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the information contained in a HNA entry.
| hnaid | HNA entry ID returned by get_hna_entry_list. |
| destination | the main address of the advertised destination. |
| lasthop | the main address of the node advertising this entry. |
| distance | the distance measured between this node and the origin of the TC packet containing this entry. |
| hold_time | the time in seconds until this entry expires. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_hna_entry_list | ( | XrlAtomList & | hna_entries | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the list of learned external route (HNA) entries. Return a list of u32 type values. Each value is an internal ID that can be used with the get_hna_entry XRL.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_hna_entry_list | ( | XrlAtomList & | hna_entries | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the list of learned external route (HNA) entries. Return a list of u32 type values. Each value is an internal ID that can be used with the get_hna_entry XRL.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_hna_interval | ( | uint32_t & | interval | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the HNA_INTERVAL.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_hna_interval | ( | uint32_t & | interval | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the HNA_INTERVAL.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_interface_info | ( | const uint32_t & | faceid, |
| string & | ifname, | ||
| string & | vifname, | ||
| IPv4 & | local_addr, | ||
| uint32_t & | local_port, | ||
| IPv4 & | all_nodes_addr, | ||
| uint32_t & | all_nodes_port | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the per-interface information for the given interface.
| faceid | interface ID returned by get_interface_list. |
| ifname | the name of the interface. |
| vifname | the name of the vif. |
| local_addr | the IPv4 address where OLSR is listening. |
| local_port | the UDP port where OLSR is listening. |
| all_nodes_addr | the IPv4 address where OLSR sends packets. |
| all_nodes_port | the UDP port where OLSR sends packets. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_interface_info | ( | const uint32_t & | faceid, |
| string & | ifname, | ||
| string & | vifname, | ||
| IPv4 & | local_addr, | ||
| uint32_t & | local_port, | ||
| IPv4 & | all_nodes_addr, | ||
| uint32_t & | all_nodes_port | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the per-interface information for the given interface.
| faceid | interface ID returned by get_interface_list. |
| ifname | the name of the interface. |
| vifname | the name of the vif. |
| local_addr | the IPv4 address where OLSR is listening. |
| local_port | the UDP port where OLSR is listening. |
| all_nodes_addr | the IPv4 address where OLSR sends packets. |
| all_nodes_port | the UDP port where OLSR sends packets. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_interface_list | ( | XrlAtomList & | interfaces | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the list of interfaces currently configured for OLSR. Return a list of u32 type values. Each value is an internal ID that can be used with the get_interface_info XRL.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_interface_list | ( | XrlAtomList & | interfaces | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the list of interfaces currently configured for OLSR. Return a list of u32 type values. Each value is an internal ID that can be used with the get_interface_info XRL.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_interface_stats | ( | const string & | ifname, |
| const string & | vifname, | ||
| uint32_t & | bad_packets, | ||
| uint32_t & | bad_messages, | ||
| uint32_t & | messages_from_self, | ||
| uint32_t & | unknown_messages, | ||
| uint32_t & | duplicates, | ||
| uint32_t & | forwarded | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the per-interface statistics for the given interface.
| ifname | the interface to query. |
| vifname | the vif to qurery |
| bad_packets | the number of bad packets received. |
| bad_messages | the number of bad messages received. |
| messages_from_self | the number of messages which appeared to be from our own main address. |
| unknown_messages | the number of messages which could not be decoded. |
| duplicates | the number of messages which appeared to be duplicates, according to histogram based duplicate detection. |
| forwarded | the number of messages which have been forwarded to the rest of the OLSR topology on this interface. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_interface_stats | ( | const string & | ifname, |
| const string & | vifname, | ||
| uint32_t & | bad_packets, | ||
| uint32_t & | bad_messages, | ||
| uint32_t & | messages_from_self, | ||
| uint32_t & | unknown_messages, | ||
| uint32_t & | duplicates, | ||
| uint32_t & | forwarded | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the per-interface statistics for the given interface.
| ifname | the interface to query. |
| vifname | the vif to qurery |
| bad_packets | the number of bad packets received. |
| bad_messages | the number of bad messages received. |
| messages_from_self | the number of messages which appeared to be from our own main address. |
| unknown_messages | the number of messages which could not be decoded. |
| duplicates | the number of messages which appeared to be duplicates, according to histogram based duplicate detection. |
| forwarded | the number of messages which have been forwarded to the rest of the OLSR topology on this interface. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_link_info | ( | const uint32_t & | linkid, |
| IPv4 & | local_addr, | ||
| IPv4 & | remote_addr, | ||
| IPv4 & | main_addr, | ||
| uint32_t & | link_type, | ||
| uint32_t & | sym_time, | ||
| uint32_t & | asym_time, | ||
| uint32_t & | hold_time | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the information for a one-hop link. TODO: Add ETX support.
| linkid | Link entry ID returned by get_link_list. |
| local_addr | the interface address of the local end of this link. |
| remote_addr | the interface address of the remote end of this link. |
| main_addr | the main address of the neighbor at the remote end of this link. |
| link_type | the type of this link. |
| sym_time | the time in seconds for which this link will be considered symmetric. |
| asym_time | the time in seconds for which this link will be considered asymmetric. |
| hold_time | the time in seconds until this link expires. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_link_info | ( | const uint32_t & | linkid, |
| IPv4 & | local_addr, | ||
| IPv4 & | remote_addr, | ||
| IPv4 & | main_addr, | ||
| uint32_t & | link_type, | ||
| uint32_t & | sym_time, | ||
| uint32_t & | asym_time, | ||
| uint32_t & | hold_time | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the information for a one-hop link. TODO: Add ETX support.
| linkid | Link entry ID returned by get_link_list. |
| local_addr | the interface address of the local end of this link. |
| remote_addr | the interface address of the remote end of this link. |
| main_addr | the main address of the neighbor at the remote end of this link. |
| link_type | the type of this link. |
| sym_time | the time in seconds for which this link will be considered symmetric. |
| asym_time | the time in seconds for which this link will be considered asymmetric. |
| hold_time | the time in seconds until this link expires. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_link_list | ( | XrlAtomList & | links | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the list of one-hop links. Return a list of u32 type values. Each value is an internal ID that can be used with the get_link_info XRL.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_link_list | ( | XrlAtomList & | links | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the list of one-hop links. Return a list of u32 type values. Each value is an internal ID that can be used with the get_link_info XRL.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_main_address | ( | IPv4 & | addr | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the main address.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_main_address | ( | IPv4 & | addr | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the main address.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_mid_entry | ( | const uint32_t & | midid, |
| IPv4 & | main_addr, | ||
| IPv4 & | iface_addr, | ||
| uint32_t & | distance, | ||
| uint32_t & | hold_time | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the information contained in a MID entry.
| midid | MID entry ID returned by get_mid_entry_list. |
| main_addr | the main address of the OLSR node |
| iface_addr | the interface address being advertised. |
| distance | the distance measured between this node and the origin of the MID packet containing this entry. |
| hold_time | the time in seconds until this entry expires. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_mid_entry | ( | const uint32_t & | midid, |
| IPv4 & | main_addr, | ||
| IPv4 & | iface_addr, | ||
| uint32_t & | distance, | ||
| uint32_t & | hold_time | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the information contained in a MID entry.
| midid | MID entry ID returned by get_mid_entry_list. |
| main_addr | the main address of the OLSR node |
| iface_addr | the interface address being advertised. |
| distance | the distance measured between this node and the origin of the MID packet containing this entry. |
| hold_time | the time in seconds until this entry expires. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_mid_entry_list | ( | XrlAtomList & | mid_entries | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the list of learned Multiple Interface Declaration (MID) entries. Return a list of u32 type values. Each value is an internal ID that can be used with the get_mid_entry XRL.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_mid_entry_list | ( | XrlAtomList & | mid_entries | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the list of learned Multiple Interface Declaration (MID) entries. Return a list of u32 type values. Each value is an internal ID that can be used with the get_mid_entry XRL.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_mid_interval | ( | uint32_t & | interval | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the MID_INTERVAL.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_mid_interval | ( | uint32_t & | interval | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the MID_INTERVAL.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_mpr_coverage | ( | uint32_t & | coverage | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the MPR_COVERAGE.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_mpr_coverage | ( | uint32_t & | coverage | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the MPR_COVERAGE.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_neighbor_info | ( | const uint32_t & | nid, |
| IPv4 & | main_addr, | ||
| uint32_t & | willingness, | ||
| uint32_t & | degree, | ||
| uint32_t & | link_count, | ||
| uint32_t & | twohop_link_count, | ||
| bool & | is_advertised, | ||
| bool & | is_sym, | ||
| bool & | is_mpr, | ||
| bool & | is_mpr_selector | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the information for a one-hop neighbor.
| nid | Neighbor entry ID returned by get_neighbor_list. |
| main_addr | the main address of this neighbor. |
| willingness | the willingness of this neighbor to forward. |
| degree | the number of symmetric strict neighbors of this neighbor, excluding one-hop neighbors and this node. |
| link_count | the number of links to this neighbor. |
| twohop_link_count | the number of two-hop links which transit this neighbor as next-hop. |
| is_advertised | true if this neighbor is in the Advertised Neighbor Set of this node. |
| is_sym | true if this neighbor is symmetric. |
| is_mpr | true if this neighbor is selected as an MPR by this node. |
| is_mpr_selector | true if this neighbor chooses this node as an MPR. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_neighbor_info | ( | const uint32_t & | nid, |
| IPv4 & | main_addr, | ||
| uint32_t & | willingness, | ||
| uint32_t & | degree, | ||
| uint32_t & | link_count, | ||
| uint32_t & | twohop_link_count, | ||
| bool & | is_advertised, | ||
| bool & | is_sym, | ||
| bool & | is_mpr, | ||
| bool & | is_mpr_selector | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the information for a one-hop neighbor.
| nid | Neighbor entry ID returned by get_neighbor_list. |
| main_addr | the main address of this neighbor. |
| willingness | the willingness of this neighbor to forward. |
| degree | the number of symmetric strict neighbors of this neighbor, excluding one-hop neighbors and this node. |
| link_count | the number of links to this neighbor. |
| twohop_link_count | the number of two-hop links which transit this neighbor as next-hop. |
| is_advertised | true if this neighbor is in the Advertised Neighbor Set of this node. |
| is_sym | true if this neighbor is symmetric. |
| is_mpr | true if this neighbor is selected as an MPR by this node. |
| is_mpr_selector | true if this neighbor chooses this node as an MPR. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_neighbor_list | ( | XrlAtomList & | neighbors | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the list of one-hop neighbors. Return a list of u32 type values. Each value is an internal ID that can be used with the get_neighbor_info XRL.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_neighbor_list | ( | XrlAtomList & | neighbors | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the list of one-hop neighbors. Return a list of u32 type values. Each value is an internal ID that can be used with the get_neighbor_info XRL.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_refresh_interval | ( | uint32_t & | interval | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the REFRESH_INTERVAL.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_refresh_interval | ( | uint32_t & | interval | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the REFRESH_INTERVAL.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_tc_entry | ( | const uint32_t & | tcid, |
| IPv4 & | destination, | ||
| IPv4 & | lasthop, | ||
| uint32_t & | distance, | ||
| uint32_t & | seqno, | ||
| uint32_t & | hold_time | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the information contained in a TC entry.
| tcid | TC entry ID returned by get_tc_entry_list. |
| destination | the main address of the advertised destination. |
| lasthop | the main address of the node advertising this entry. |
| distance | the distance measured between this node and the origin of the TC packet containing this entry. |
| seqno | the advertised sequence number of this entry. |
| hold_time | the time in seconds until this entry expires. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_tc_entry | ( | const uint32_t & | tcid, |
| IPv4 & | destination, | ||
| IPv4 & | lasthop, | ||
| uint32_t & | distance, | ||
| uint32_t & | seqno, | ||
| uint32_t & | hold_time | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the information contained in a TC entry.
| tcid | TC entry ID returned by get_tc_entry_list. |
| destination | the main address of the advertised destination. |
| lasthop | the main address of the node advertising this entry. |
| distance | the distance measured between this node and the origin of the TC packet containing this entry. |
| seqno | the advertised sequence number of this entry. |
| hold_time | the time in seconds until this entry expires. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_tc_entry_list | ( | XrlAtomList & | tc_entries | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the list of learned Topology Control (TC) entries. Return a list of u32 type values. Each value is an internal ID that can be used with the get_tc_entry XRL.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_tc_entry_list | ( | XrlAtomList & | tc_entries | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the list of learned Topology Control (TC) entries. Return a list of u32 type values. Each value is an internal ID that can be used with the get_tc_entry XRL.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_tc_fisheye | ( | bool & | enabled | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the current TC fisheye mode.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_tc_fisheye | ( | bool & | enabled | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the current TC fisheye mode.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_tc_interval | ( | uint32_t & | interval | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the TC_INTERVAL.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_tc_interval | ( | uint32_t & | interval | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the TC_INTERVAL.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_tc_redundancy | ( | string & | redundancy | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the TC_REDUNDANCY.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_tc_redundancy | ( | string & | redundancy | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the TC_REDUNDANCY.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_twohop_link_info | ( | const uint32_t & | tlid, |
| uint32_t & | last_face_id, | ||
| IPv4 & | nexthop_addr, | ||
| IPv4 & | dest_addr, | ||
| uint32_t & | hold_time | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the information for a two-hop link. TODO: Add ETX support.
| tlid | two-hop link ID returned by get_twohop_link_list. |
| last_face_id | the internal interface ID where advertisement of this two-hop link was last seen. |
| nexthop_addr | the main address of the one-hop neighbor where this two-hop link exists. |
| dest_addr | the main address of the two-hop neighbor at the remote end of this link. |
| hold_time | the time in seconds until this two-hop link expires. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_twohop_link_info | ( | const uint32_t & | tlid, |
| uint32_t & | last_face_id, | ||
| IPv4 & | nexthop_addr, | ||
| IPv4 & | dest_addr, | ||
| uint32_t & | hold_time | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the information for a two-hop link. TODO: Add ETX support.
| tlid | two-hop link ID returned by get_twohop_link_list. |
| last_face_id | the internal interface ID where advertisement of this two-hop link was last seen. |
| nexthop_addr | the main address of the one-hop neighbor where this two-hop link exists. |
| dest_addr | the main address of the two-hop neighbor at the remote end of this link. |
| hold_time | the time in seconds until this two-hop link expires. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_twohop_link_list | ( | XrlAtomList & | twohop_links | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the list of two-hop links. Return a list of u32 type values. Each value is an internal ID that can be used with the get_twohop_link_info XRL.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_twohop_link_list | ( | XrlAtomList & | twohop_links | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the list of two-hop links. Return a list of u32 type values. Each value is an internal ID that can be used with the get_twohop_link_info XRL.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_twohop_neighbor_info | ( | const uint32_t & | tnid, |
| IPv4 & | main_addr, | ||
| bool & | is_strict, | ||
| uint32_t & | link_count, | ||
| uint32_t & | reachability, | ||
| uint32_t & | coverage | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the information for a two-hop neighbor.
| tnid | two-hop neighbor ID returned by get_twohop_neighbor_list. |
| main_addr | the main address of this two-hop neighbor. |
| is_strict | true if this two-hop neighbor is not also a two-hop neighbor. |
| link_count | the number of two-hop links that exist to this two-hop neighbor. |
| reachability | the number of MPR candidates which cover this two-hop neighbor. |
| coverage | the number of selected MPRs which cover this two-hop neighbor. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_twohop_neighbor_info | ( | const uint32_t & | tnid, |
| IPv4 & | main_addr, | ||
| bool & | is_strict, | ||
| uint32_t & | link_count, | ||
| uint32_t & | reachability, | ||
| uint32_t & | coverage | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the information for a two-hop neighbor.
| tnid | two-hop neighbor ID returned by get_twohop_neighbor_list. |
| main_addr | the main address of this two-hop neighbor. |
| is_strict | true if this two-hop neighbor is not also a two-hop neighbor. |
| link_count | the number of two-hop links that exist to this two-hop neighbor. |
| reachability | the number of MPR candidates which cover this two-hop neighbor. |
| coverage | the number of selected MPRs which cover this two-hop neighbor. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_twohop_neighbor_list | ( | XrlAtomList & | twohop_neighbors | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the list of two-hop neighbors. Return a list of u32 type values. Each value is an internal ID that can be used with the get_twohop_neighbor_info XRL.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_twohop_neighbor_list | ( | XrlAtomList & | twohop_neighbors | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the list of two-hop neighbors. Return a list of u32 type values. Each value is an internal ID that can be used with the get_twohop_neighbor_info XRL.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_willingness | ( | uint32_t & | willingness | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the willingness-to-forward.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_get_willingness | ( | uint32_t & | willingness | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get the willingness-to-forward.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_set_binding_enabled | ( | const string & | ifname, |
| const string & | vifname, | ||
| const bool & | enabled | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Set the enabled state of an IPv4 address binding for OLSR.
| ifname | the interface to set enabled state for. |
| vifname | the vif to set enabled state for. |
| enabled | true if OLSR is to be configured administratively up on the interface, false if it is to be configured down. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_set_binding_enabled | ( | const string & | ifname, |
| const string & | vifname, | ||
| const bool & | enabled | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Set the enabled state of an IPv4 address binding for OLSR.
| ifname | the interface to set enabled state for. |
| vifname | the vif to set enabled state for. |
| enabled | true if OLSR is to be configured administratively up on the interface, false if it is to be configured down. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_set_dup_hold_time | ( | const uint32_t & | dup_hold_time | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Set the DUP_HOLD_TIME.
| dup_hold_time | the new DUP_HOLD_TIME. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_set_dup_hold_time | ( | const uint32_t & | dup_hold_time | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Set the DUP_HOLD_TIME.
| dup_hold_time | the new DUP_HOLD_TIME. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_set_hello_interval | ( | const uint32_t & | interval | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Set the HELLO_INTERVAL.
| interval | the new HELLO_INTERVAL. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_set_hello_interval | ( | const uint32_t & | interval | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Set the HELLO_INTERVAL.
| interval | the new HELLO_INTERVAL. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_set_hna_base_cost | ( | const uint32_t & | metric | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Set the current HNA base cost metric.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_set_hna_base_cost | ( | const uint32_t & | metric | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Set the current HNA base cost metric.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_set_hna_interval | ( | const uint32_t & | interval | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Set the HNA_INTERVAL.
| interval | the new HNA_INTERVAL. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_set_hna_interval | ( | const uint32_t & | interval | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Set the HNA_INTERVAL.
| interval | the new HNA_INTERVAL. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_set_interface_cost | ( | const string & | ifname, |
| const string & | vifname, | ||
| const uint32_t & | cost | ||
| ) | [protected, pure virtual] |
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_set_interface_cost | ( | const string & | ifname, |
| const string & | vifname, | ||
| const uint32_t & | cost | ||
| ) | [protected, pure virtual] |
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_set_main_address | ( | const IPv4 & | addr | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Set the main address.
| addr | Our main IPv4 address which OLSR uses as a router ID. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_set_main_address | ( | const IPv4 & | addr | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Set the main address.
| addr | Our main IPv4 address which OLSR uses as a router ID. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_set_mid_interval | ( | const uint32_t & | interval | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Set the MID_INTERVAL.
| interval | the new MID_INTERVAL. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_set_mid_interval | ( | const uint32_t & | interval | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Set the MID_INTERVAL.
| interval | the new MID_INTERVAL. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_set_mpr_coverage | ( | const uint32_t & | coverage | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Set the MPR_COVERAGE.
| coverage | the new MPR_COVERAGE value. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_set_mpr_coverage | ( | const uint32_t & | coverage | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Set the MPR_COVERAGE.
| coverage | the new MPR_COVERAGE value. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_set_refresh_interval | ( | const uint32_t & | interval | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Set the REFRESH_INTERVAL.
| interval | the new REFRESH_INTERVAL. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_set_refresh_interval | ( | const uint32_t & | interval | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Set the REFRESH_INTERVAL.
| interval | the new REFRESH_INTERVAL. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_set_tc_fisheye | ( | const bool & | enabled | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Enable/disable TC fisheye mode.
| enabled | true to enable fisheye, false to disable it. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_set_tc_fisheye | ( | const bool & | enabled | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Enable/disable TC fisheye mode.
| enabled | true to enable fisheye, false to disable it. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_set_tc_interval | ( | const uint32_t & | interval | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Set the TC_INTERVAL.
| interval | the new TC_INTERVAL. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_set_tc_interval | ( | const uint32_t & | interval | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Set the TC_INTERVAL.
| interval | the new TC_INTERVAL. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_set_tc_redundancy | ( | const string & | redundancy | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Set the TC_REDUNDANCY.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_set_tc_redundancy | ( | const string & | redundancy | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Set the TC_REDUNDANCY.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_set_willingness | ( | const uint32_t & | willingness | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Set the willingness-to-forward.
| willingness | the new willingness-to-forward. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_set_willingness | ( | const uint32_t & | willingness | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Set the willingness-to-forward.
| willingness | the new willingness-to-forward. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_trace | ( | const string & | tvar, |
| const bool & | enable | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Enable/Disable tracing.
| tvar | trace variable. |
| enable | set to true to enable, false to disable. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_trace | ( | const string & | tvar, |
| const bool & | enable | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Enable/Disable tracing.
| tvar | trace variable. |
| enable | set to true to enable, false to disable. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_unbind_address | ( | const string & | ifname, |
| const string & | vifname | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Destroy an IPv4 address binding for OLSR.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::olsr4_0_1_unbind_address | ( | const string & | ifname, |
| const string & | vifname | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Destroy an IPv4 address binding for OLSR.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::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.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::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.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::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 XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::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 XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::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.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::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.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::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.
| network | the route to advertise. |
| unicast | whether the route is unicast. |
| multicast | whether the route is multicast. |
| nexthop | the nexthop of the route. |
| metric | the metric of the route. |
| policytags | the set of policy-tags associated with the route. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::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.
| network | the route to advertise. |
| unicast | whether the route is unicast. |
| multicast | whether the route is multicast. |
| nexthop | the nexthop of the route. |
| metric | the metric of the route. |
| policytags | the set of policy-tags associated with the route. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::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.
| network | the route for which advertisements should cease. |
| unicast | whether the route is unicast. |
| multicast | whether the route is multicast. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::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.
| network | the route for which advertisements should cease. |
| unicast | whether the route is unicast. |
| multicast | whether the route is multicast. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::profile_0_1_clear | ( | const string & | pname | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Clear the profiling entries
| pname | profile variable |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::profile_0_1_clear | ( | const string & | pname | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Clear the profiling entries
| pname | profile variable |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::profile_0_1_disable | ( | const string & | pname | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Disable profiling
| pname | profile variable |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::profile_0_1_disable | ( | const string & | pname | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Disable profiling
| pname | profile variable |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::profile_0_1_enable | ( | const string & | pname | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Enable profiling
| pname | profile variable |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::profile_0_1_enable | ( | const string & | pname | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Enable profiling
| pname | profile variable |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::profile_0_1_get_entries | ( | const string & | pname, |
| const string & | instance_name | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get log entries.
| pname | profile variable |
| instance_name | to send the profiling info to. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::profile_0_1_get_entries | ( | const string & | pname, |
| const string & | instance_name | ||
| ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
Get log entries.
| pname | profile variable |
| instance_name | to send the profiling info to. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::profile_0_1_list | ( | string & | info | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
List all the profiling variables registered with this target.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::profile_0_1_list | ( | string & | info | ) | [protected, pure virtual] |
Pure-virtual function that needs to be implemented to:
List all the profiling variables registered with this target.
Implemented in XrlOlsr4Target.
| bool XrlOlsr4TargetBase::set_command_map | ( | XrlCmdMap * | cmds | ) |
| bool XrlOlsr4TargetBase::set_command_map | ( | XrlCmdMap * | cmds | ) |
| virtual XrlCmdError XrlOlsr4TargetBase::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.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::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.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::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.
| sockid | the identifier associated with socket where the event occurred. |
| error | a textual description of the error. |
| fatal | indication of whether socket is shutdown because of error. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::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.
| sockid | the identifier associated with socket where the event occurred. |
| error | a textual description of the error. |
| fatal | indication of whether socket is shutdown because of error. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::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.
| sockid | the identifier associated with socket where the event occurred. |
| src_host | the connecting host. |
| src_port | the connecting IP port. |
| new_sockid | the identifier associated with the new socket that has been created to handle the new connection. |
| accept | if true, the connection request has been accepted, otherwise it has been rejected. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::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.
| sockid | the identifier associated with socket where the event occurred. |
| src_host | the connecting host. |
| src_port | the connecting IP port. |
| new_sockid | the identifier associated with the new socket that has been created to handle the new connection. |
| accept | if true, the connection request has been accepted, otherwise it has been rejected. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::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.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::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.
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::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.
| sockid | the identifier associated with socket where the event occurred. |
| if_name | the interface name the packet arrived on, if known. If unknown, then it is an empty string. |
| vif_name | the vif name the packet arrived on, if known. If unknown, then it is an empty string. |
| src_host | the originating host. |
| src_port | the originating IP port. |
| data | the data received. |
Implemented in XrlOlsr4Target.
| virtual XrlCmdError XrlOlsr4TargetBase::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.
| sockid | the identifier associated with socket where the event occurred. |
| if_name | the interface name the packet arrived on, if known. If unknown, then it is an empty string. |
| vif_name | the vif name the packet arrived on, if known. If unknown, then it is an empty string. |
| src_host | the originating host. |
| src_port | the originating IP port. |
| data | the data received. |
Implemented in XrlOlsr4Target.