dtn::BundleRouter::BundleRouter::Config Struct Reference

Config variables. More...

#include <BundleRouter.h>

List of all members.

Public Member Functions

 Config ()

Public Attributes

std::string type_
 The routing algorithm type.
bool add_nexthop_routes_
 Whether or not to add routes for nexthop links that know the remote endpoint id (default true).
bool open_discovered_links_
 Whether or not to open discovered opportunistic links when they become available (default true).
int default_priority_
 Default priority for new routes.
int max_route_to_chain_
 Maximum number of route_to entries to follow for a lookup (default 10).
u_int64_t storage_quota_
 Storage quota for bundle payloads (default unlimited).
u_int subscription_timeout_
 Timeout for upstream session subscriptions in seconds (default is ten minutes).


Detailed Description

Config variables.

These must be static since they're set by the config parser before any router objects are created.

Definition at line 72 of file BundleRouter.h.


Constructor & Destructor Documentation

dtn::BundleRouter::BundleRouter::Config::Config (  ) 

Definition at line 39 of file BundleRouter.cc.


Member Data Documentation

bool dtn::BundleRouter::BundleRouter::Config::add_nexthop_routes_

Whether or not to add routes for nexthop links that know the remote endpoint id (default true).

Definition at line 80 of file BundleRouter.h.

Referenced by dtn::TableBasedRouter::add_nexthop_route(), dtn::DTLSRRouter::DTLSRRouter(), and dtn::FloodBundleRouter::initialize().

int dtn::BundleRouter::BundleRouter::Config::default_priority_

Default priority for new routes.

Definition at line 87 of file BundleRouter.h.

int dtn::BundleRouter::BundleRouter::Config::max_route_to_chain_

Maximum number of route_to entries to follow for a lookup (default 10).

Definition at line 91 of file BundleRouter.h.

bool dtn::BundleRouter::BundleRouter::Config::open_discovered_links_

Whether or not to open discovered opportunistic links when they become available (default true).

Definition at line 84 of file BundleRouter.h.

Referenced by dtn::TableBasedRouter::handle_link_available().

u_int64_t dtn::BundleRouter::BundleRouter::Config::storage_quota_

Storage quota for bundle payloads (default unlimited).

Definition at line 94 of file BundleRouter.h.

u_int dtn::BundleRouter::BundleRouter::Config::subscription_timeout_

Timeout for upstream session subscriptions in seconds (default is ten minutes).

Definition at line 98 of file BundleRouter.h.

Referenced by dtn::TableBasedRouter::subscribe_to_session().

std::string dtn::BundleRouter::BundleRouter::Config::type_

The routing algorithm type.

Definition at line 76 of file BundleRouter.h.


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

Generated on Fri Jan 30 09:43:14 2009 for DTN Reference Implementation by  doxygen 1.5.8