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

📄 pim_xif.hh

📁 xorp源码hg
💻 HH
📖 第 1 页 / 共 5 页
字号:
/* * 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/pim_xif.hh,v 1.37 2007/02/16 22:47:41 pavlin Exp $ */#ifndef __XRL_INTERFACES_PIM_XIF_HH__#define __XRL_INTERFACES_PIM_XIF_HH__#undef XORP_LIBRARY_NAME#define XORP_LIBRARY_NAME "XifPim"#include "libxorp/xlog.h"#include "libxorp/callback.hh"#include "libxipc/xrl.hh"#include "libxipc/xrl_error.hh"#include "libxipc/xrl_sender.hh"class XrlPimV0p1Client {public:    XrlPimV0p1Client(XrlSender* s) : _sender(s) {}    virtual ~XrlPimV0p1Client() {}    typedef XorpCallback1<void, const XrlError&>::RefPtr EnableVifCB;    /**     *  Send Xrl intended to:     *     *  Enable/disable/start/stop a PIM 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 PIM 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 EnablePimCB;    /**     *  Send Xrl intended to:     *     *  Enable/disable/start/stop the PIM protocol.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param enable if true, then enable the PIM protocol, otherwise disable     *  it.     */    bool send_enable_pim(	const char*	dst_xrl_target_name,	const bool&	enable,	const EnablePimCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr StartPimCB;    bool send_start_pim(	const char*	dst_xrl_target_name,	const StartPimCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr StopPimCB;    bool send_stop_pim(	const char*	dst_xrl_target_name,	const StopPimCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr EnableCliCB;    /**     *  Send Xrl intended to:     *     *  Enable/disable/start/stop the PIM CLI access.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param enable if true, then enable the PIM 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 XorpCallback1<void, const XrlError&>::RefPtr EnableBsrCB;    /**     *  Send Xrl intended to:     *     *  Enable/disable/start/stop BSR.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param enable if true, then enable the BSR, otherwise disable it.     */    bool send_enable_bsr(	const char*	dst_xrl_target_name,	const bool&	enable,	const EnableBsrCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr StartBsrCB;    bool send_start_bsr(	const char*	dst_xrl_target_name,	const StartBsrCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr StopBsrCB;    bool send_stop_bsr(	const char*	dst_xrl_target_name,	const StopBsrCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr AddConfigScopeZoneByVifName4CB;    /**     *  Send Xrl intended to:     *     *  Add/delete scope zone.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param scope_zone_id the ID of the configured zone.     *     *  @param vif_name the name of the vif to use as a bondary of the scope     *  zone.     */    bool send_add_config_scope_zone_by_vif_name4(	const char*	dst_xrl_target_name,	const IPv4Net&	scope_zone_id,	const string&	vif_name,	const AddConfigScopeZoneByVifName4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr AddConfigScopeZoneByVifName6CB;    bool send_add_config_scope_zone_by_vif_name6(	const char*	dst_xrl_target_name,	const IPv6Net&	scope_zone_id,	const string&	vif_name,	const AddConfigScopeZoneByVifName6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr AddConfigScopeZoneByVifAddr4CB;    bool send_add_config_scope_zone_by_vif_addr4(	const char*	dst_xrl_target_name,	const IPv4Net&	scope_zone_id,	const IPv4&	vif_addr,	const AddConfigScopeZoneByVifAddr4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr AddConfigScopeZoneByVifAddr6CB;    bool send_add_config_scope_zone_by_vif_addr6(	const char*	dst_xrl_target_name,	const IPv6Net&	scope_zone_id,	const IPv6&	vif_addr,	const AddConfigScopeZoneByVifAddr6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteConfigScopeZoneByVifName4CB;    bool send_delete_config_scope_zone_by_vif_name4(	const char*	dst_xrl_target_name,	const IPv4Net&	scope_zone_id,	const string&	vif_name,	const DeleteConfigScopeZoneByVifName4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteConfigScopeZoneByVifName6CB;    bool send_delete_config_scope_zone_by_vif_name6(	const char*	dst_xrl_target_name,	const IPv6Net&	scope_zone_id,	const string&	vif_name,	const DeleteConfigScopeZoneByVifName6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteConfigScopeZoneByVifAddr4CB;    bool send_delete_config_scope_zone_by_vif_addr4(	const char*	dst_xrl_target_name,	const IPv4Net&	scope_zone_id,	const IPv4&	vif_addr,	const DeleteConfigScopeZoneByVifAddr4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteConfigScopeZoneByVifAddr6CB;    bool send_delete_config_scope_zone_by_vif_addr6(	const char*	dst_xrl_target_name,	const IPv6Net&	scope_zone_id,	const IPv6&	vif_addr,	const DeleteConfigScopeZoneByVifAddr6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr AddConfigCandBsr4CB;    /**     *  Send Xrl intended to:     *     *  Add/delete candidate-BSR configuration.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param scope_zone_id the ID of the configured zone.     *     *  @param is_scope_zone true if configuring administratively scoped zone.     *     *  @param vif_name the name of the vif to use its address as a     *  candidate-BSR.     *     *  @param vif_addr the address of the vif to use as a candidate-BSR.     *     *  @param bsr_priority the BSR priority (larger is better).     *     *  @param hash_mask_len the hash mask length.     */    bool send_add_config_cand_bsr4(	const char*	dst_xrl_target_name,	const IPv4Net&	scope_zone_id,	const bool&	is_scope_zone,	const string&	vif_name,	const IPv4&	vif_addr,	const uint32_t&	bsr_priority,	const uint32_t&	hash_mask_len,	const AddConfigCandBsr4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr AddConfigCandBsr6CB;    bool send_add_config_cand_bsr6(	const char*	dst_xrl_target_name,	const IPv6Net&	scope_zone_id,	const bool&	is_scope_zone,	const string&	vif_name,	const IPv6&	vif_addr,	const uint32_t&	bsr_priority,	const uint32_t&	hash_mask_len,	const AddConfigCandBsr6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteConfigCandBsr4CB;    bool send_delete_config_cand_bsr4(	const char*	dst_xrl_target_name,	const IPv4Net&	scope_zone_id,	const bool&	is_scope_zone,	const DeleteConfigCandBsr4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteConfigCandBsr6CB;    bool send_delete_config_cand_bsr6(	const char*	dst_xrl_target_name,	const IPv6Net&	scope_zone_id,	const bool&	is_scope_zone,	const DeleteConfigCandBsr6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr AddConfigCandRp4CB;    /**     *  Send Xrl intended to:     *     *  Add/delete Candidate-RP configuration.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param group_prefix the group prefix of the configured zone.     *     *  @param is_scope_zone true if configuring administratively scoped zone.     *     *  @param vif_name the name of the vif to use its address as a     *  candidate-RP.     *     *  @param vif_addr the address of the vif to use as a candidate-RP.     *     *  @param rp_priority the Cand-RP priority (smaller is better).     *     *  @param rp_holdtime the Cand-RP holdtime (in seconds).     */    bool send_add_config_cand_rp4(	const char*	dst_xrl_target_name,	const IPv4Net&	group_prefix,	const bool&	is_scope_zone,	const string&	vif_name,	const IPv4&	vif_addr,	const uint32_t&	rp_priority,	const uint32_t&	rp_holdtime,	const AddConfigCandRp4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr AddConfigCandRp6CB;    bool send_add_config_cand_rp6(	const char*	dst_xrl_target_name,	const IPv6Net&	group_prefix,	const bool&	is_scope_zone,	const string&	vif_name,	const IPv6&	vif_addr,	const uint32_t&	rp_priority,	const uint32_t&	rp_holdtime,	const AddConfigCandRp6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteConfigCandRp4CB;    bool send_delete_config_cand_rp4(	const char*	dst_xrl_target_name,	const IPv4Net&	group_prefix,	const bool&	is_scope_zone,	const string&	vif_name,	const IPv4&	vif_addr,	const DeleteConfigCandRp4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteConfigCandRp6CB;    bool send_delete_config_cand_rp6(	const char*	dst_xrl_target_name,	const IPv6Net&	group_prefix,	const bool&	is_scope_zone,	const string&	vif_name,	const IPv6&	vif_addr,	const DeleteConfigCandRp6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr AddConfigStaticRp4CB;    /**     *  Send Xrl intended to:     *     *  Add/delete/complete static RP configuration.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param group_prefix the group prefix for the RP.     *     *  @param rp_addr the RP address.     *     *  @param rp_priority the RP priority (smaller is better).

⌨️ 快捷键说明

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