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

📄 static_routes_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/static_routes_xif.hh,v 1.10 2007/02/16 22:47:45 pavlin Exp $ */#ifndef __XRL_INTERFACES_STATIC_ROUTES_XIF_HH__#define __XRL_INTERFACES_STATIC_ROUTES_XIF_HH__#undef XORP_LIBRARY_NAME#define XORP_LIBRARY_NAME "XifStaticRoutes"#include "libxorp/xlog.h"#include "libxorp/callback.hh"#include "libxipc/xrl.hh"#include "libxipc/xrl_error.hh"#include "libxipc/xrl_sender.hh"class XrlStaticRoutesV0p1Client {public:    XrlStaticRoutesV0p1Client(XrlSender* s) : _sender(s) {}    virtual ~XrlStaticRoutesV0p1Client() {}    typedef XorpCallback1<void, const XrlError&>::RefPtr EnableStaticRoutesCB;    /**     *  Send Xrl intended to:     *     *  Enable/disable/start/stop StaticRoutes.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param enable if true, then enable StaticRoutes, otherwise disable it.     */    bool send_enable_static_routes(	const char*	dst_xrl_target_name,	const bool&	enable,	const EnableStaticRoutesCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr StartStaticRoutesCB;    bool send_start_static_routes(	const char*	dst_xrl_target_name,	const StartStaticRoutesCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr StopStaticRoutesCB;    bool send_stop_static_routes(	const char*	dst_xrl_target_name,	const StopStaticRoutesCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr AddRoute4CB;    /**     *  Send Xrl intended to:     *     *  Add/replace/delete a static route.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param unicast if true, then the route would be used for unicast     *  routing.     *     *  @param multicast if true, then the route would be used in the MRIB     *  (Multicast Routing Information Base) for multicast purpose (e.g.,     *  computing the Reverse-Path Forwarding information).     *     *  @param network the network address prefix this route applies to.     *     *  @param nexthop the address of the next-hop router for this route.     *     *  @param metric the metric distance for this route.     */    bool send_add_route4(	const char*	dst_xrl_target_name,	const bool&	unicast,	const bool&	multicast,	const IPv4Net&	network,	const IPv4&	nexthop,	const uint32_t&	metric,	const AddRoute4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr AddRoute6CB;    bool send_add_route6(	const char*	dst_xrl_target_name,	const bool&	unicast,	const bool&	multicast,	const IPv6Net&	network,	const IPv6&	nexthop,	const uint32_t&	metric,	const AddRoute6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr ReplaceRoute4CB;    bool send_replace_route4(	const char*	dst_xrl_target_name,	const bool&	unicast,	const bool&	multicast,	const IPv4Net&	network,	const IPv4&	nexthop,	const uint32_t&	metric,	const ReplaceRoute4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr ReplaceRoute6CB;    bool send_replace_route6(	const char*	dst_xrl_target_name,	const bool&	unicast,	const bool&	multicast,	const IPv6Net&	network,	const IPv6&	nexthop,	const uint32_t&	metric,	const ReplaceRoute6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteRoute4CB;    bool send_delete_route4(	const char*	dst_xrl_target_name,	const bool&	unicast,	const bool&	multicast,	const IPv4Net&	network,	const IPv4&	nexthop,	const DeleteRoute4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteRoute6CB;    bool send_delete_route6(	const char*	dst_xrl_target_name,	const bool&	unicast,	const bool&	multicast,	const IPv6Net&	network,	const IPv6&	nexthop,	const DeleteRoute6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr AddBackupRoute4CB;    /**     *  Send Xrl intended to:     *     *  Add/replace/delete a backup static route.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param unicast if true, then the route would be used for unicast     *  routing.     *     *  @param multicast if true, then the route would be used in the MRIB     *  (Multicast Routing Information Base) for multicast purpose (e.g.,     *  computing the Reverse-Path Forwarding information).     *     *  @param network the network address prefix this route applies to.     *     *  @param nexthop the address of the next-hop router for this route.     *     *  @param metric the metric distance for this route.     */    bool send_add_backup_route4(	const char*	dst_xrl_target_name,	const bool&	unicast,	const bool&	multicast,	const IPv4Net&	network,	const IPv4&	nexthop,	const uint32_t&	metric,	const AddBackupRoute4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr AddBackupRoute6CB;    bool send_add_backup_route6(	const char*	dst_xrl_target_name,	const bool&	unicast,	const bool&	multicast,	const IPv6Net&	network,	const IPv6&	nexthop,	const uint32_t&	metric,	const AddBackupRoute6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr ReplaceBackupRoute4CB;    bool send_replace_backup_route4(	const char*	dst_xrl_target_name,	const bool&	unicast,	const bool&	multicast,	const IPv4Net&	network,	const IPv4&	nexthop,	const uint32_t&	metric,	const ReplaceBackupRoute4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr ReplaceBackupRoute6CB;    bool send_replace_backup_route6(	const char*	dst_xrl_target_name,	const bool&	unicast,	const bool&	multicast,	const IPv6Net&	network,	const IPv6&	nexthop,	const uint32_t&	metric,	const ReplaceBackupRoute6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteBackupRoute4CB;    bool send_delete_backup_route4(	const char*	dst_xrl_target_name,	const bool&	unicast,	const bool&	multicast,	const IPv4Net&	network,	const IPv4&	nexthop,	const DeleteBackupRoute4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteBackupRoute6CB;    bool send_delete_backup_route6(	const char*	dst_xrl_target_name,	const bool&	unicast,	const bool&	multicast,	const IPv6Net&	network,	const IPv6&	nexthop,	const DeleteBackupRoute6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr AddInterfaceRoute4CB;    /**     *  Send Xrl intended to:     *     *  Add/replace/delete a static route by explicitly specifying the network     *  interface toward the destination.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param unicast if true, then the route would be used for unicast     *  routing.     *     *  @param multicast if true, then the route would be used in the MRIB     *  (Multicast Routing Information Base) for multicast purpose (e.g.,     *  computing the Reverse-Path Forwarding information).     *     *  @param network the network address prefix this route applies to.     *     *  @param nexthop the address of the next-hop router for this route.     *     *  @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 metric distance for this route.     */    bool send_add_interface_route4(	const char*	dst_xrl_target_name,	const bool&	unicast,	const bool&	multicast,	const IPv4Net&	network,	const IPv4&	nexthop,	const string&	ifname,	const string&	vifname,	const uint32_t&	metric,	const AddInterfaceRoute4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr AddInterfaceRoute6CB;    bool send_add_interface_route6(	const char*	dst_xrl_target_name,	const bool&	unicast,	const bool&	multicast,	const IPv6Net&	network,	const IPv6&	nexthop,	const string&	ifname,	const string&	vifname,	const uint32_t&	metric,	const AddInterfaceRoute6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr ReplaceInterfaceRoute4CB;    bool send_replace_interface_route4(	const char*	dst_xrl_target_name,	const bool&	unicast,	const bool&	multicast,	const IPv4Net&	network,	const IPv4&	nexthop,	const string&	ifname,	const string&	vifname,	const uint32_t&	metric,	const ReplaceInterfaceRoute4CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr ReplaceInterfaceRoute6CB;    bool send_replace_interface_route6(	const char*	dst_xrl_target_name,	const bool&	unicast,	const bool&	multicast,	const IPv6Net&	network,	const IPv6&	nexthop,	const string&	ifname,	const string&	vifname,	const uint32_t&	metric,	const ReplaceInterfaceRoute6CB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteInterfaceRoute4CB;    bool send_delete_interface_route4(

⌨️ 快捷键说明

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