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

📄 bgp_xif.hh

📁 xorp源码hg
💻 HH
📖 第 1 页 / 共 3 页
字号:
     */    bool send_set_route_reflector_client(	const char*	dst_xrl_target_name,	const string&	local_ip,	const uint32_t&	local_port,	const string&	peer_ip,	const uint32_t&	peer_port,	const bool&	state,	const SetRouteReflectorClientCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr SetConfederationMemberCB;    /**     *  Send Xrl intended to:     *     *  Is this peer a confederation member.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param state true if peer is a confederation member.     */    bool send_set_confederation_member(	const char*	dst_xrl_target_name,	const string&	local_ip,	const uint32_t&	local_port,	const string&	peer_ip,	const uint32_t&	peer_port,	const bool&	state,	const SetConfederationMemberCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr SetPrefixLimitCB;    /**     *  Send Xrl intended to:     *     *  Set the prefix limit.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param maximum number of prefixes     *     *  @param state true if the prefix limit is being enforced     */    bool send_set_prefix_limit(	const char*	dst_xrl_target_name,	const string&	local_ip,	const uint32_t&	local_port,	const string&	peer_ip,	const uint32_t&	peer_port,	const uint32_t&	maximum,	const bool&	state,	const SetPrefixLimitCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr SetNexthop4CB;    /**     *  Send Xrl intended to:     *     *  Set the peer's AS number.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param next_hop IPv4 nexthop.     */    bool send_set_nexthop4(	const char*	dst_xrl_target_name,	const string&	local_ip,	const uint32_t&	local_port,	const string&	peer_ip,	const uint32_t&	peer_port,	const IPv4&	next_hop,	const SetNexthop4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr SetNexthop6CB;    /**     *  Send Xrl intended to:     *     *  Set the IPv6 nexthop.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param next_hop IPv6 nexthop     */    bool send_set_nexthop6(	const char*	dst_xrl_target_name,	const string&	local_ip,	const uint32_t&	local_port,	const string&	peer_ip,	const uint32_t&	peer_port,	const IPv6&	next_hop,	const SetNexthop6CB&	cb    );    typedef XorpCallback2<void, const XrlError&, const IPv6*>::RefPtr GetNexthop6CB;    /**     *  Send Xrl intended to:     *     *  Get the IPv6 nexthop.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     */    bool send_get_nexthop6(	const char*	dst_xrl_target_name,	const string&	local_ip,	const uint32_t&	local_port,	const string&	peer_ip,	const uint32_t&	peer_port,	const GetNexthop6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr SetPeerStateCB;    /**     *  Send Xrl intended to:     *     *  Set the peer state enabled or disabled.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param toggle enabled or disabled.     */    bool send_set_peer_state(	const char*	dst_xrl_target_name,	const string&	local_ip,	const uint32_t&	local_port,	const string&	peer_ip,	const uint32_t&	peer_port,	const bool&	toggle,	const SetPeerStateCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr SetPeerMd5PasswordCB;    /**     *  Send Xrl intended to:     *     *  Set the peer md5 password.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param password the password to use for TCP-MD5 authentication.     */    bool send_set_peer_md5_password(	const char*	dst_xrl_target_name,	const string&	local_ip,	const uint32_t&	local_port,	const string&	peer_ip,	const uint32_t&	peer_port,	const string&	password,	const SetPeerMd5PasswordCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr ActivateCB;    /**     *  Send Xrl intended to:     *     *  Enable or disable the peering based on the peer state.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     */    bool send_activate(	const char*	dst_xrl_target_name,	const string&	local_ip,	const uint32_t&	local_port,	const string&	peer_ip,	const uint32_t&	peer_port,	const ActivateCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr SetParameterCB;    /**     *  Send Xrl intended to:     *     *  Set which parameters we support per peer     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     */    bool send_set_parameter(	const char*	dst_xrl_target_name,	const string&	local_ip,	const uint32_t&	local_port,	const string&	peer_ip,	const uint32_t&	peer_port,	const string&	parameter,	const bool&	toggle,	const SetParameterCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr NextHopRewriteFilterCB;    /**     *  Send Xrl intended to:     *     *  Set next hop rewrite filter. XXX - This is a temporary hack until we     *  get programmable filters.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     */    bool send_next_hop_rewrite_filter(	const char*	dst_xrl_target_name,	const string&	local_ip,	const uint32_t&	local_port,	const string&	peer_ip,	const uint32_t&	peer_port,	const IPv4&	next_hop,	const NextHopRewriteFilterCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr OriginateRoute4CB;    /**     *  Send Xrl intended to:     *     *  Originate route IPv4     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param nlri subnet to announce     *     *  @param next_hop to forward to     *     *  @param unicast if true install in unicast routing table     *     *  @param multicast if true install in multicast routing table     */    bool send_originate_route4(	const char*	dst_xrl_target_name,	const IPv4Net&	nlri,	const IPv4&	next_hop,	const bool&	unicast,	const bool&	multicast,	const OriginateRoute4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr OriginateRoute6CB;    /**     *  Send Xrl intended to:     *     *  Originate route IPv6     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param nlri subnet to announce     *     *  @param next_hop to forward to     *     *  @param unicast if true install in unicast routing table     *     *  @param multicast if true install in multicast routing table     */    bool send_originate_route6(	const char*	dst_xrl_target_name,	const IPv6Net&	nlri,	const IPv6&	next_hop,	const bool&	unicast,	const bool&	multicast,	const OriginateRoute6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr WithdrawRoute4CB;    /**     *  Send Xrl intended to:     *     *  Withdraw route IPv4     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param nlri subnet to withdraw     *     *  @param unicast if true withdraw from unicast routing table     *     *  @param multicast if true withdraw from multicast routing table     */    bool send_withdraw_route4(	const char*	dst_xrl_target_name,	const IPv4Net&	nlri,	const bool&	unicast,	const bool&	multicast,	const WithdrawRoute4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr WithdrawRoute6CB;    /**     *  Send Xrl intended to:     *     *  Withdraw route IPv6     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param nlri subnet to withdraw     *     *  @param unicast if true withdraw from unicast routing table     *     *  @param multicast if true withdraw from multicast routing table     */    bool send_withdraw_route6(	const char*	dst_xrl_target_name,	const IPv6Net&	nlri,	const bool&	unicast,	const bool&	multicast,	const WithdrawRoute6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr TraceCB;    /**     *  Send Xrl intended to:     *     *  Enable/Disable tracing.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param tvar trace variable.     *     *  @param enable set to true to enable false to disable.     */    bool send_trace(	const char*	dst_xrl_target_name,	const string&	tvar,	const bool&	enable,	const TraceCB&	cb    );    typedef XorpCallback3<void, const XrlError&, const uint32_t*, const bool*>::RefPtr GetPeerListStartCB;    /**     *  Send Xrl intended to:     *     *  Get the first item of a list of BGP peers See RFC 1657 (BGP MIB) for     *  full definitions of return values.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     */    bool send_get_peer_list_start(	const char*	dst_xrl_target_name,	const GetPeerListStartCB&	cb    );    typedef XorpCallback6<void, const XrlError&, const string*, const uint32_t*, const string*, const uint32_t*, const bool*>::RefPtr GetPeerListNextCB;    /**     *  Send Xrl intended to:     *     *  Get the next item of a list of BGP peers     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param token token from prior call to get_peer_list     */    bool send_get_peer_list_next(	const char*	dst_xrl_target_name,	const uint32_t&	token,	const GetPeerListNextCB&	cb    );    typedef XorpCallback2<void, const XrlError&, const IPv4*>::RefPtr GetPeerIdCB;    bool send_get_peer_id(	const char*	dst_xrl_target_name,	const string&	local_ip,	const uint32_t&	local_port,	const string&	peer_ip,	const uint32_t&	peer_port,	const GetPeerIdCB&	cb    );    typedef XorpCallback3<void, const XrlError&, const uint32_t*, const uint32_t*>::RefPtr GetPeerStatusCB;    bool send_get_peer_status(	const char*	dst_xrl_target_name,	const string&	local_ip,	const uint32_t&	local_port,	const string&	peer_ip,	const uint32_t&	peer_port,	const GetPeerStatusCB&	cb    );    typedef XorpCallback2<void, const XrlError&, const int32_t*>::RefPtr GetPeerNegotiatedVersionCB;    bool send_get_peer_negotiated_version(	const char*	dst_xrl_target_name,	const string&	local_ip,	const uint32_t&	local_port,	const string&	peer_ip,	const uint32_t&	peer_port,	const GetPeerNegotiatedVersionCB&	cb    );    typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr GetPeerAsCB;    bool send_get_peer_as(	const char*	dst_xrl_target_name,	const string&	local_ip,	const uint32_t&	local_port,	const string&	peer_ip,	const uint32_t&	peer_port,	const GetPeerAsCB&	cb    );    typedef XorpCallback7<void, const XrlError&, const uint32_t*, const uint32_t*, const uint32_t*, const uint32_t*, const uint32_t*, const uint32_t*>::RefPtr GetPeerMsgStatsCB;    bool send_get_peer_msg_stats(	const char*	dst_xrl_target_name,	const string&	local_ip,	const uint32_t&	local_port,	const string&	peer_ip,	const uint32_t&	peer_port,	const GetPeerMsgStatsCB&	cb    );    typedef XorpCallback3<void, const XrlError&, const uint32_t*, const uint32_t*>::RefPtr GetPeerEstablishedStatsCB;    bool send_get_peer_established_stats(	const char*	dst_xrl_target_name,	const string&	local_ip,	const uint32_t&	local_port,	const string&	peer_ip,

⌨️ 快捷键说明

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