class PortTimerConstants

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

Definition#include <port.hh>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Methods

Protected Members


Detailed Description

 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:
tthe 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:
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 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:
tthe 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:
tthe 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:
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 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:
tthe 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.