rip_base.hh

来自「xorp源码hg」· HH 代码 · 共 1,105 行 · 第 1/3 页

HH
1,105
字号
    /**     *  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 + =
减小字号Ctrl + -
显示快捷键?