#include <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). |
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.
dtn::BundleRouter::Config::Config | ( | ) |
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::handle_bundle_received().
Default priority for new routes.
Definition at line 87 of file BundleRouter.h.
Maximum number of route_to entries to follow for a lookup (default 10).
Definition at line 91 of file BundleRouter.h.
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().
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().
std::string dtn::BundleRouter::Config::type_ |
The routing algorithm type.
Definition at line 76 of file BundleRouter.h.