dtn::BundleRouter::Config Struct Reference

#include <BundleRouter.h>

List of all members.


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.

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).
int default_priority_
 Default priority for new routes.
u_int64_t storage_quota_
 Storage quota for bundle payloads.


Constructor & Destructor Documentation

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

Definition at line 38 of file BundleRouter.cc.


Member Data Documentation

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

The routing algorithm type.

Definition at line 76 of file BundleRouter.h.

bool dtn::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::handle_link_created().

int dtn::BundleRouter::Config::default_priority_

Default priority for new routes.

Definition at line 83 of file BundleRouter.h.

Referenced by dtn::RouteEntry::RouteEntry().

u_int64_t dtn::BundleRouter::Config::storage_quota_

Storage quota for bundle payloads.

Definition at line 86 of file BundleRouter.h.


The documentation for this struct was generated from the following files:
Generated on Thu Jun 7 16:56:58 2007 for DTN Reference Implementation by  doxygen 1.5.1