#include <BundleRouter.h>
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). | |
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). |
dtn::BundleRouter::Config::Config | ( | ) |
Definition at line 39 of file BundleRouter.cc.
std::string dtn::BundleRouter::Config::type_ |
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().
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().
Maximum number of route_to entries to follow for a lookup (default 10).
Definition at line 91 of file BundleRouter.h.
Storage quota for bundle payloads (default unlimited).
Definition at line 94 of file BundleRouter.h.
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().