class PortTimerConstants

Container of timer constants associated with a RIP port. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Protected Methods

Protected Members


Detailed Description

inline  PortTimerConstants ()

PortTimerConstants

Initialize contants with default values from RIPv2 spec. The values are defined in constants.hh.

inline bool  set_expiry_secs (uint32_t t)

set_expiry_secs

Set the route expiration time.

Parameters:

tthe expiration time in seconds.

Returns: true on success.

inline uint32_t  expiry_secs ()

expiry_secs

[const]

Get the route route expiration time.

Returns: expiry time in seconds.

inline bool  set_deletion_secs (uint32_t t)

set_deletion_secs

Set the route deletion time.

Parameters:

tthe deletion time in seconds (must be >= 1).

Returns: true on success, false if t == 0.

inline uint32_t  deletion_secs ()

deletion_secs

[const]

Get the route deletion time.

Returns: deletion time in seconds.

inline bool  set_table_request_period_secs (uint32_t t)

set_table_request_period_secs

Set request packet transmission period. Request packets are only sent when there are no peers associated with a port.

Parameters:

tinter-packet interval in seconds.

Returns: true on success.

inline uint32_t  table_request_period_secs ()

table_request_period_secs

[const]

Set request packet transmission period.

Returns: inter-packet interval in seconds.

inline bool  set_unsolicited_response_min_secs (uint32_t t)

set_unsolicited_response_min_secs

Set minimum unsolicitied response time.

Parameters:

tminimum unsolicited response time in seconds.

Returns: true on success.

inline uint32_t  unsolicited_response_min_secs ()

unsolicited_response_min_secs

Get minimum unsolicitied response time.

Returns: minimum unsolicited response time in seconds.

inline bool  set_unsolicited_response_max_secs (uint32_t t)

set_unsolicited_response_max_secs

Set maximum unsolicitied response time.

Parameters:

tmaximum unsolicited response time in seconds.

Returns: true on success.

inline uint32_t  unsolicited_response_max_secs ()

unsolicited_response_max_secs

Get maximum unsolicitied response time.

Returns: maximum unsolicited response time in seconds.

inline bool  set_triggered_update_min_wait_secs (uint32_t t)

set_triggered_update_min_wait_secs

Set the lower bound of the triggered update interval.

Parameters:

tthe lower bound of the triggered update interval in seconds.

Returns: true on success.

inline uint32_t  triggered_update_min_wait_secs ()

triggered_update_min_wait_secs

[const]

Get the lower bound of the triggered update interval.

Returns: the lower bound of the triggered update interval in seconds.

inline bool  set_triggered_update_max_wait_secs (uint32_t t)

set_triggered_update_max_wait_secs

Set the upper bound of the triggered update interval.

Parameters:

tthe upper bound of the triggered update interval in seconds.

Returns: true on success.

inline uint32_t  triggered_update_max_wait_secs ()

triggered_update_max_wait_secs

[const]

Get the upper bound of the triggered update interval.

Returns: the upper bound of the triggered update interval in seconds.

inline bool  set_interpacket_delay_ms (uint32_t t)

set_interpacket_delay_ms

Set the interpacket packet delay.

Parameters:

tthe interpacket delay for back-to-back packets in milliseconds.

Returns: true on success, false if t is greater than MAXIMUM_INTERPACKET_DELAY_MS.

inline uint32_t  interpacket_delay_ms ()

interpacket_delay_ms

[const]

Get the interpacket packet delay in milliseconds.

inline bool  set_interquery_delay_ms (uint32_t t)

set_interquery_delay_ms

Set the interquery gap. This is the minimum temporal gap between route request packets that query specific routes. Queries arriving at a faster rate are ignored.

Parameters:

tthe interquery delay in milliseconds.

Returns: true on success.

inline uint32_t  interquery_delay_ms ()

interquery_delay_ms

[const]

Get the interquery gap. This is the minimum temporal gap between route request packets that query specific routes. Fast arriving queries are ignored.

Returns: the interquery delay in milliseconds.

uint32_t _expiry_secs

_expiry_secs

[protected]

uint32_t _deletion_secs

_deletion_secs

[protected]

uint32_t _table_request_secs

_table_request_secs

[protected]

uint32_t _unsolicited_response_min_secs

_unsolicited_response_min_secs

[protected]

uint32_t _unsolicited_response_max_secs

_unsolicited_response_max_secs

[protected]

uint32_t _triggered_update_min_wait_secs

_triggered_update_min_wait_secs

[protected]

uint32_t _triggered_update_max_wait_secs

_triggered_update_max_wait_secs

[protected]

uint32_t _interpacket_msecs

_interpacket_msecs

[protected]

uint32_t _interquery_msecs

_interquery_msecs

[protected]

 PortTimerConstants ()

PortTimerConstants

[protected]

inline bool  set_expiry_secs (uint32_t t)

set_expiry_secs

[protected]

inline uint32_t  expiry_secs ()

expiry_secs

[protected const]

inline bool  set_deletion_secs (uint32_t t)

set_deletion_secs

[protected]

inline uint32_t  deletion_secs ()

deletion_secs

[protected const]

inline bool  set_unsolicited_response_min_secs (uint32_t t)

set_unsolicited_response_min_secs

[protected]

inline uint32_t  unsolicited_response_min_secs ()

unsolicited_response_min_secs

[protected]

inline bool  set_unsolicited_response_max_secs (uint32_t t)

set_unsolicited_response_max_secs

[protected]

inline uint32_t  unsolicited_response_max_secs ()

unsolicited_response_max_secs

[protected]

inline bool  set_table_request_period_secs (uint32_t t)

set_table_request_period_secs

[protected]

inline uint32_t  table_request_period_secs ()

table_request_period_secs

[protected const]

inline bool  set_triggered_update_min_wait_secs (uint32_t t)

set_triggered_update_min_wait_secs

[protected]

inline uint32_t  triggered_update_min_wait_secs ()

triggered_update_min_wait_secs

[protected const]

inline bool  set_triggered_update_max_wait_secs (uint32_t t)

set_triggered_update_max_wait_secs

[protected]

inline uint32_t  triggered_update_max_wait_secs ()

triggered_update_max_wait_secs

[protected const]

inline bool  set_interpacket_delay_ms (uint32_t t)

set_interpacket_delay_ms

[protected]

inline uint32_t  interpacket_delay_ms ()

interpacket_delay_ms

[protected const]

inline bool  set_interquery_delay_ms (uint32_t t)

set_interquery_delay_ms

[protected]

inline uint32_t  interquery_delay_ms ()

interquery_delay_ms

[protected const]


Generated by: pavlin on possum.icir.org on Wed Apr 13 21:53:21 2005, using kdoc $.