📄 ospfv3_xif.hh
字号:
/* * 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/ospfv3_xif.hh,v 1.14 2007/03/12 10:16:06 atanu Exp $ */#ifndef __XRL_INTERFACES_OSPFV3_XIF_HH__#define __XRL_INTERFACES_OSPFV3_XIF_HH__#undef XORP_LIBRARY_NAME#define XORP_LIBRARY_NAME "XifOspfv3"#include "libxorp/xlog.h"#include "libxorp/callback.hh"#include "libxipc/xrl.hh"#include "libxipc/xrl_error.hh"#include "libxipc/xrl_sender.hh"class XrlOspfv3V0p1Client {public: XrlOspfv3V0p1Client(XrlSender* s) : _sender(s) {} virtual ~XrlOspfv3V0p1Client() {} typedef XorpCallback1<void, const XrlError&>::RefPtr SetInstanceIdCB; /** * Send Xrl intended to: * * Set instance id * * @param dst_xrl_target_name the Xrl target name of the destination. */ bool send_set_instance_id( const char* dst_xrl_target_name, const uint32_t& id, const SetInstanceIdCB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr SetRouterIdCB; /** * Send Xrl intended to: * * Set router id * * @param dst_xrl_target_name the Xrl target name of the destination. */ bool send_set_router_id( const char* dst_xrl_target_name, const IPv4& id, const SetRouterIdCB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr SetIpRouterAlertCB; /** * Send Xrl intended to: * * Set the router alert in the IP options. * * @param dst_xrl_target_name the Xrl target name of the destination. */ bool send_set_ip_router_alert( const char* dst_xrl_target_name, const bool& ip_router_alert, const SetIpRouterAlertCB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr CreateAreaRouterCB; /** * Send Xrl intended to: * * Create an area. * * @param dst_xrl_target_name the Xrl target name of the destination. * * @param area id of the area * * @param type of area "border", "stub", "nssa" */ bool send_create_area_router( const char* dst_xrl_target_name, const IPv4& area, const string& type, const CreateAreaRouterCB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr ChangeAreaRouterTypeCB; /** * Send Xrl intended to: * * Change area type. * * @param dst_xrl_target_name the Xrl target name of the destination. * * @param area id of the area * * @param type of area "border", "stub", "nssa" */ bool send_change_area_router_type( const char* dst_xrl_target_name, const IPv4& area, const string& type, const ChangeAreaRouterTypeCB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr DestroyAreaRouterCB; /** * Send Xrl intended to: * * Destroy area. * * @param dst_xrl_target_name the Xrl target name of the destination. * * @param area id of the area */ bool send_destroy_area_router( const char* dst_xrl_target_name, const IPv4& area, const DestroyAreaRouterCB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr CreatePeerCB; /** * Send Xrl intended to: * * Create a binding to an interface. * * @param dst_xrl_target_name the Xrl target name of the destination. * * @param ifname the interface. * * @param vifname virtual interface. * * @param type of link "p2p", "broadcast", "nbma", "p2m", "vlink" */ bool send_create_peer( const char* dst_xrl_target_name, const string& ifname, const string& vifname, const string& type, const IPv4& area, const CreatePeerCB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr DeletePeerCB; /** * Send Xrl intended to: * * Delete peer. * * @param dst_xrl_target_name the Xrl target name of the destination. */ bool send_delete_peer( const char* dst_xrl_target_name, const string& ifname, const string& vifname, const DeletePeerCB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr SetPeerStateCB; /** * Send Xrl intended to: * * Set the peer state up or down. * * @param dst_xrl_target_name the Xrl target name of the destination. */ bool send_set_peer_state( const char* dst_xrl_target_name, const string& ifname, const string& vifname, const bool& enable, const SetPeerStateCB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr AddAddressPeerCB; /** * Send Xrl intended to: * * Add an address to the peer. * * @param dst_xrl_target_name the Xrl target name of the destination. */ bool send_add_address_peer( const char* dst_xrl_target_name, const string& ifname, const string& vifname, const IPv4& area, const IPv6& addr, const AddAddressPeerCB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr RemoveAddressPeerCB; /** * Send Xrl intended to: * * Remove an address from the peer. * * @param dst_xrl_target_name the Xrl target name of the destination. */ bool send_remove_address_peer( const char* dst_xrl_target_name, const string& ifname, const string& vifname, const IPv4& area, const IPv6& addr, const RemoveAddressPeerCB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr SetAddressStatePeerCB; /** * Send Xrl intended to: * * Set the address state up or down. * * @param dst_xrl_target_name the Xrl target name of the destination. */ bool send_set_address_state_peer( const char* dst_xrl_target_name, const string& ifname, const string& vifname, const IPv4& area, const IPv6& addr, const bool& enable, const SetAddressStatePeerCB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr ActivatePeerCB; /** * Send Xrl intended to: * * Activate peer. Called once the peer and child nodes have been * configured. * * @param dst_xrl_target_name the Xrl target name of the destination. */ bool send_activate_peer( const char* dst_xrl_target_name, const string& ifname, const string& vifname, const IPv4& area, const ActivatePeerCB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr UpdatePeerCB; /** * Send Xrl intended to: * * Update peer. Called if the peer and child nodes are modified. * * @param dst_xrl_target_name the Xrl target name of the destination. */ bool send_update_peer( const char* dst_xrl_target_name, const string& ifname, const string& vifname, const IPv4& area, const UpdatePeerCB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr AddNeighbourCB; /** * Send Xrl intended to: * * Add a neighbour to the peer. * * @param dst_xrl_target_name the Xrl target name of the destination. */ bool send_add_neighbour( const char* dst_xrl_target_name, const string& ifname, const string& vifname, const IPv4& area, const IPv6& neighbour_address, const IPv4& neighbour_id, const AddNeighbourCB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr RemoveNeighbourCB; /** * Send Xrl intended to: * * Remove a neighbour from the peer. * * @param dst_xrl_target_name the Xrl target name of the destination. */ bool send_remove_neighbour( const char* dst_xrl_target_name, const string& ifname, const string& vifname, const IPv4& area, const IPv6& neighbour_address, const IPv4& neighbour_id, const RemoveNeighbourCB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr CreateVirtualLinkCB; /** * Send Xrl intended to: * * Create a virtual link. * * @param dst_xrl_target_name the Xrl target name of the destination. * * @param neighbour_id the router ID of the other end of the link. * * @param area in which an attempt has been made to configure a virtual * link it has to be the backbone. Its just being passed in so it can be * checked by the protocol. */ bool send_create_virtual_link( const char* dst_xrl_target_name, const IPv4& neighbour_id, const IPv4& area, const CreateVirtualLinkCB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteVirtualLinkCB; /** * Send Xrl intended to: * * Delete virtual link * * @param dst_xrl_target_name the Xrl target name of the destination. * * @param neighbour_id the router ID of the other end of the link. */ bool send_delete_virtual_link( const char* dst_xrl_target_name, const IPv4& neighbour_id, const DeleteVirtualLinkCB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr TransitAreaVirtualLinkCB; /** * Send Xrl intended to: * * The area through which the virtual link transits. * * @param dst_xrl_target_name the Xrl target name of the destination. * * @param neighbour_id the router ID of the other end of the link. * * @param transit_area that the virtual link transits. */ bool send_transit_area_virtual_link( const char* dst_xrl_target_name, const IPv4& neighbour_id, const IPv4& transit_area, const TransitAreaVirtualLinkCB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr SetInterfaceCostCB; /** * Send Xrl intended to: * * The edge cost of this interface. * * @param dst_xrl_target_name the Xrl target name of the destination. */ bool send_set_interface_cost( const char* dst_xrl_target_name, const string& ifname, const string& vifname, const IPv4& area, const uint32_t& cost, const SetInterfaceCostCB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr SetRetransmitIntervalCB; /** * Send Xrl intended to: * * RxmtInterval The number of seconds between LSA retransmissions, for * adjacencies belonging to this interface. Also used when retransmitting * Database Description and Link State Request Packets. This should be * well over the expected round-trip delay between any two routers on the * attached network. The setting of this value should be conservative or * needless retransmissions will result. Sample value for a local area * network: 5 seconds. * * @param dst_xrl_target_name the Xrl target name of the destination. */ bool send_set_retransmit_interval( const char* dst_xrl_target_name, const string& ifname, const string& vifname, const IPv4& area, const uint32_t& interval, const SetRetransmitIntervalCB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr SetInftransdelayCB; /** * Send Xrl intended to: * * The estimated number of seconds it takes to transmit a Link State * Update Packet over this interface. LSAs contained in the Link State * Update packet will have their age incremented by this amount before * transmission. This value should take into account transmission and * propagation delays; it must be greater than zero. * * @param dst_xrl_target_name the Xrl target name of the destination. */ bool send_set_inftransdelay( const char* dst_xrl_target_name, const string& ifname, const string& vifname, const IPv4& area, const uint32_t& delay, const SetInftransdelayCB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr SetRouterPriorityCB; /** * Send Xrl intended to: * * Used in the designated router election. * * @param dst_xrl_target_name the Xrl target name of the destination. */ bool send_set_router_priority( const char* dst_xrl_target_name, const string& ifname, const string& vifname, const IPv4& area, const uint32_t& priority, const SetRouterPriorityCB& cb ); typedef XorpCallback1<void, const XrlError&>::RefPtr SetHelloIntervalCB; /** * Send Xrl intended to: * * The interval between hello messages. * * @param dst_xrl_target_name the Xrl target name of the destination. */ bool send_set_hello_interval( const char* dst_xrl_target_name, const string& ifname, const string& vifname, const IPv4& area,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -