fea_base.hh
来自「BCAST Implementation for NS2」· HH 代码 · 共 1,668 行 · 第 1/5 页
HH
1,668 行
const string& vif, const IPv6& address) = 0; virtual XrlCmdError ifmgr_0_1_set_address_enabled6( // Input values, const uint32_t& tid, const string& ifname, const string& vif, const IPv6& address, const bool& enabled) = 0; virtual XrlCmdError ifmgr_0_1_get_configured_address_enabled6( // Input values, const string& ifname, const string& vif, const IPv6& address, // Output values, bool& enabled) = 0; virtual XrlCmdError ifmgr_0_1_set_prefix6( // Input values, const uint32_t& tid, const string& ifname, const string& vif, const IPv6& address, const uint32_t& prefix_len) = 0; virtual XrlCmdError ifmgr_0_1_set_endpoint6( // Input values, const uint32_t& tid, const string& ifname, const string& vif, const IPv6& address, const IPv6& endpoint) = 0; /** * Pure-virtual function that needs to be implemented to: * * Register network interface observer for configured interfaces. * * @param clientname name of xrl entity supporting fea_ifmgr_client.xif * methods. */ virtual XrlCmdError ifmgr_0_1_register_client( // Input values, const string& clientname) = 0; /** * Pure-virtual function that needs to be implemented to: * * Unregister network interface observer for configured interfaces. This * method is not strictly necessary, the fea will remove the interface * observer from its list of known observers if interface update XRLs * fail. */ virtual XrlCmdError ifmgr_0_1_unregister_client( // Input values, const string& clientname) = 0; virtual XrlCmdError ifmgr_0_1_get_system_interface_names( // Output values, XrlAtomList& ifnames) = 0; virtual XrlCmdError ifmgr_0_1_get_system_vif_names( // Input values, const string& ifname, // Output values, XrlAtomList& vifs) = 0; virtual XrlCmdError ifmgr_0_1_get_system_vif_flags( // Input values, const string& ifname, const string& vif, // Output values, bool& enabled, bool& broadcast, bool& loopback, bool& point_to_point, bool& multicast) = 0; virtual XrlCmdError ifmgr_0_1_get_system_vif_pif_index( // Input values, const string& ifname, const string& vif, // Output values, uint32_t& pif_index) = 0; virtual XrlCmdError ifmgr_0_1_get_system_vif_addresses4( // Input values, const string& ifname, const string& vif, // Output values, XrlAtomList& addresses) = 0; virtual XrlCmdError ifmgr_0_1_get_system_address_flags4( // Input values, const string& ifname, const string& vif, const IPv4& address, // Output values, bool& enabled, bool& broadcast, bool& loopback, bool& point_to_point, bool& multicast) = 0; virtual XrlCmdError ifmgr_0_1_get_system_vif_addresses6( // Input values, const string& ifname, const string& vif, // Output values, XrlAtomList& addresses) = 0; virtual XrlCmdError ifmgr_0_1_get_system_address_flags6( // Input values, const string& ifname, const string& vif, const IPv6& address, // Output values, bool& enabled, bool& loopback, bool& point_to_point, bool& multicast) = 0; virtual XrlCmdError ifmgr_0_1_get_system_interface_enabled( // Input values, const string& ifname, // Output values, bool& enabled) = 0; virtual XrlCmdError ifmgr_0_1_get_system_mac( // Input values, const string& ifname, // Output values, Mac& mac) = 0; virtual XrlCmdError ifmgr_0_1_get_system_mtu( // Input values, const string& ifname, // Output values, uint32_t& mtu) = 0; virtual XrlCmdError ifmgr_0_1_get_system_vif_enabled( // Input values, const string& ifname, const string& vif, // Output values, bool& enabled) = 0; virtual XrlCmdError ifmgr_0_1_get_system_prefix4( // Input values, const string& ifname, const string& vif, const IPv4& address, // Output values, uint32_t& prefix_len) = 0; virtual XrlCmdError ifmgr_0_1_get_system_broadcast4( // Input values, const string& ifname, const string& vif, const IPv4& address, // Output values, IPv4& broadcast) = 0; virtual XrlCmdError ifmgr_0_1_get_system_endpoint4( // Input values, const string& ifname, const string& vif, const IPv4& address, // Output values, IPv4& endpoint) = 0; virtual XrlCmdError ifmgr_0_1_get_system_prefix6( // Input values, const string& ifname, const string& vif, const IPv6& address, // Output values, uint32_t& prefix_len) = 0; virtual XrlCmdError ifmgr_0_1_get_system_endpoint6( // Input values, const string& ifname, const string& vif, const IPv6& address, // Output values, IPv6& endpoint) = 0; virtual XrlCmdError ifmgr_0_1_get_system_address_enabled4( // Input values, const string& ifname, const string& vif, const IPv4& address, // Output values, bool& enabled) = 0; virtual XrlCmdError ifmgr_0_1_get_system_address_enabled6( // Input values, const string& ifname, const string& vif, const IPv6& address, // Output values, bool& enabled) = 0; /** * Pure-virtual function that needs to be implemented to: * * Register network interface observer for all system interfaces. * * @param clientname name of xrl entity supporting fea_ifmgr_client.xif * methods. */ virtual XrlCmdError ifmgr_0_1_register_system_interfaces_client( // Input values, const string& clientname) = 0; /** * Pure-virtual function that needs to be implemented to: * * Unregister network interface observer for all system interfaces. This * method is not strictly necessary, the fea will remove the interface * observer from its list of known observers if interface update XRLs * fail. */ virtual XrlCmdError ifmgr_0_1_unregister_system_interfaces_client( // Input values, const string& clientname) = 0; /** * Pure-virtual function that needs to be implemented to: * * Register remote mirror of interface state. */ virtual XrlCmdError ifmgr_replicator_0_1_register_ifmgr_mirror( // Input values, const string& clientname) = 0; /** * Pure-virtual function that needs to be implemented to: * * Register remote mirror of interface state. */ virtual XrlCmdError ifmgr_replicator_0_1_unregister_ifmgr_mirror( // Input values, const string& clientname) = 0; /** * Pure-virtual function that needs to be implemented to: * * Start transaction. * * @param tid the transaction ID to use for this transaction. */ virtual XrlCmdError fti_0_2_start_transaction( // Output values, uint32_t& tid) = 0; /** * Pure-virtual function that needs to be implemented to: * * Commit transaction. * * @param tid the transaction ID of this transaction. */ virtual XrlCmdError fti_0_2_commit_transaction( // Input values, const uint32_t& tid) = 0; /** * Pure-virtual function that needs to be implemented to: * * Abort transaction. * * @param tid the transaction ID of this transaction. */ virtual XrlCmdError fti_0_2_abort_transaction( // Input values, const uint32_t& tid) = 0; /** * Pure-virtual function that needs to be implemented to: * * Add a routing entry. * * @param tid the transaction ID of this transaction. * * @param dst the destination subnet address of the entry. * * @param gateway the address of the next-hop router toward dst. * * @param ifname the name of the physical interface toward dst. * * @param vifname the name of the virtual interface toward dst. * * @param metric the routing metric toward dst. * * @param admin_distance the administratively defined distance toward dst. * * @param protocol_origin the name of the protocol that originated this * entry. */ virtual XrlCmdError fti_0_2_add_entry4( // Input values, const uint32_t& tid, const IPv4Net& dst, const IPv4& gateway, const string& ifname, const string& vifname, const uint32_t& metric, const uint32_t& admin_distance, const string& protocol_origin) = 0; /** * Pure-virtual function that needs to be implemented to: * * Add a routing entry. * * @param tid the transaction ID of this transaction. * * @param dst the destination subnet address of the entry. * * @param gateway the address of the next-hop router toward dst. * * @param ifname the name of the physical interface toward dst. * * @param vifname the name of the virtual interface toward dst. * * @param metric the routing metric toward dst. * * @param admin_distance the administratively defined distance toward dst. * * @param protocol_origin the name of the protocol that originated this * entry.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?