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

📄 rip_base.hh

📁 xorp源码hg
💻 HH
📖 第 1 页 / 共 3 页
字号:
    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Get horizon type applied to routes advertised from address.     */    virtual XrlCmdError rip_0_1_horizon(	// Input values,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	// Output values,	string&	horizon) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Make RIP passive (receive only) on interface/vif/address.     */    virtual XrlCmdError rip_0_1_set_passive(	// Input values,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	const bool&	passive) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Get value indicating whether RIP is passive (receive only) on     *  interface/vif/address.     */    virtual XrlCmdError rip_0_1_passive(	// Input values,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	// Output values,	bool&	passive) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Accept and respond to non-RIP requests.     */    virtual XrlCmdError rip_0_1_set_accept_non_rip_requests(	// Input values,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	const bool&	accept) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Get value indicating whether non-RIP requests are accepted and     *  responded to on interface/vif/address.     */    virtual XrlCmdError rip_0_1_accept_non_rip_requests(	// Input values,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	// Output values,	bool&	accept) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Accept default route from peers.     */    virtual XrlCmdError rip_0_1_set_accept_default_route(	// Input values,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	const bool&	accept) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Accessor for whether default route is accepted from peers.     */    virtual XrlCmdError rip_0_1_accept_default_route(	// Input values,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	// Output values,	bool&	accept) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Advertise default route (if present).     */    virtual XrlCmdError rip_0_1_set_advertise_default_route(	// Input values,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	const bool&	advertise) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Accessor for whether default route is advertised.     */    virtual XrlCmdError rip_0_1_advertise_default_route(	// Input values,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	// Output values,	bool&	advertise) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Set period that routes associated with reception address will expire in     *  the absence of updates.     */    virtual XrlCmdError rip_0_1_set_route_timeout(	// Input values,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	const uint32_t&	t_secs) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Get period that routes associated with reception address will expire in     *  the absence of updates.     */    virtual XrlCmdError rip_0_1_route_timeout(	// Input values,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	// Output values,	uint32_t&	t_secs) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Set period that routes associated with reception address will be     *  deleted after they've expired.     */    virtual XrlCmdError rip_0_1_set_deletion_delay(	// Input values,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	const uint32_t&	t_secs) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Get period that routes associated with reception address will be     *  deleted after they've expired.     */    virtual XrlCmdError rip_0_1_deletion_delay(	// Input values,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	// Output values,	uint32_t&	t_secs) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Set period that route table requests should be sent from address when     *  no peers are associated with it.     */    virtual XrlCmdError rip_0_1_set_request_interval(	// Input values,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	const uint32_t&	t_secs) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Set period that route table requests should be sent from address when     *  no peers are associated with it.     */    virtual XrlCmdError rip_0_1_request_interval(	// Input values,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	// Output values,	uint32_t&	t_secs) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Set period between the unsolicited sending of the routing table from     *  address.     */    virtual XrlCmdError rip_0_1_set_update_interval(	// Input values,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	const uint32_t&	t_secs) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Get period between the unsolicited sending of the routing table from     *  address.     */    virtual XrlCmdError rip_0_1_update_interval(	// Input values,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	// Output values,	uint32_t&	t_secs) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Set jitter between the unsolicited sending of the routing table from     *  address (in percents of the period).     */    virtual XrlCmdError rip_0_1_set_update_jitter(	// Input values,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	const uint32_t&	t_jitter) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Get jitter between the unsolicited sending of the routing table from     *  address (in percents of the period).     */    virtual XrlCmdError rip_0_1_update_jitter(	// Input values,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	// Output values,	uint32_t&	t_jitter) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Set period between sending triggered updates from address.     */    virtual XrlCmdError rip_0_1_set_triggered_update_delay(	// Input values,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	const uint32_t&	t_secs) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Get period between sending triggered updates from address.     */    virtual XrlCmdError rip_0_1_triggered_update_delay(	// Input values,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	// Output values,	uint32_t&	t_secs) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Set jitter between sending triggered updates from address (in percents     *  of the period).     */    virtual XrlCmdError rip_0_1_set_triggered_update_jitter(	// Input values,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	const uint32_t&	t_jitter) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Get jitter between sending triggered updates from address (in percents     *  of the period).     */    virtual XrlCmdError rip_0_1_triggered_update_jitter(	// Input values,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	// Output values,	uint32_t&	t_jitter) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Set the inter-packet delay between the output of packets from address.     */    virtual XrlCmdError rip_0_1_set_interpacket_delay(	// Input values,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	const uint32_t&	t_msecs) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Get the inter-packet delay between the output of packets from address.     */    virtual XrlCmdError rip_0_1_interpacket_delay(	// Input values,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	// Output values,	uint32_t&	t_msecs) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Set simple password authentication key.     *     *  @param ifname the interface name.     *     *  @param vifname the vif name.     *     *  @param addr the address.     *     *  @param password the authentication password.     */    virtual XrlCmdError rip_0_1_set_simple_authentication_key(	// Input values,	const string&	ifname,	const string&	vifname,	const IPv4&	addr,	const string&	password) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Delete simple password authentication key.     *     *  @param ifname the interface name.     *     *  @param vifname the vif name.     *     *  @param addr the address.     */    virtual XrlCmdError rip_0_1_delete_simple_authentication_key(	// Input values,	const string&	ifname,	const string&	vifname,	const IPv4&	addr) = 0;    /**     *  Pure-virtual function that needs to be implemented to:     *     *  Set MD5 authentication key.

⌨️ 快捷键说明

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