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

📄 rib_xif.hh

📁 xorp源码hg
💻 HH
📖 第 1 页 / 共 3 页
字号:
/* * 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/rib_xif.hh,v 1.34 2007/02/16 22:47:43 pavlin Exp $ */#ifndef __XRL_INTERFACES_RIB_XIF_HH__#define __XRL_INTERFACES_RIB_XIF_HH__#undef XORP_LIBRARY_NAME#define XORP_LIBRARY_NAME "XifRib"#include "libxorp/xlog.h"#include "libxorp/callback.hh"#include "libxipc/xrl.hh"#include "libxipc/xrl_error.hh"#include "libxipc/xrl_sender.hh"class XrlRibV0p1Client {public:    XrlRibV0p1Client(XrlSender* s) : _sender(s) {}    virtual ~XrlRibV0p1Client() {}    typedef XorpCallback1<void, const XrlError&>::RefPtr EnableRibCB;    /**     *  Send Xrl intended to:     *     *  Enable/disable/start/stop RIB.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     */    bool send_enable_rib(	const char*	dst_xrl_target_name,	const EnableRibCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr DisableRibCB;    bool send_disable_rib(	const char*	dst_xrl_target_name,	const DisableRibCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr StartRibCB;    bool send_start_rib(	const char*	dst_xrl_target_name,	const StartRibCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr StopRibCB;    bool send_stop_rib(	const char*	dst_xrl_target_name,	const StopRibCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr MakeErrorsFatalCB;    /**     *  Send Xrl intended to:     *     *  Make errors fatal; used to detect errors we'd normally mask     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     */    bool send_make_errors_fatal(	const char*	dst_xrl_target_name,	const MakeErrorsFatalCB&	cb    );    typedef XorpCallback5<void, const XrlError&, const XrlAtomList*, const XrlAtomList*, const XrlAtomList*, const XrlAtomList*>::RefPtr GetRegisteredProtocolsCB;    /**     *  Send Xrl intended to:     *     *  Get the list of registered protocols.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param ipv4 if true, then include the IPv4 protocols.     *     *  @param ipv6 if true, then include the IPv6 protocols.     *     *  @param unicast if true, then include the protocols registered with the     *  unicast RIB.     *     *  @param multicast if true, then include the protocols registered with     *  the multicast RIB.     */    bool send_get_registered_protocols(	const char*	dst_xrl_target_name,	const bool&	ipv4,	const bool&	ipv6,	const bool&	unicast,	const bool&	multicast,	const GetRegisteredProtocolsCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr AddIgpTable4CB;    /**     *  Send Xrl intended to:     *     *  Add/delete an IGP or EGP table.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param protocol the name of the protocol.     *     *  @param target_class the target class of the protocol.     *     *  @param target_instance the target instance of the protocol.     *     *  @param unicast true if the table is for the unicast RIB.     *     *  @param multicast true if the table is for the multicast RIB.     */    bool send_add_igp_table4(	const char*	dst_xrl_target_name,	const string&	protocol,	const string&	target_class,	const string&	target_instance,	const bool&	unicast,	const bool&	multicast,	const AddIgpTable4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr AddIgpTable6CB;    bool send_add_igp_table6(	const char*	dst_xrl_target_name,	const string&	protocol,	const string&	target_class,	const string&	target_instance,	const bool&	unicast,	const bool&	multicast,	const AddIgpTable6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteIgpTable4CB;    bool send_delete_igp_table4(	const char*	dst_xrl_target_name,	const string&	protocol,	const string&	target_class,	const string&	target_instance,	const bool&	unicast,	const bool&	multicast,	const DeleteIgpTable4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteIgpTable6CB;    bool send_delete_igp_table6(	const char*	dst_xrl_target_name,	const string&	protocol,	const string&	target_class,	const string&	target_instance,	const bool&	unicast,	const bool&	multicast,	const DeleteIgpTable6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr AddEgpTable4CB;    bool send_add_egp_table4(	const char*	dst_xrl_target_name,	const string&	protocol,	const string&	target_class,	const string&	target_instance,	const bool&	unicast,	const bool&	multicast,	const AddEgpTable4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr AddEgpTable6CB;    bool send_add_egp_table6(	const char*	dst_xrl_target_name,	const string&	protocol,	const string&	target_class,	const string&	target_instance,	const bool&	unicast,	const bool&	multicast,	const AddEgpTable6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteEgpTable4CB;    bool send_delete_egp_table4(	const char*	dst_xrl_target_name,	const string&	protocol,	const string&	target_class,	const string&	target_instance,	const bool&	unicast,	const bool&	multicast,	const DeleteEgpTable4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteEgpTable6CB;    bool send_delete_egp_table6(	const char*	dst_xrl_target_name,	const string&	protocol,	const string&	target_class,	const string&	target_instance,	const bool&	unicast,	const bool&	multicast,	const DeleteEgpTable6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr AddRoute4CB;    /**     *  Send Xrl intended to:     *     *  Add/replace/delete a route.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param protocol the name of the protocol this route comes from.     *     *  @param unicast true if the route is for the unicast RIB.     *     *  @param multicast true if the route is for the multicast RIB.     *     *  @param network the network address prefix of the route.     *     *  @param nexthop the address of the next-hop router toward the     *  destination.     *     *  @param metric the routing metric.     *     *  @param policytags a set of policy tags used for redistribution.     */    bool send_add_route4(	const char*	dst_xrl_target_name,	const string&	protocol,	const bool&	unicast,	const bool&	multicast,	const IPv4Net&	network,	const IPv4&	nexthop,	const uint32_t&	metric,	const XrlAtomList&	policytags,	const AddRoute4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr AddRoute6CB;    bool send_add_route6(	const char*	dst_xrl_target_name,	const string&	protocol,	const bool&	unicast,	const bool&	multicast,	const IPv6Net&	network,	const IPv6&	nexthop,	const uint32_t&	metric,	const XrlAtomList&	policytags,	const AddRoute6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr ReplaceRoute4CB;    bool send_replace_route4(	const char*	dst_xrl_target_name,	const string&	protocol,	const bool&	unicast,	const bool&	multicast,	const IPv4Net&	network,	const IPv4&	nexthop,	const uint32_t&	metric,	const XrlAtomList&	policytags,	const ReplaceRoute4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr ReplaceRoute6CB;    bool send_replace_route6(	const char*	dst_xrl_target_name,	const string&	protocol,	const bool&	unicast,	const bool&	multicast,	const IPv6Net&	network,	const IPv6&	nexthop,	const uint32_t&	metric,	const XrlAtomList&	policytags,	const ReplaceRoute6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteRoute4CB;    bool send_delete_route4(	const char*	dst_xrl_target_name,	const string&	protocol,	const bool&	unicast,	const bool&	multicast,	const IPv4Net&	network,	const DeleteRoute4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteRoute6CB;    bool send_delete_route6(	const char*	dst_xrl_target_name,	const string&	protocol,	const bool&	unicast,	const bool&	multicast,	const IPv6Net&	network,	const DeleteRoute6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr AddInterfaceRoute4CB;    /**     *  Send Xrl intended to:     *     *  Add/replace a route by explicitly specifying the network interface     *  toward the destination.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param protocol the name of the protocol this route comes from.     *     *  @param unicast true if the route is for the unicast RIB.     *     *  @param multicast true if the route is for the multicast RIB.     *     *  @param network the network address prefix of the route.     *     *  @param nexthop the address of the next-hop router toward the     *  destination.     *     *  @param ifname of the name of the physical interface toward the     *  destination.     *     *  @param vifname of the name of the virtual interface toward the     *  destination.     *     *  @param metric the routing metric.     *     *  @param policytags a set of policy tags used for redistribution.     */    bool send_add_interface_route4(	const char*	dst_xrl_target_name,	const string&	protocol,	const bool&	unicast,	const bool&	multicast,	const IPv4Net&	network,	const IPv4&	nexthop,	const string&	ifname,	const string&	vifname,	const uint32_t&	metric,	const XrlAtomList&	policytags,	const AddInterfaceRoute4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr AddInterfaceRoute6CB;    bool send_add_interface_route6(	const char*	dst_xrl_target_name,	const string&	protocol,	const bool&	unicast,	const bool&	multicast,	const IPv6Net&	network,	const IPv6&	nexthop,	const string&	ifname,	const string&	vifname,	const uint32_t&	metric,	const XrlAtomList&	policytags,	const AddInterfaceRoute6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr ReplaceInterfaceRoute4CB;    bool send_replace_interface_route4(	const char*	dst_xrl_target_name,	const string&	protocol,	const bool&	unicast,	const bool&	multicast,	const IPv4Net&	network,	const IPv4&	nexthop,	const string&	ifname,

⌨️ 快捷键说明

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