⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mld6igmp_xif.hh

📁 xorp源码hg
💻 HH
📖 第 1 页 / 共 2 页
字号:
    /**     *  Send Xrl intended to:     *     *  Set the Query Response Interval per interface.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @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.     */    bool send_set_vif_query_response_interval(	const char*	dst_xrl_target_name,	const string&	vif_name,	const uint32_t&	interval_sec,	const uint32_t&	interval_usec,	const SetVifQueryResponseIntervalCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr ResetVifQueryResponseIntervalCB;    /**     *  Send Xrl intended to:     *     *  Reset the Query Response Interval per interface to its default value.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param vif_name the name of the vif to apply to.     */    bool send_reset_vif_query_response_interval(	const char*	dst_xrl_target_name,	const string&	vif_name,	const ResetVifQueryResponseIntervalCB&	cb    );    typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr GetVifRobustCountCB;    /**     *  Send Xrl intended to:     *     *  Get the Robustness Variable count per interface.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param vif_name the name of the vif to apply to.     */    bool send_get_vif_robust_count(	const char*	dst_xrl_target_name,	const string&	vif_name,	const GetVifRobustCountCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr SetVifRobustCountCB;    /**     *  Send Xrl intended to:     *     *  Set the Robustness Variable count per interface.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param vif_name the name of the vif to apply to.     *     *  @param robust_count the count value.     */    bool send_set_vif_robust_count(	const char*	dst_xrl_target_name,	const string&	vif_name,	const uint32_t&	robust_count,	const SetVifRobustCountCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr ResetVifRobustCountCB;    /**     *  Send Xrl intended to:     *     *  Reset the Robustness Variable count per interface to its default value.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param vif_name the name of the vif to apply to.     */    bool send_reset_vif_robust_count(	const char*	dst_xrl_target_name,	const string&	vif_name,	const ResetVifRobustCountCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr LogTraceAllCB;    /**     *  Send Xrl intended to:     *     *  Enable/disable the MLD6IGMP trace log for all operations.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param enable if true, then enable the trace log, otherwise disable it.     */    bool send_log_trace_all(	const char*	dst_xrl_target_name,	const bool&	enable,	const LogTraceAllCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr AddProtocol4CB;    /**     *  Send Xrl intended to:     *     *  Add/delete a client protocol in the MLD/IGMP protocol.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param xrl_sender_name the XRL name of the originator of this XRL.     *     *  @param protocol_name the name of the protocol to add/delete.     *     *  @param protocol_id the ID of the protocol to add/delete (both sides     *  must agree on the particular values).     *     *  @param vif_name the name of the vif the protocol add/delete to apply     *  to.     *     *  @param vif_index the index of the vif the protocol add/delete to apply     *  to. The added protocol will receive Join/Leave membership information     *  about same-LAN members for the particular vif.     */    bool send_add_protocol4(	const char*	dst_xrl_target_name,	const string&	xrl_sender_name,	const string&	protocol_name,	const uint32_t&	protocol_id,	const string&	vif_name,	const uint32_t&	vif_index,	const AddProtocol4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr AddProtocol6CB;    bool send_add_protocol6(	const char*	dst_xrl_target_name,	const string&	xrl_sender_name,	const string&	protocol_name,	const uint32_t&	protocol_id,	const string&	vif_name,	const uint32_t&	vif_index,	const AddProtocol6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteProtocol4CB;    bool send_delete_protocol4(	const char*	dst_xrl_target_name,	const string&	xrl_sender_name,	const string&	protocol_name,	const uint32_t&	protocol_id,	const string&	vif_name,	const uint32_t&	vif_index,	const DeleteProtocol4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteProtocol6CB;    bool send_delete_protocol6(	const char*	dst_xrl_target_name,	const string&	xrl_sender_name,	const string&	protocol_name,	const uint32_t&	protocol_id,	const string&	vif_name,	const uint32_t&	vif_index,	const DeleteProtocol6CB&	cb    );protected:    XrlSender* _sender;private:    void unmarshall_enable_vif(	const XrlError&	e,	XrlArgs*	a,	EnableVifCB		cb    );    void unmarshall_start_vif(	const XrlError&	e,	XrlArgs*	a,	StartVifCB		cb    );    void unmarshall_stop_vif(	const XrlError&	e,	XrlArgs*	a,	StopVifCB		cb    );    void unmarshall_enable_all_vifs(	const XrlError&	e,	XrlArgs*	a,	EnableAllVifsCB		cb    );    void unmarshall_start_all_vifs(	const XrlError&	e,	XrlArgs*	a,	StartAllVifsCB		cb    );    void unmarshall_stop_all_vifs(	const XrlError&	e,	XrlArgs*	a,	StopAllVifsCB		cb    );    void unmarshall_enable_mld6igmp(	const XrlError&	e,	XrlArgs*	a,	EnableMld6IgmpCB		cb    );    void unmarshall_start_mld6igmp(	const XrlError&	e,	XrlArgs*	a,	StartMld6IgmpCB		cb    );    void unmarshall_stop_mld6igmp(	const XrlError&	e,	XrlArgs*	a,	StopMld6IgmpCB		cb    );    void unmarshall_enable_cli(	const XrlError&	e,	XrlArgs*	a,	EnableCliCB		cb    );    void unmarshall_start_cli(	const XrlError&	e,	XrlArgs*	a,	StartCliCB		cb    );    void unmarshall_stop_cli(	const XrlError&	e,	XrlArgs*	a,	StopCliCB		cb    );    void unmarshall_get_vif_proto_version(	const XrlError&	e,	XrlArgs*	a,	GetVifProtoVersionCB		cb    );    void unmarshall_set_vif_proto_version(	const XrlError&	e,	XrlArgs*	a,	SetVifProtoVersionCB		cb    );    void unmarshall_reset_vif_proto_version(	const XrlError&	e,	XrlArgs*	a,	ResetVifProtoVersionCB		cb    );    void unmarshall_get_vif_ip_router_alert_option_check(	const XrlError&	e,	XrlArgs*	a,	GetVifIpRouterAlertOptionCheckCB		cb    );    void unmarshall_set_vif_ip_router_alert_option_check(	const XrlError&	e,	XrlArgs*	a,	SetVifIpRouterAlertOptionCheckCB		cb    );    void unmarshall_reset_vif_ip_router_alert_option_check(	const XrlError&	e,	XrlArgs*	a,	ResetVifIpRouterAlertOptionCheckCB		cb    );    void unmarshall_get_vif_query_interval(	const XrlError&	e,	XrlArgs*	a,	GetVifQueryIntervalCB		cb    );    void unmarshall_set_vif_query_interval(	const XrlError&	e,	XrlArgs*	a,	SetVifQueryIntervalCB		cb    );    void unmarshall_reset_vif_query_interval(	const XrlError&	e,	XrlArgs*	a,	ResetVifQueryIntervalCB		cb    );    void unmarshall_get_vif_query_last_member_interval(	const XrlError&	e,	XrlArgs*	a,	GetVifQueryLastMemberIntervalCB		cb    );    void unmarshall_set_vif_query_last_member_interval(	const XrlError&	e,	XrlArgs*	a,	SetVifQueryLastMemberIntervalCB		cb    );    void unmarshall_reset_vif_query_last_member_interval(	const XrlError&	e,	XrlArgs*	a,	ResetVifQueryLastMemberIntervalCB		cb    );    void unmarshall_get_vif_query_response_interval(	const XrlError&	e,	XrlArgs*	a,	GetVifQueryResponseIntervalCB		cb    );    void unmarshall_set_vif_query_response_interval(	const XrlError&	e,	XrlArgs*	a,	SetVifQueryResponseIntervalCB		cb    );    void unmarshall_reset_vif_query_response_interval(	const XrlError&	e,	XrlArgs*	a,	ResetVifQueryResponseIntervalCB		cb    );    void unmarshall_get_vif_robust_count(	const XrlError&	e,	XrlArgs*	a,	GetVifRobustCountCB		cb    );    void unmarshall_set_vif_robust_count(	const XrlError&	e,	XrlArgs*	a,	SetVifRobustCountCB		cb    );    void unmarshall_reset_vif_robust_count(	const XrlError&	e,	XrlArgs*	a,	ResetVifRobustCountCB		cb    );    void unmarshall_log_trace_all(	const XrlError&	e,	XrlArgs*	a,	LogTraceAllCB		cb    );    void unmarshall_add_protocol4(	const XrlError&	e,	XrlArgs*	a,	AddProtocol4CB		cb    );    void unmarshall_add_protocol6(	const XrlError&	e,	XrlArgs*	a,	AddProtocol6CB		cb    );    void unmarshall_delete_protocol4(	const XrlError&	e,	XrlArgs*	a,	DeleteProtocol4CB		cb    );    void unmarshall_delete_protocol6(	const XrlError&	e,	XrlArgs*	a,	DeleteProtocol6CB		cb    );};#endif /* __XRL_INTERFACES_MLD6IGMP_XIF_HH__ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -