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

📄 mld6igmp_xif.hh

📁 xorp源码hg
💻 HH
📖 第 1 页 / 共 2 页
字号:
/* * Copyright (c) 2001-2007 International Computer Science Institute * See LICENSE file for licensing, conditions, and warranties on use. * * DO NOT EDIT THIS FILE - IT IS PROGRAMMATICALLY GENERATED * * Generated by 'clnt-gen'. * * $XORP: xorp/xrl/interfaces/mld6igmp_xif.hh,v 1.21 2007/02/16 22:47:40 pavlin Exp $ */#ifndef __XRL_INTERFACES_MLD6IGMP_XIF_HH__#define __XRL_INTERFACES_MLD6IGMP_XIF_HH__#undef XORP_LIBRARY_NAME#define XORP_LIBRARY_NAME "XifMld6igmp"#include "libxorp/xlog.h"#include "libxorp/callback.hh"#include "libxipc/xrl.hh"#include "libxipc/xrl_error.hh"#include "libxipc/xrl_sender.hh"class XrlMld6igmpV0p1Client {public:    XrlMld6igmpV0p1Client(XrlSender* s) : _sender(s) {}    virtual ~XrlMld6igmpV0p1Client() {}    typedef XorpCallback1<void, const XrlError&>::RefPtr EnableVifCB;    /**     *  Send Xrl intended to:     *     *  Enable/disable/start/stop a MLD6IGMP vif interface.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param vif_name the name of the vif to enable/disable/start/stop.     *     *  @param enable if true, then enable the vif, otherwise disable it.     */    bool send_enable_vif(	const char*	dst_xrl_target_name,	const string&	vif_name,	const bool&	enable,	const EnableVifCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr StartVifCB;    bool send_start_vif(	const char*	dst_xrl_target_name,	const string&	vif_name,	const StartVifCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr StopVifCB;    bool send_stop_vif(	const char*	dst_xrl_target_name,	const string&	vif_name,	const StopVifCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr EnableAllVifsCB;    /**     *  Send Xrl intended to:     *     *  Enable/disable/start/stop all MLD6IGMP vif interfaces.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param enable if true, then enable the vifs, otherwise disable them.     */    bool send_enable_all_vifs(	const char*	dst_xrl_target_name,	const bool&	enable,	const EnableAllVifsCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr StartAllVifsCB;    bool send_start_all_vifs(	const char*	dst_xrl_target_name,	const StartAllVifsCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr StopAllVifsCB;    bool send_stop_all_vifs(	const char*	dst_xrl_target_name,	const StopAllVifsCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr EnableMld6IgmpCB;    /**     *  Send Xrl intended to:     *     *  Enable/disable/start/stop the MLD6IGMP protocol.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param enable if true, then enable the MLD6IGMP protocol, otherwise     *  disable it.     */    bool send_enable_mld6igmp(	const char*	dst_xrl_target_name,	const bool&	enable,	const EnableMld6IgmpCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr StartMld6IgmpCB;    bool send_start_mld6igmp(	const char*	dst_xrl_target_name,	const StartMld6IgmpCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr StopMld6IgmpCB;    bool send_stop_mld6igmp(	const char*	dst_xrl_target_name,	const StopMld6IgmpCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr EnableCliCB;    /**     *  Send Xrl intended to:     *     *  Enable/disable/start/stop the MLD6IGMP CLI access.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param enable if true, then enable the MLD6IGMP CLI access, otherwise     *  disable it.     */    bool send_enable_cli(	const char*	dst_xrl_target_name,	const bool&	enable,	const EnableCliCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr StartCliCB;    bool send_start_cli(	const char*	dst_xrl_target_name,	const StartCliCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr StopCliCB;    bool send_stop_cli(	const char*	dst_xrl_target_name,	const StopCliCB&	cb    );    typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr GetVifProtoVersionCB;    /**     *  Send Xrl intended to:     *     *  Get the configured protocol version 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_proto_version(	const char*	dst_xrl_target_name,	const string&	vif_name,	const GetVifProtoVersionCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr SetVifProtoVersionCB;    /**     *  Send Xrl intended to:     *     *  Set the protocol version 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 proto_version the protocol version.     */    bool send_set_vif_proto_version(	const char*	dst_xrl_target_name,	const string&	vif_name,	const uint32_t&	proto_version,	const SetVifProtoVersionCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr ResetVifProtoVersionCB;    /**     *  Send Xrl intended to:     *     *  Reset the protocol version 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_proto_version(	const char*	dst_xrl_target_name,	const string&	vif_name,	const ResetVifProtoVersionCB&	cb    );    typedef XorpCallback2<void, const XrlError&, const bool*>::RefPtr GetVifIpRouterAlertOptionCheckCB;    /**     *  Send Xrl intended to:     *     *  Get the IP Router Alert option check per interface for received     *  packets.     *     *  @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_ip_router_alert_option_check(	const char*	dst_xrl_target_name,	const string&	vif_name,	const GetVifIpRouterAlertOptionCheckCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr SetVifIpRouterAlertOptionCheckCB;    /**     *  Send Xrl intended to:     *     *  Set the IP Router Alert option check per interface for received     *  packets.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @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.     */    bool send_set_vif_ip_router_alert_option_check(	const char*	dst_xrl_target_name,	const string&	vif_name,	const bool&	enable,	const SetVifIpRouterAlertOptionCheckCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr ResetVifIpRouterAlertOptionCheckCB;    /**     *  Send Xrl intended to:     *     *  Reset the IP Router Alert option check for received packets per 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_ip_router_alert_option_check(	const char*	dst_xrl_target_name,	const string&	vif_name,	const ResetVifIpRouterAlertOptionCheckCB&	cb    );    typedef XorpCallback3<void, const XrlError&, const uint32_t*, const uint32_t*>::RefPtr GetVifQueryIntervalCB;    /**     *  Send Xrl intended to:     *     *  Get the Query 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.     */    bool send_get_vif_query_interval(	const char*	dst_xrl_target_name,	const string&	vif_name,	const GetVifQueryIntervalCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr SetVifQueryIntervalCB;    /**     *  Send Xrl intended to:     *     *  Set the Query 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_interval(	const char*	dst_xrl_target_name,	const string&	vif_name,	const uint32_t&	interval_sec,	const uint32_t&	interval_usec,	const SetVifQueryIntervalCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr ResetVifQueryIntervalCB;    /**     *  Send Xrl intended to:     *     *  Reset the Query 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_interval(	const char*	dst_xrl_target_name,	const string&	vif_name,	const ResetVifQueryIntervalCB&	cb    );    typedef XorpCallback3<void, const XrlError&, const uint32_t*, const uint32_t*>::RefPtr GetVifQueryLastMemberIntervalCB;    /**     *  Send Xrl intended to:     *     *  Get the Last Member Query 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.     */    bool send_get_vif_query_last_member_interval(	const char*	dst_xrl_target_name,	const string&	vif_name,	const GetVifQueryLastMemberIntervalCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr SetVifQueryLastMemberIntervalCB;    /**     *  Send Xrl intended to:     *     *  Set the Last Member Query 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_last_member_interval(	const char*	dst_xrl_target_name,	const string&	vif_name,	const uint32_t&	interval_sec,	const uint32_t&	interval_usec,	const SetVifQueryLastMemberIntervalCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr ResetVifQueryLastMemberIntervalCB;    /**     *  Send Xrl intended to:     *     *  Reset the Last Member Query 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_last_member_interval(	const char*	dst_xrl_target_name,	const string&	vif_name,	const ResetVifQueryLastMemberIntervalCB&	cb    );    typedef XorpCallback3<void, const XrlError&, const uint32_t*, const uint32_t*>::RefPtr GetVifQueryResponseIntervalCB;    /**     *  Send Xrl intended to:     *     *  Get 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.     */    bool send_get_vif_query_response_interval(	const char*	dst_xrl_target_name,	const string&	vif_name,	const GetVifQueryResponseIntervalCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr SetVifQueryResponseIntervalCB;

⌨️ 快捷键说明

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