|
|
PortTimerConstants ()
| PortTimerConstants |
Initialize contants with default values from RIPv2 spec. The values are defined in constants.hh.
inline void set_expiry_secs (uint32_t t)
| set_expiry_secs |
Set the route expiration time.
Parameters:
t | the expiration time in seconds. |
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:
t | the 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 void 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:
t | the lower bound of the triggered update interval in seconds. |
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 void 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:
t | the upper bound of the triggered update interval in seconds. |
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:
t | the 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 void 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. Fast arriving queries are ignored.
Parameters:
t | the interquery delay in milliseconds. |
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 _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]
inline void
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 void
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 void
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 void
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 Thu Nov 6 23:47:08 2003, using kdoc 2.0a54+XORP. |