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

📄 rip_xif.hh

📁 xorp源码hg
💻 HH
📖 第 1 页 / 共 2 页
字号:
     *  Send Xrl intended to:     *     *  Set the inter-packet delay between the output of packets from address.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     */    bool send_set_interpacket_delay(	const char*	dst_xrl_target_name,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	const uint32_t&	t_msecs,	const SetInterpacketDelayCB&	cb    );    typedef XorpCallback2<void, const XrlError&, const uint32_t*>::RefPtr InterpacketDelayCB;    /**     *  Send Xrl intended to:     *     *  Get the inter-packet delay between the output of packets from address.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     */    bool send_interpacket_delay(	const char*	dst_xrl_target_name,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	const InterpacketDelayCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr SetSimpleAuthenticationKeyCB;    /**     *  Send Xrl intended to:     *     *  Set simple password authentication key.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param ifname the interface name.     *     *  @param vifname the vif name.     *     *  @param addr the address.     *     *  @param password the authentication password.     */    bool send_set_simple_authentication_key(	const char*	dst_xrl_target_name,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	const string&	password,	const SetSimpleAuthenticationKeyCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteSimpleAuthenticationKeyCB;    /**     *  Send Xrl intended to:     *     *  Delete simple password authentication key.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param ifname the interface name.     *     *  @param vifname the vif name.     *     *  @param addr the address.     */    bool send_delete_simple_authentication_key(	const char*	dst_xrl_target_name,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	const DeleteSimpleAuthenticationKeyCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr SetMd5AuthenticationKeyCB;    /**     *  Send Xrl intended to:     *     *  Set MD5 authentication key.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param ifname the interface name.     *     *  @param vifname the vif name.     *     *  @param addr the address.     *     *  @param key_id the key ID (must be an integer in the interval [0, 255]).     *     *  @param password the authentication password.     *     *  @param start_time the authentication start time (YYYY-MM-DD.HH:MM).     *     *  @param end_time the authentication end time (YYYY-MM-DD.HH:MM).     */    bool send_set_md5_authentication_key(	const char*	dst_xrl_target_name,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	const uint32_t&	key_id,	const string&	password,	const string&	start_time,	const string&	end_time,	const SetMd5AuthenticationKeyCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr DeleteMd5AuthenticationKeyCB;    /**     *  Send Xrl intended to:     *     *  Delete MD5 authentication key.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param ifname the interface name.     *     *  @param vifname the vif name.     *     *  @param addr the address.     *     *  @param key_id the key ID (must be an integer in the interval [0, 255]).     */    bool send_delete_md5_authentication_key(	const char*	dst_xrl_target_name,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	const uint32_t&	key_id,	const DeleteMd5AuthenticationKeyCB&	cb    );    typedef XorpCallback2<void, const XrlError&, const string*>::RefPtr RipAddressStatusCB;    /**     *  Send Xrl intended to:     *     *  Get a textual description of the status of address RIP is running upon.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param ifname the interface that owns vif that has the address.     *     *  @param vifname virtual interface owns the address.     *     *  @param addr the address to query.     */    bool send_rip_address_status(	const char*	dst_xrl_target_name,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	const RipAddressStatusCB&	cb    );    typedef XorpCallback4<void, const XrlError&, const XrlAtomList*, const XrlAtomList*, const XrlAtomList*>::RefPtr GetAllAddressesCB;    /**     *  Send Xrl intended to:     *     *  Get addresses running RIP.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     */    bool send_get_all_addresses(	const char*	dst_xrl_target_name,	const GetAllAddressesCB&	cb    );    typedef XorpCallback3<void, const XrlError&, const XrlAtomList*, const XrlAtomList*>::RefPtr GetCountersCB;    /**     *  Send Xrl intended to:     *     *  Get counters associated with interface / vif /address.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     */    bool send_get_counters(	const char*	dst_xrl_target_name,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	const GetCountersCB&	cb    );    typedef XorpCallback2<void, const XrlError&, const XrlAtomList*>::RefPtr GetPeersCB;    /**     *  Send Xrl intended to:     *     *  Get the list of peers associated with interface / vif / address.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     */    bool send_get_peers(	const char*	dst_xrl_target_name,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	const GetPeersCB&	cb    );    typedef XorpCallback5<void, const XrlError&, const XrlAtomList*, const XrlAtomList*, const XrlAtomList*, const XrlAtomList*>::RefPtr GetAllPeersCB;    /**     *  Send Xrl intended to:     *     *  Get list of all peers known to RIP. There is a 1-to-1 correspondence     *  between the items in the lists of peers, ifnames, vifnames, addrs.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     */    bool send_get_all_peers(	const char*	dst_xrl_target_name,	const GetAllPeersCB&	cb    );    typedef XorpCallback4<void, const XrlError&, const XrlAtomList*, const XrlAtomList*, const uint32_t*>::RefPtr GetPeerCountersCB;    /**     *  Send Xrl intended to:     *     *  Get counters associated with peer of interface / vif /address.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     */    bool send_get_peer_counters(	const char*	dst_xrl_target_name,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	const IPv4&	peer,	const GetPeerCountersCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr RedistProtocolRoutesCB;    /**     *  Send Xrl intended to:     *     *  Configure protocol route redistribution.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param protocol_name name of protocol to redistribute routes from.     *     *  @param cost RIP cost metric to assign to protocol routes.     *     *  @param tag RIP tag to associate with protocol routes.     */    bool send_redist_protocol_routes(	const char*	dst_xrl_target_name,	const string&	protocol_name,	const uint32_t&	cost,	const uint32_t&	tag,	const RedistProtocolRoutesCB&	cb    );    typedef XorpCallback1<void, const XrlError&>::RefPtr NoRedistProtocolRoutesCB;    /**     *  Send Xrl intended to:     *     *  Remove protocol route redistribution.     *     *  @param dst_xrl_target_name the Xrl target name of the destination.     *     *  @param protocol_name name of protocol to stop redistribution of routes     *  from.     */    bool send_no_redist_protocol_routes(	const char*	dst_xrl_target_name,	const string&	protocol_name,	const NoRedistProtocolRoutesCB&	cb    );protected:    XrlSender* _sender;private:    void unmarshall_add_rip_address(	const XrlError&	e,	XrlArgs*	a,	AddRipAddressCB		cb    );    void unmarshall_remove_rip_address(	const XrlError&	e,	XrlArgs*	a,	RemoveRipAddressCB		cb    );    void unmarshall_set_rip_address_enabled(	const XrlError&	e,	XrlArgs*	a,	SetRipAddressEnabledCB		cb    );    void unmarshall_rip_address_enabled(	const XrlError&	e,	XrlArgs*	a,	RipAddressEnabledCB		cb    );    void unmarshall_set_cost(	const XrlError&	e,	XrlArgs*	a,	SetCostCB		cb    );    void unmarshall_cost(	const XrlError&	e,	XrlArgs*	a,	CostCB		cb    );    void unmarshall_set_horizon(	const XrlError&	e,	XrlArgs*	a,	SetHorizonCB		cb    );    void unmarshall_horizon(	const XrlError&	e,	XrlArgs*	a,	HorizonCB		cb    );    void unmarshall_set_passive(	const XrlError&	e,	XrlArgs*	a,	SetPassiveCB		cb    );    void unmarshall_passive(	const XrlError&	e,	XrlArgs*	a,	PassiveCB		cb    );    void unmarshall_set_accept_non_rip_requests(	const XrlError&	e,	XrlArgs*	a,	SetAcceptNonRipRequestsCB		cb    );    void unmarshall_accept_non_rip_requests(	const XrlError&	e,	XrlArgs*	a,	AcceptNonRipRequestsCB		cb    );    void unmarshall_set_accept_default_route(	const XrlError&	e,	XrlArgs*	a,	SetAcceptDefaultRouteCB		cb    );    void unmarshall_accept_default_route(	const XrlError&	e,	XrlArgs*	a,	AcceptDefaultRouteCB		cb    );    void unmarshall_set_advertise_default_route(	const XrlError&	e,	XrlArgs*	a,	SetAdvertiseDefaultRouteCB		cb    );    void unmarshall_advertise_default_route(	const XrlError&	e,	XrlArgs*	a,	AdvertiseDefaultRouteCB		cb    );    void unmarshall_set_route_timeout(	const XrlError&	e,	XrlArgs*	a,	SetRouteTimeoutCB		cb    );    void unmarshall_route_timeout(	const XrlError&	e,	XrlArgs*	a,	RouteTimeoutCB		cb    );    void unmarshall_set_deletion_delay(	const XrlError&	e,	XrlArgs*	a,	SetDeletionDelayCB		cb    );    void unmarshall_deletion_delay(	const XrlError&	e,	XrlArgs*	a,	DeletionDelayCB		cb    );    void unmarshall_set_request_interval(	const XrlError&	e,	XrlArgs*	a,	SetRequestIntervalCB		cb    );    void unmarshall_request_interval(	const XrlError&	e,	XrlArgs*	a,	RequestIntervalCB		cb    );    void unmarshall_set_update_interval(	const XrlError&	e,	XrlArgs*	a,	SetUpdateIntervalCB		cb    );    void unmarshall_update_interval(	const XrlError&	e,	XrlArgs*	a,	UpdateIntervalCB		cb    );    void unmarshall_set_update_jitter(	const XrlError&	e,	XrlArgs*	a,	SetUpdateJitterCB		cb    );    void unmarshall_update_jitter(	const XrlError&	e,	XrlArgs*	a,	UpdateJitterCB		cb    );    void unmarshall_set_triggered_update_delay(	const XrlError&	e,	XrlArgs*	a,	SetTriggeredUpdateDelayCB		cb    );    void unmarshall_triggered_update_delay(	const XrlError&	e,	XrlArgs*	a,	TriggeredUpdateDelayCB		cb    );    void unmarshall_set_triggered_update_jitter(	const XrlError&	e,	XrlArgs*	a,	SetTriggeredUpdateJitterCB		cb    );    void unmarshall_triggered_update_jitter(	const XrlError&	e,	XrlArgs*	a,	TriggeredUpdateJitterCB		cb    );    void unmarshall_set_interpacket_delay(	const XrlError&	e,	XrlArgs*	a,	SetInterpacketDelayCB		cb    );    void unmarshall_interpacket_delay(	const XrlError&	e,	XrlArgs*	a,	InterpacketDelayCB		cb    );    void unmarshall_set_simple_authentication_key(	const XrlError&	e,	XrlArgs*	a,	SetSimpleAuthenticationKeyCB		cb    );    void unmarshall_delete_simple_authentication_key(	const XrlError&	e,	XrlArgs*	a,	DeleteSimpleAuthenticationKeyCB		cb    );    void unmarshall_set_md5_authentication_key(	const XrlError&	e,	XrlArgs*	a,	SetMd5AuthenticationKeyCB		cb    );    void unmarshall_delete_md5_authentication_key(	const XrlError&	e,	XrlArgs*	a,	DeleteMd5AuthenticationKeyCB		cb    );    void unmarshall_rip_address_status(	const XrlError&	e,	XrlArgs*	a,	RipAddressStatusCB		cb    );    void unmarshall_get_all_addresses(	const XrlError&	e,	XrlArgs*	a,	GetAllAddressesCB		cb    );    void unmarshall_get_counters(	const XrlError&	e,	XrlArgs*	a,	GetCountersCB		cb    );    void unmarshall_get_peers(	const XrlError&	e,	XrlArgs*	a,	GetPeersCB		cb    );    void unmarshall_get_all_peers(	const XrlError&	e,	XrlArgs*	a,	GetAllPeersCB		cb    );    void unmarshall_get_peer_counters(	const XrlError&	e,	XrlArgs*	a,	GetPeerCountersCB		cb    );    void unmarshall_redist_protocol_routes(	const XrlError&	e,	XrlArgs*	a,	RedistProtocolRoutesCB		cb    );    void unmarshall_no_redist_protocol_routes(	const XrlError&	e,	XrlArgs*	a,	NoRedistProtocolRoutesCB		cb    );};#endif /* __XRL_INTERFACES_RIP_XIF_HH__ */

⌨️ 快捷键说明

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