dtn::Link::Params Struct Reference

#include <Link.h>

List of all members.


Detailed Description

Definition at line 489 of file contacts/Link.h.


Public Member Functions

 Params ()
 Default constructor.

Public Attributes

u_int mtu_
 MTU of the link, used to control proactive fragmentation.
u_int min_retry_interval_
 Minimum amount to wait between attempts to re-open the link (in seconds).
u_int max_retry_interval_
 Maximum amount to wait between attempts to re-open the link (in seconds).
u_int idle_close_time_
 Seconds of idle time before the link is closed.
u_int potential_downtime_
 Conservative estimate of the maximum amount of time that the link may be down during "normal" operation.
bool prevhop_hdr_
 Whether or not to send the previous hop header on this link.
u_int cost_
 Abstract cost of the link, used by routing algorithms.
u_int qlimit_bundles_high_
u_int64_t qlimit_bytes_high_
u_int qlimit_bundles_low_
u_int64_t qlimit_bytes_low_

Constructor & Destructor Documentation

dtn::Link::Params::Params (  ) 

Default constructor.

Default parameters, values overridden in ParamCommand.

Definition at line 40 of file Link.cc.


Member Data Documentation

MTU of the link, used to control proactive fragmentation.

Definition at line 498 of file contacts/Link.h.

Referenced by dtn::Link::dump(), and dtn::Link::parse_args().

Minimum amount to wait between attempts to re-open the link (in seconds).

Default is set by the various Link types but can be overridden by configuration parameters.

Definition at line 507 of file contacts/Link.h.

Referenced by dtn::Link::dump(), dtn::Link::parse_args(), dtn::Link::reconfigure_link(), and dtn::Link::serialize().

Maximum amount to wait between attempts to re-open the link (in seconds).

Default is set by the various Link types but can be overridden by configuration parameters.

Definition at line 516 of file contacts/Link.h.

Referenced by dtn::Link::dump(), dtn::Link::parse_args(), dtn::Link::reconfigure_link(), and dtn::Link::serialize().

Seconds of idle time before the link is closed.

Must be zero for always on links (i.e. they are never closed).

Default is 30 seconds for on demand links, zero for opportunistic links.

Definition at line 525 of file contacts/Link.h.

Referenced by dtn::Link::dump(), dtn::OndemandLink::OndemandLink(), dtn::Link::parse_args(), dtn::Link::reconfigure_link(), and dtn::Link::serialize().

Conservative estimate of the maximum amount of time that the link may be down during "normal" operation.

Used by routing algorithms to determine how long to leave bundles queued on the down link before rerouting them. Fefault is 30 seconds.

Definition at line 534 of file contacts/Link.h.

Referenced by dtn::Link::dump(), dtn::Link::parse_args(), dtn::Link::reconfigure_link(), and dtn::Link::serialize().

Whether or not to send the previous hop header on this link.

Default is false.

Definition at line 540 of file contacts/Link.h.

Referenced by dtn::Link::dump(), and dtn::Link::parse_args().

Abstract cost of the link, used by routing algorithms.

Default is 100.

Definition at line 546 of file contacts/Link.h.

Referenced by dtn::Link::parse_args(), and dtn::Link::serialize().

Configurable high / low limits on the number of bundles/bytes that should be queued on the link.

The high limits are used by Link::is_queue_full() to indicate whether or not more bundles can be queued onto the link to effect backpressure from the convergence layers.

The low limits can be used by the router to determine when to re-scan the pending bundle lists

Definition at line 560 of file contacts/Link.h.

Referenced by dtn::Link::parse_args(), and dtn::Link::queue_is_full().

Configurable high / low limits on the number of bundles/bytes that should be queued on the link.

The high limits are used by Link::is_queue_full() to indicate whether or not more bundles can be queued onto the link to effect backpressure from the convergence layers.

The low limits can be used by the router to determine when to re-scan the pending bundle lists

Definition at line 561 of file contacts/Link.h.

Referenced by dtn::Link::parse_args(), and dtn::Link::queue_is_full().

Configurable high / low limits on the number of bundles/bytes that should be queued on the link.

The high limits are used by Link::is_queue_full() to indicate whether or not more bundles can be queued onto the link to effect backpressure from the convergence layers.

The low limits can be used by the router to determine when to re-scan the pending bundle lists

Definition at line 562 of file contacts/Link.h.

Referenced by dtn::Link::parse_args(), and dtn::Link::queue_has_space().

Configurable high / low limits on the number of bundles/bytes that should be queued on the link.

The high limits are used by Link::is_queue_full() to indicate whether or not more bundles can be queued onto the link to effect backpressure from the convergence layers.

The low limits can be used by the router to determine when to re-scan the pending bundle lists

Definition at line 563 of file contacts/Link.h.

Referenced by dtn::Link::parse_args(), and dtn::Link::queue_has_space().


The documentation for this struct was generated from the following files:

Generated on Mon Jul 21 14:12:20 2008 for DTN Reference Implementation by  doxygen 1.5.6