#include <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_ |
Definition at line 489 of file contacts/Link.h.
dtn::Link::Params::Params | ( | ) |
Default constructor.
Default parameters, values overridden in ParamCommand.
u_int dtn::Link::Params::cost_ |
Abstract cost of the link, used by routing algorithms.
Default is 100.
Definition at line 546 of file contacts/Link.h.
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::OndemandLink::OndemandLink().
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.
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.
u_int dtn::Link::Params::mtu_ |
MTU of the link, used to control proactive fragmentation.
Definition at line 498 of file contacts/Link.h.
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.
Whether or not to send the previous hop header on this link.
Default is false.
Definition at line 540 of file contacts/Link.h.
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::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 562 of file contacts/Link.h.
Referenced by dtn::Link::add_to_queue().
u_int64_t dtn::Link::Params::qlimit_bytes_high_ |
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::queue_has_space().
u_int64_t dtn::Link::Params::qlimit_bytes_low_ |
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::add_to_queue().