#include <Params.h>
Public Member Functions | |
ProphetParams () | |
Constructor. | |
FwdStrategy::fwd_strategy_t | fs () const |
Accessors. | |
QueuePolicy::q_policy_t | qp () const |
Accessors. | |
u_int8_t | hello_interval () const |
Accessors. | |
u_int | hello_dead () const |
Accessors. | |
u_int | max_forward () const |
Accessors. | |
u_int | min_forward () const |
Accessors. | |
u_int | age_period () const |
Accessors. | |
double | epsilon () const |
Accessors. | |
bool | relay_node () const |
Accessors. | |
bool | internet_gw () const |
Accessors. | |
Public Attributes | |
FwdStrategy::fwd_strategy_t | fs_ |
bundle forwarding strategy | |
QueuePolicy::q_policy_t | qp_ |
bundle queuing policy | |
u_int8_t | hello_interval_ |
delay between HELLO beacons (100ms units) | |
u_int | hello_dead_ |
hello_interval's before giving up on peer | |
u_int | max_forward_ |
max times to forward bundle using GTMX | |
u_int | min_forward_ |
min times to forward bundle before LEPR drops | |
u_int | age_period_ |
seconds between applying age algorithm | |
u_int | max_table_size_ |
max number of routes to retain | |
double | epsilon_ |
minimum predictability before dropping route | |
bool | relay_node_ |
whether this node accepts bundles to relay to peers | |
bool | internet_gw_ |
not implemented; whether node bridges to Internet | |
Static Public Attributes | |
static const u_int8_t | HELLO_INTERVAL = 20 |
Time between HELLO beacons (in 100ms units). | |
static const u_int | HELLO_DEAD = 20 |
Max units of HELLO_INTERVAL before peer is considered unreachable. | |
static const u_int | DEFAULT_NUM_F_MAX = 5 |
Max times to forward a bundle for GTMX. | |
static const u_int | DEFAULT_NUM_F_MIN = 3 |
Min times to forward a bundle for LEPR. | |
static const u_int | AGE_PERIOD = 180 |
Seconds between aging of nodes and Prophet ACKs. | |
static const u_int8_t | PROPHET_VERSION = 0x01 |
Current version of the protocol. | |
static const u_int | MAX_TABLE_SIZE = 1024 |
Maximum number of routes to retain (not specified by I-D). |
Definition at line 32 of file Params.h.
prophet::ProphetParams::ProphetParams | ( | ) | [inline] |
u_int prophet::ProphetParams::age_period | ( | ) | const [inline] |
double prophet::ProphetParams::epsilon | ( | ) | const [inline] |
Accessors.
Definition at line 96 of file Params.h.
References epsilon_.
Referenced by dtn::ProphetBundleCore::load_prophet_nodes().
FwdStrategy::fwd_strategy_t prophet::ProphetParams::fs | ( | ) | const [inline] |
u_int prophet::ProphetParams::hello_dead | ( | ) | const [inline] |
u_int8_t prophet::ProphetParams::hello_interval | ( | ) | const [inline] |
bool prophet::ProphetParams::internet_gw | ( | ) | const [inline] |
u_int prophet::ProphetParams::max_forward | ( | ) | const [inline] |
u_int prophet::ProphetParams::min_forward | ( | ) | const [inline] |
QueuePolicy::q_policy_t prophet::ProphetParams::qp | ( | ) | const [inline] |
bool prophet::ProphetParams::relay_node | ( | ) | const [inline] |
const u_int prophet::ProphetParams::AGE_PERIOD = 180 [static] |
seconds between applying age algorithm
Definition at line 110 of file Params.h.
Referenced by age_period().
const u_int prophet::ProphetParams::DEFAULT_NUM_F_MAX = 5 [static] |
const u_int prophet::ProphetParams::DEFAULT_NUM_F_MIN = 3 [static] |
bundle forwarding strategy
Definition at line 101 of file Params.h.
Referenced by dtn::ProphetCommand::exec(), and fs().
const u_int prophet::ProphetParams::HELLO_DEAD = 20 [static] |
hello_interval's before giving up on peer
Definition at line 105 of file Params.h.
Referenced by hello_dead().
const u_int8_t prophet::ProphetParams::HELLO_INTERVAL = 20 [static] |
delay between HELLO beacons (100ms units)
Definition at line 104 of file Params.h.
Referenced by dtn::ProphetCommand::exec(), and hello_interval().
not implemented; whether node bridges to Internet
Definition at line 117 of file Params.h.
Referenced by internet_gw().
max times to forward bundle using GTMX
Definition at line 107 of file Params.h.
Referenced by max_forward().
const u_int prophet::ProphetParams::MAX_TABLE_SIZE = 1024 [static] |
max number of routes to retain
Definition at line 112 of file Params.h.
Referenced by dtn::ProphetCommand::exec().
min times to forward bundle before LEPR drops
Definition at line 108 of file Params.h.
Referenced by min_forward().
const u_int8_t prophet::ProphetParams::PROPHET_VERSION = 0x01 [static] |
Current version of the protocol.
Definition at line 63 of file Params.h.
Referenced by prophet::ProphetTLV::deserialize(), and prophet::ProphetTLV::serialize().
bundle queuing policy
Definition at line 102 of file Params.h.
Referenced by dtn::ProphetCommand::exec(), and qp().
whether this node accepts bundles to relay to peers
Definition at line 116 of file Params.h.
Referenced by relay_node().