📄 xrl_target.h
字号:
// Input values, const uint32_t& transit_area, const uint32_t& neighbor_id, // Output values, uint32_t& delay_secs); XrlCmdError ospf_0_1_vlink_set_retransmit_interval( // Input values, const uint32_t& transit_area, const uint32_t& neighbor_id, const uint32_t& interval_secs); XrlCmdError ospf_0_1_vlink_get_retransmit_interval( // Input values, const uint32_t& transit_area, const uint32_t& neighbor_id, // Output values, uint32_t& interval_secs); XrlCmdError ospf_0_1_vlink_set_hello_interval( // Input values, const uint32_t& transit_area, const uint32_t& neighbor_id, const uint32_t& interval_secs); XrlCmdError ospf_0_1_vlink_get_hello_interval( // Input values, const uint32_t& transit_area, const uint32_t& neighbor_id, // Output values, uint32_t& interval_secs); XrlCmdError ospf_0_1_vlink_set_router_dead_interval( // Input values, const uint32_t& transit_area, const uint32_t& neighbor_id, const uint32_t& interval_secs); XrlCmdError ospf_0_1_vlink_get_router_dead_interval( // Input values, const uint32_t& transit_area, const uint32_t& neighbor_id, // Output values, uint32_t& interval_secs); /** * @param type is one of "none", "cleartext", "md5" */ XrlCmdError ospf_0_1_vlink_set_authentication( // Input values, const uint32_t& transit_area, const uint32_t& neighbor_id, const string& type, const string& key); XrlCmdError ospf_0_1_vlink_get_authentication( // Input values, const uint32_t& transit_area, const uint32_t& neighbor_id, // Output values, string& type, string& key); /** * Return list of neighbour id's (unsigned 32 bit values) */ XrlCmdError ospf_0_1_list_vlinks( // Input values, const uint32_t& transit_id, // Output values, XrlAtomList& neighbor_id); /* --------------------------------------------------------------------- */ /* OSPFD External Route Configuration */ XrlCmdError ospf_0_1_add_or_configure_external_route( // Input values, const IPv4Net& network, const IPv4& gateway, const uint32_t& type, const uint32_t& cost, const bool& multicast, const uint32_t& external_route_tag); XrlCmdError ospf_0_1_delete_external_route( // Input values, const IPv4Net& network, const IPv4& gateway); XrlCmdError ospf_0_1_query_external_route( // Input values, const IPv4Net& network, const IPv4& gateway, // Output values, uint32_t& type, uint32_t& cost, bool& multicast, uint32_t& external_route_tag); XrlCmdError ospf_0_1_list_external_routes( // Input values, const IPv4Net& network, // Output values, XrlAtomList& gateways); /* --------------------------------------------------------------------- */ /* Interface configuration */ XrlCmdError ospf_0_1_add_interface( // Input values, const string& identifier, const uint32_t& if_index, const uint32_t& area_id, const uint32_t& cost, const uint32_t& mtu, const string& type, const bool& ondemand, const bool& passive); XrlCmdError ospf_0_1_interface_set_if_index( // Input values, const string& identifier, const uint32_t& index); XrlCmdError ospf_0_1_interface_get_if_index( // Input values, const string& identifier, // Output values, uint32_t& index); XrlCmdError ospf_0_1_interface_set_area_id( // Input values, const string& identifier, const uint32_t& area_id); XrlCmdError ospf_0_1_interface_get_area_id( // Input values, const string& identifier, // Output values, uint32_t& area_id); XrlCmdError ospf_0_1_interface_set_cost( // Input values, const string& identifier, const uint32_t& cost); XrlCmdError ospf_0_1_interface_get_cost( // Input values, const string& identifier, // Output values, uint32_t& cost); XrlCmdError ospf_0_1_interface_set_mtu( // Input values, const string& identifier, const uint32_t& mtu); XrlCmdError ospf_0_1_interface_get_mtu( // Input values, const string& identifier, // Output values, uint32_t& mtu); XrlCmdError ospf_0_1_interface_set_type( // Input values, const string& identifier, const string& type); XrlCmdError ospf_0_1_interface_get_type( // Input values, const string& identifier, // Output values, string& type); XrlCmdError ospf_0_1_interface_set_dr_priority( // Input values, const string& identifier, const uint32_t& dr_priority); XrlCmdError ospf_0_1_interface_get_dr_priority( // Input values, const string& identifier, // Output values, uint32_t& dr_priority); XrlCmdError ospf_0_1_interface_set_transit_delay( // Input values, const string& identifier, const uint32_t& delay_secs); XrlCmdError ospf_0_1_interface_get_transit_delay( // Input values, const string& identifier, // Output values, uint32_t& delay_secs); XrlCmdError ospf_0_1_interface_set_retransmit_interval( // Input values, const string& identifier, const uint32_t& interval_secs); XrlCmdError ospf_0_1_interface_get_retransmit_interval( // Input values, const string& identifier, // Output values, uint32_t& interval_secs); XrlCmdError ospf_0_1_interface_set_router_dead_interval( // Input values, const string& identifier, const uint32_t& interval_secs); XrlCmdError ospf_0_1_interface_get_router_dead_interval( // Input values, const string& identifier, // Output values, uint32_t& interval_secs); XrlCmdError ospf_0_1_interface_set_poll_interval( // Input values, const string& identifier, const uint32_t& interval_secs); XrlCmdError ospf_0_1_interface_get_poll_interval( // Input values, const string& identifier, // Output values, uint32_t& interval_secs); XrlCmdError ospf_0_1_interface_set_authentication( // Input values, const string& identifier, const string& type, const string& key); XrlCmdError ospf_0_1_interface_get_authentication( // Input values, const string& identifier, // Output values, string& type, string& key); XrlCmdError ospf_0_1_interface_set_multicast_forwarding( // Input values, const string& identifier, const string& type); XrlCmdError ospf_0_1_interface_get_multicast_forwarding( // Input values, const string& identifier, // Output values, string& type); XrlCmdError ospf_0_1_interface_set_on_demand( // Input values, const string& identifier, const bool& on_demand); XrlCmdError ospf_0_1_interface_get_on_demand( // Input values, const string& identifier, // Output values, bool& on_demand); XrlCmdError ospf_0_1_interface_set_passive( // Input values, const string& identifier, const bool& passive); XrlCmdError ospf_0_1_interface_get_passive( // Input values, const string& identifier, // Output values, bool& passive); XrlCmdError ospf_0_1_interface_set_igmp( // Input values, const string& identifier, const bool& enabled); XrlCmdError ospf_0_1_interface_get_igmp( // Input values, const string& identifier, // Output values, bool& enabled); XrlCmdError ospf_0_1_delete_interface( // Input values, const string& identifier); XrlCmdError ospf_0_1_list_interfaces( // Output values, XrlAtomList& identifiers); /* --------------------------------------------------------------------- */ /* Interface MD5 configuration */ XrlCmdError ospf_0_1_interface_add_md5_key( // Input values, const string& identifier, const uint32_t& key_id, const string& md5key, const string& start_receive, const string& stop_receive, const string& start_transmit, const string& stop_transmit); XrlCmdError ospf_0_1_interface_get_md5_key( // Input values, const string& identifier, const uint32_t& key_id, // Output values, string& md5key, string& start_receive, string& stop_receive, string& start_transmit, string& stop_transmit); XrlCmdError ospf_0_1_interface_delete_md5_key( // Input values, const string& identifier, const uint32_t& key_id); XrlCmdError ospf_0_1_interface_list_md5_keys( // Input values, const string& identifier, // Output values, XrlAtomList& key_ids); /* --------------------------------------------------------------------- */ /* Static Neighbor configuration */ XrlCmdError ospf_0_1_add_neighbor( // Input values, const IPv4& nbr_addr, const bool& dr_eligible); XrlCmdError ospf_0_1_get_neighbor( // Input values, const IPv4& nbr_addr, // Output values, bool& dr_eligible); XrlCmdError ospf_0_1_delete_neighbor( // Input values, const IPv4& nbr_addr); XrlCmdError ospf_0_1_list_neighbors( // Output values, XrlAtomList& nbr_addrs);protected: inline bool ospf_ready() const { return (*_pp_ospf != 0); } inline OSPF* ospf() { return *_pp_ospf; } EventLoop& _eventloop; XorpOspfd& _xorp_ospfd; OSPF** _pp_ospf;};#endif // __XORP_OSPF_XORP_XRL_TARGET_HH__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -