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

 PortTimerConstants ()

PortTimerConstants

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

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.

uint32_t  expiry_secs ()

expiry_secs

[const]

Get the route route expiration time.

Returns: expiry time in seconds.

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.

uint32_t  deletion_secs ()

deletion_secs

[const]

Get the route deletion time.

Returns: deletion time in seconds.

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.

uint32_t  table_request_period_secs ()

table_request_period_secs

[const]

Set request packet transmission period.

Returns: inter-packet interval in seconds.

bool  set_update_interval (uint32_t t_secs)

set_update_interval

Set unsolicitied response time.

Parameters:

t_secsunsolicited response time in seconds.

Returns: true on success.

uint32_t  update_interval ()

update_interval

Get unsolicitied response time.

Returns: unsolicited response time in seconds.

bool  set_update_jitter (uint32_t t_jitter)

set_update_jitter

Set unsolicitied response time jitter.

Parameters:

t_jitterunsolicited response time jitter (in percents of the time period).

Returns: true on success.

uint32_t  update_jitter ()

update_jitter

Get unsolicitied response time jitter.

Returns: unsolicited response time jitter (in percents of the time period).

bool  set_triggered_update_delay (uint32_t t_secs)

set_triggered_update_delay

Set the triggered update delay.

Parameters:

t_secsthe triggered update delay in seconds.

Returns: true on success.

uint32_t  triggered_update_delay ()

triggered_update_delay

[const]

Get the triggered update delay.

Returns: the triggered update delay in seconds.

bool  set_triggered_update_jitter (uint32_t t_jitter)

set_triggered_update_jitter

Set the triggered update jitter.

Parameters:

t_jitterthe triggered update jitter (in percents of the time delay).

Returns: true on success.

uint32_t  triggered_update_jitter ()

triggered_update_jitter

[const]

Get the triggered update jitter.

Returns: the triggered update jitter (in percents of the time delay).

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.

uint32_t  interpacket_delay_ms ()

interpacket_delay_ms

[const]

Get the interpacket packet delay in milliseconds.

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.

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 _update_interval

_update_interval

[protected]

uint32_t _update_jitter

_update_jitter

[protected]

uint32_t _triggered_update_delay

_triggered_update_delay

[protected]

uint32_t _triggered_update_jitter

_triggered_update_jitter

[protected]

uint32_t _interpacket_msecs

_interpacket_msecs

[protected]

uint32_t _interquery_msecs

_interquery_msecs

[protected]

inline  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_update_interval (uint32_t t_secs)

set_update_interval

[protected]

inline uint32_t  update_interval ()

update_interval

[protected]

inline bool  set_update_jitter (uint32_t t_jitter)

set_update_jitter

[protected]

inline uint32_t  update_jitter ()

update_jitter

[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_delay (uint32_t t_secs)

set_triggered_update_delay

[protected]

inline uint32_t  triggered_update_delay ()

triggered_update_delay

[protected const]

inline bool  set_triggered_update_jitter (uint32_t t_jitter)

set_triggered_update_jitter

[protected]

inline uint32_t  triggered_update_jitter ()

triggered_update_jitter

[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: bms on anglepoise.lon.incunabulum.net on Wed Jul 23 10:06:09 2008, using kdoc 2.0a54+XORP.