dtn::BluetoothConvergenceLayer::Params Class Reference

#include <BluetoothConvergenceLayer.h>

Inheritance diagram for dtn::BluetoothConvergenceLayer::Params:

dtn::CLInfo List of all members.

Detailed Description

Tunable parameter structure.

Defaults can be configured for all links (and interfaces) via the 'param set' command'. Additionally, per-link and per-interface settings are also configurable via arguments to the 'link add' and 'interface add' commands.

The parameters are stored in each Link's CLInfo slot, as well as part of the Listener and Connection helper classes.

Definition at line 92 of file BluetoothConvergenceLayer.h.

Public Attributes

bdaddr_t local_addr_
 local address
bdaddr_t remote_addr_
 remote address
std::string hcidev_
 local device
bool bundle_ack_enabled_
 Use CL-specific bundle acks?
u_int partial_ack_len_
 Bytes to send before ack.
u_int writebuf_len_
 Buffer size per write() call.
u_int readbuf_len_
 Buffer size per read() call.
u_int keepalive_interval_
 Seconds between keepalive pacekts.
u_int retry_interval_
 (copied from Link params)
u_int min_retry_interval_
 (copied from Link params)
u_int max_retry_interval_
 (copied from Link params)
u_int16_t idle_close_time
 Seconds of idle time before close.
u_int rtt_timeout_
 Msecs to wait for data.
u_int neighbor_poll_interval_
 Seconds between polling.


Member Data Documentation

bdaddr_t dtn::BluetoothConvergenceLayer::Params::local_addr_

local address

Definition at line 94 of file BluetoothConvergenceLayer.h.

Referenced by dtn::BluetoothConvergenceLayer::BluetoothConvergenceLayer(), dtn::BluetoothConvergenceLayer::Connection::Connection(), dtn::BluetoothConvergenceLayer::ConnectionManager::connection(), dtn::BluetoothConvergenceLayer::dump_interface(), dtn::BluetoothConvergenceLayer::dump_link(), dtn::BluetoothConvergenceLayer::init_link(), dtn::BluetoothConvergenceLayer::Listener::Listener(), dtn::BluetoothConvergenceLayer::ConnectionManager::listener(), dtn::BluetoothConvergenceLayer::parse_params(), and dtn::BluetoothConvergenceLayer::NeighborDiscovery::run().

bdaddr_t dtn::BluetoothConvergenceLayer::Params::remote_addr_

remote address

Definition at line 95 of file BluetoothConvergenceLayer.h.

Referenced by dtn::BluetoothConvergenceLayer::BluetoothConvergenceLayer(), dtn::BluetoothConvergenceLayer::dump_interface(), dtn::BluetoothConvergenceLayer::dump_link(), and dtn::BluetoothConvergenceLayer::parse_params().

std::string dtn::BluetoothConvergenceLayer::Params::hcidev_

local device

Definition at line 96 of file BluetoothConvergenceLayer.h.

Referenced by dtn::BluetoothConvergenceLayer::BluetoothConvergenceLayer(), dtn::BluetoothConvergenceLayer::dump_interface(), dtn::BluetoothConvergenceLayer::init_link(), and dtn::BluetoothConvergenceLayer::parse_params().

bool dtn::BluetoothConvergenceLayer::Params::bundle_ack_enabled_

Use CL-specific bundle acks?

Definition at line 97 of file BluetoothConvergenceLayer.h.

Referenced by dtn::BluetoothConvergenceLayer::BluetoothConvergenceLayer(), dtn::BluetoothConvergenceLayer::parse_params(), dtn::BluetoothConvergenceLayer::Connection::recv_bundle(), dtn::BluetoothConvergenceLayer::Connection::recv_contact_header(), dtn::BluetoothConvergenceLayer::Connection::send_bundle(), and dtn::BluetoothConvergenceLayer::Connection::send_contact_header().

u_int dtn::BluetoothConvergenceLayer::Params::partial_ack_len_

Bytes to send before ack.

Definition at line 98 of file BluetoothConvergenceLayer.h.

Referenced by dtn::BluetoothConvergenceLayer::BluetoothConvergenceLayer(), dtn::BluetoothConvergenceLayer::parse_params(), dtn::BluetoothConvergenceLayer::Connection::recv_bundle(), dtn::BluetoothConvergenceLayer::Connection::recv_contact_header(), and dtn::BluetoothConvergenceLayer::Connection::send_contact_header().

u_int dtn::BluetoothConvergenceLayer::Params::writebuf_len_

Buffer size per write() call.

Definition at line 99 of file BluetoothConvergenceLayer.h.

Referenced by dtn::BluetoothConvergenceLayer::BluetoothConvergenceLayer(), dtn::BluetoothConvergenceLayer::parse_params(), dtn::BluetoothConvergenceLayer::Connection::send_announce(), dtn::BluetoothConvergenceLayer::Connection::send_bundle(), and dtn::BluetoothConvergenceLayer::Connection::send_loop().

u_int dtn::BluetoothConvergenceLayer::Params::readbuf_len_

Buffer size per read() call.

Definition at line 100 of file BluetoothConvergenceLayer.h.

Referenced by dtn::BluetoothConvergenceLayer::BluetoothConvergenceLayer(), dtn::BluetoothConvergenceLayer::parse_params(), dtn::BluetoothConvergenceLayer::Connection::recv_loop(), dtn::BluetoothConvergenceLayer::Connection::send_announce(), and dtn::BluetoothConvergenceLayer::Connection::send_loop().

u_int dtn::BluetoothConvergenceLayer::Params::keepalive_interval_

Seconds between keepalive pacekts.

Definition at line 101 of file BluetoothConvergenceLayer.h.

Referenced by dtn::BluetoothConvergenceLayer::BluetoothConvergenceLayer(), dtn::BluetoothConvergenceLayer::parse_params(), dtn::BluetoothConvergenceLayer::Connection::recv_announce(), dtn::BluetoothConvergenceLayer::Connection::recv_contact_header(), dtn::BluetoothConvergenceLayer::Connection::recv_loop(), dtn::BluetoothConvergenceLayer::Connection::send_contact_header(), and dtn::BluetoothConvergenceLayer::Connection::send_loop().

u_int dtn::BluetoothConvergenceLayer::Params::retry_interval_

(copied from Link params)

Definition at line 102 of file BluetoothConvergenceLayer.h.

Referenced by dtn::BluetoothConvergenceLayer::BluetoothConvergenceLayer(), dtn::BluetoothConvergenceLayer::init_link(), and dtn::BluetoothConvergenceLayer::Connection::run().

u_int dtn::BluetoothConvergenceLayer::Params::min_retry_interval_

(copied from Link params)

Definition at line 103 of file BluetoothConvergenceLayer.h.

Referenced by dtn::BluetoothConvergenceLayer::BluetoothConvergenceLayer(), dtn::BluetoothConvergenceLayer::init_link(), dtn::BluetoothConvergenceLayer::parse_params(), and dtn::BluetoothConvergenceLayer::Connection::run().

u_int dtn::BluetoothConvergenceLayer::Params::max_retry_interval_

(copied from Link params)

Definition at line 104 of file BluetoothConvergenceLayer.h.

Referenced by dtn::BluetoothConvergenceLayer::BluetoothConvergenceLayer(), dtn::BluetoothConvergenceLayer::init_link(), dtn::BluetoothConvergenceLayer::parse_params(), and dtn::BluetoothConvergenceLayer::Connection::run().

u_int16_t dtn::BluetoothConvergenceLayer::Params::idle_close_time

Seconds of idle time before close.

Definition at line 105 of file BluetoothConvergenceLayer.h.

u_int dtn::BluetoothConvergenceLayer::Params::rtt_timeout_

Msecs to wait for data.

Definition at line 106 of file BluetoothConvergenceLayer.h.

Referenced by dtn::BluetoothConvergenceLayer::Connection::accept(), dtn::BluetoothConvergenceLayer::BluetoothConvergenceLayer(), dtn::BluetoothConvergenceLayer::Connection::connect(), dtn::BluetoothConvergenceLayer::parse_params(), and dtn::BluetoothConvergenceLayer::Connection::recv_bundle().

u_int dtn::BluetoothConvergenceLayer::Params::neighbor_poll_interval_

Seconds between polling.

Definition at line 107 of file BluetoothConvergenceLayer.h.

Referenced by dtn::BluetoothConvergenceLayer::BluetoothConvergenceLayer(), dtn::BluetoothConvergenceLayer::dump_interface(), dtn::BluetoothConvergenceLayer::NeighborDiscovery::NeighborDiscovery(), dtn::BluetoothConvergenceLayer::parse_params(), and dtn::BluetoothConvergenceLayer::Connection::recv_bundle().


The documentation for this class was generated from the following file:
Generated on Fri Dec 22 14:48:04 2006 for DTN Reference Implementation by  doxygen 1.5.1