dtn::UDPConvergenceLayer::Params Class Reference

Tunable parameter structure. More...

#include <UDPConvergenceLayer.h>

Inheritance diagram for dtn::UDPConvergenceLayer::Params:
dtn::CLInfo

List of all members.

Public Member Functions

virtual void serialize (oasys::SerializeAction *a)
 Virtual from SerializableObject.

Public Attributes

in_addr_t local_addr_
 Local address to bind to.
u_int16_t local_port_
 Local port to bind to.
in_addr_t remote_addr_
 Peer address to connect to.
u_int16_t remote_port_
 Peer port to connect to.
u_int32_t rate_
 Rate (in bps).
u_int32_t bucket_depth_
 Token bucket depth (in bits).

Detailed Description

Tunable parameter structure.

Per-link and per-interface settings are 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 Receiver helper class.

Definition at line 100 of file UDPConvergenceLayer.h.


Member Function Documentation

void dtn::UDPConvergenceLayer::Params::serialize ( oasys::SerializeAction *  a  )  [read, virtual]

Virtual from SerializableObject.

Reimplemented from dtn::CLInfo.

Definition at line 41 of file UDPConvergenceLayer.cc.

References bucket_depth_, local_addr_, local_port_, rate_, remote_addr_, and remote_port_.


Member Data Documentation


The documentation for this class was generated from the following files:
Generated on Sun Nov 21 11:41:06 2010 for DTN Reference Implementation by  doxygen 1.6.3