mld6igmp_base.hh
来自「xorp源码hg」· HH 代码 · 共 999 行 · 第 1/3 页
HH
999 行
const vector<uint8_t>& protocol_message) = 0; virtual XrlCmdError mfea_client_0_1_recv_protocol_message6( // Input values, const string& xrl_sender_name, const string& protocol_name, const uint32_t& protocol_id, const string& vif_name, const uint32_t& vif_index, const IPv6& source_address, const IPv6& dest_address, const int32_t& ip_ttl, const int32_t& ip_tos, const bool& is_router_alert, const vector<uint8_t>& protocol_message) = 0; /** * Pure-virtual function that needs to be implemented to: * * Receive a kernel signal message from the MFEA. * * @param xrl_sender_name the XRL name of the originator of this XRL. * * @param protocol_name the name of the protocol that sends a message. * * @param protocol_id the ID of the protocol that sends a message (both * sides must agree on the particular values). * * @param message_type the type of the kernel signal message (TODO: * integer for now: the particular types are well-known by both sides). * * @param vif_name the name of the vif the message was received on. * * @param vif_index the index of the vif the message was received on. * * @param source_address the address of the sender. * * @param dest_address the destination address. * * @param protocol_message the protocol message. */ virtual XrlCmdError mfea_client_0_1_recv_kernel_signal_message4( // Input values, const string& xrl_sender_name, const string& protocol_name, const uint32_t& protocol_id, const uint32_t& message_type, const string& vif_name, const uint32_t& vif_index, const IPv4& source_address, const IPv4& dest_address, const vector<uint8_t>& protocol_message) = 0; virtual XrlCmdError mfea_client_0_1_recv_kernel_signal_message6( // Input values, const string& xrl_sender_name, const string& protocol_name, const uint32_t& protocol_id, const uint32_t& message_type, const string& vif_name, const uint32_t& vif_index, const IPv6& source_address, const IPv6& dest_address, const vector<uint8_t>& protocol_message) = 0; /** * Pure-virtual function that needs to be implemented to: * * A signal that a dataflow-related pre-condition is true. * * @param xrl_sender_name the XRL name of the originator of this XRL. * * @param source_address the source address of the dataflow. * * @param group_address the group address of the dataflow. * * @param threshold_interval_sec the number of seconds in the interval * requested for measurement. * * @param threshold_interval_usec the number of microseconds in the * interval requested for measurement. * * @param measured_interval_sec the number of seconds in the last measured * interval that has triggered the signal. * * @param measured_interval_usec the number of microseconds in the last * measured interval that has triggered the signal. * * @param threshold_packets the threshold value to trigger a signal (in * number of packets). * * @param threshold_bytes the threshold value to trigger a signal (in * bytes). * * @param measured_packets the number of packets measured within the * measured interval. * * @param measured_bytes the number of bytes measured within the measured * interval. * * @param is_threshold_in_packets if true, threshold_packets is valid. * * @param is_threshold_in_bytes if true, threshold_bytes is valid. * * @param is_geq_upcall if true, the operation for comparison is ">=". * * @param is_leq_upcall if true, the operation for comparison is "<=". */ virtual XrlCmdError mfea_client_0_1_recv_dataflow_signal4( // Input values, const string& xrl_sender_name, const IPv4& source_address, const IPv4& group_address, const uint32_t& threshold_interval_sec, const uint32_t& threshold_interval_usec, const uint32_t& measured_interval_sec, const uint32_t& measured_interval_usec, const uint32_t& threshold_packets, const uint32_t& threshold_bytes, const uint32_t& measured_packets, const uint32_t& measured_bytes, const bool& is_threshold_in_packets, const bool& is_threshold_in_bytes, const bool& is_geq_upcall, const bool& is_leq_upcall) = 0; virtual XrlCmdError mfea_client_0_1_recv_dataflow_signal6( // Input values, const string& xrl_sender_name, const IPv6& source_address, const IPv6& group_address, const uint32_t& threshold_interval_sec, const uint32_t& threshold_interval_usec, const uint32_t& measured_interval_sec, const uint32_t& measured_interval_usec, const uint32_t& threshold_packets, const uint32_t& threshold_bytes, const uint32_t& measured_packets, const uint32_t& measured_bytes, const bool& is_threshold_in_packets, const bool& is_threshold_in_bytes, const bool& is_geq_upcall, const bool& is_leq_upcall) = 0; /** * Pure-virtual function that needs to be implemented to: * * Enable/disable/start/stop a MLD6IGMP vif interface. * * @param vif_name the name of the vif to enable/disable/start/stop. * * @param enable if true, then enable the vif, otherwise disable it. */ virtual XrlCmdError mld6igmp_0_1_enable_vif( // Input values, const string& vif_name, const bool& enable) = 0; virtual XrlCmdError mld6igmp_0_1_start_vif( // Input values, const string& vif_name) = 0; virtual XrlCmdError mld6igmp_0_1_stop_vif( // Input values, const string& vif_name) = 0; /** * Pure-virtual function that needs to be implemented to: * * Enable/disable/start/stop all MLD6IGMP vif interfaces. * * @param enable if true, then enable the vifs, otherwise disable them. */ virtual XrlCmdError mld6igmp_0_1_enable_all_vifs( // Input values, const bool& enable) = 0; virtual XrlCmdError mld6igmp_0_1_start_all_vifs() = 0; virtual XrlCmdError mld6igmp_0_1_stop_all_vifs() = 0; /** * Pure-virtual function that needs to be implemented to: * * Enable/disable/start/stop the MLD6IGMP protocol. * * @param enable if true, then enable the MLD6IGMP protocol, otherwise * disable it. */ virtual XrlCmdError mld6igmp_0_1_enable_mld6igmp( // Input values, const bool& enable) = 0; virtual XrlCmdError mld6igmp_0_1_start_mld6igmp() = 0; virtual XrlCmdError mld6igmp_0_1_stop_mld6igmp() = 0; /** * Pure-virtual function that needs to be implemented to: * * Enable/disable/start/stop the MLD6IGMP CLI access. * * @param enable if true, then enable the MLD6IGMP CLI access, otherwise * disable it. */ virtual XrlCmdError mld6igmp_0_1_enable_cli( // Input values, const bool& enable) = 0; virtual XrlCmdError mld6igmp_0_1_start_cli() = 0; virtual XrlCmdError mld6igmp_0_1_stop_cli() = 0; /** * Pure-virtual function that needs to be implemented to: * * Get the configured protocol version per interface. * * @param vif_name the name of the vif to apply to. * * @param proto_version the protocol version. */ virtual XrlCmdError mld6igmp_0_1_get_vif_proto_version( // Input values, const string& vif_name, // Output values, uint32_t& proto_version) = 0; /** * Pure-virtual function that needs to be implemented to: * * Set the protocol version per interface. * * @param vif_name the name of the vif to apply to. * * @param proto_version the protocol version. */ virtual XrlCmdError mld6igmp_0_1_set_vif_proto_version( // Input values, const string& vif_name, const uint32_t& proto_version) = 0; /** * Pure-virtual function that needs to be implemented to: * * Reset the protocol version per interface to its default value. * * @param vif_name the name of the vif to apply to. */ virtual XrlCmdError mld6igmp_0_1_reset_vif_proto_version( // Input values, const string& vif_name) = 0; /** * Pure-virtual function that needs to be implemented to: * * Get the IP Router Alert option check per interface for received * packets. * * @param vif_name the name of the vif to apply to. * * @param enabled if true, then the IP Router Alert option check was * enabled, otherwise it was disabled. */ virtual XrlCmdError mld6igmp_0_1_get_vif_ip_router_alert_option_check( // Input values, const string& vif_name, // Output values, bool& enabled) = 0; /** * Pure-virtual function that needs to be implemented to: * * Set the IP Router Alert option check per interface for received * packets. * * @param vif_name the name of the vif to apply to. * * @param enable if true, then enable the IP Router Alert option check, * otherwise disable it. */ virtual XrlCmdError mld6igmp_0_1_set_vif_ip_router_alert_option_check( // Input values, const string& vif_name, const bool& enable) = 0; /** * Pure-virtual function that needs to be implemented to: * * Reset the IP Router Alert option check for received packets per per * interface to its default value. * * @param vif_name the name of the vif to apply to. */ virtual XrlCmdError mld6igmp_0_1_reset_vif_ip_router_alert_option_check( // Input values, const string& vif_name) = 0; /** * Pure-virtual function that needs to be implemented to: * * Get the Query Interval per interface. * * @param vif_name the name of the vif to apply to. * * @param interval_sec the number of seconds in the interval. * * @param interval_usec the number of microseconds (in addition to * interval_sec) in the interval. */ virtual XrlCmdError mld6igmp_0_1_get_vif_query_interval( // Input values, const string& vif_name, // Output values, uint32_t& interval_sec, uint32_t& interval_usec) = 0; /** * Pure-virtual function that needs to be implemented to: * * Set the Query Interval per interface. * * @param vif_name the name of the vif to apply to. * * @param interval_sec the number of seconds in the interval. * * @param interval_usec the number of microseconds (in addition to * interval_sec) in the interval. */ virtual XrlCmdError mld6igmp_0_1_set_vif_query_interval( // Input values, const string& vif_name, const uint32_t& interval_sec,
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?