dtn::ProphetParams Struct Reference

#include <ProphetLists.h>

Inheritance diagram for dtn::ProphetParams:

dtn::ProphetNodeParams List of all members.

Detailed Description

Common parameters shared between the one ProphetController and the many ProphetEncounters.

Definition at line 47 of file ProphetLists.h.

Public Member Functions

 ProphetParams ()

Public Attributes

Prophet::fwd_strategy_t fs_
 bundle forwarding strategy
Prophet::q_policy_t qp_
 bundle queuing policy
u_int8_t hello_interval_
 delay between HELLO beacons (100ms units)
u_int hello_dead_
 hello_intervals before peer considered offline
u_int max_forward_
 max times to forward bundle using GTMX
u_int min_forward_
 min times to forward before dropping (LEPR)
u_int max_usage_
 max bytes to allow consumed by bundles
u_int age_period_
 seconds between aging cycles (Section 3.8)
bool relay_node_
 whether Prophet bridges to non-Prophet domains
bool custody_node_
 whether this node will accept custody txfrs
bool internet_gw_
 whether this node bridges to Internet domain
double epsilon_
 minimum allowed pvalue before dropping node


Constructor & Destructor Documentation

dtn::ProphetParams::ProphetParams (  )  [inline]

Definition at line 49 of file ProphetLists.h.


Member Data Documentation

Prophet::fwd_strategy_t dtn::ProphetParams::fs_

bundle forwarding strategy

Definition at line 64 of file ProphetLists.h.

Referenced by dtn::ProphetController::dump_state(), dtn::ProphetController::fwd_strategy(), dtn::ProphetEncounter::send_bundle_offer(), and dtn::ProphetController::set_fwd_strategy().

Prophet::q_policy_t dtn::ProphetParams::qp_

bundle queuing policy

Definition at line 65 of file ProphetLists.h.

Referenced by dtn::ProphetController::do_init(), dtn::ProphetController::dump_state(), dtn::ProphetBundleQueue::enforce_bound(), dtn::ProphetCommand::exec(), dtn::ProphetController::handle_queue_policy_change(), dtn::ProphetController::q_policy(), and dtn::ProphetController::set_q_policy().

u_int8_t dtn::ProphetParams::hello_interval_

delay between HELLO beacons (100ms units)

Definition at line 67 of file ProphetLists.h.

Referenced by dtn::ProphetEncounter::enqueue_hello(), dtn::ProphetCommand::exec(), dtn::ProphetController::handle_hello_interval_change(), dtn::ProphetEncounter::handle_hello_interval_changed(), dtn::ProphetEncounter::handle_hello_tlv(), dtn::ProphetEncounter::ProphetEncounter(), and dtn::ProphetEncounter::set_state().

u_int dtn::ProphetParams::hello_dead_

hello_intervals before peer considered offline

Definition at line 68 of file ProphetLists.h.

Referenced by dtn::ProphetEncounter::handle_poll_timeout(), and dtn::ProphetEncounter::run().

u_int dtn::ProphetParams::max_forward_

max times to forward bundle using GTMX

Definition at line 70 of file ProphetLists.h.

Referenced by dtn::ProphetEncounter::send_bundle_offer().

u_int dtn::ProphetParams::min_forward_

min times to forward before dropping (LEPR)

Definition at line 71 of file ProphetLists.h.

Referenced by dtn::ProphetBundleQueue::enforce_bound().

u_int dtn::ProphetParams::max_usage_

max bytes to allow consumed by bundles

Definition at line 72 of file ProphetLists.h.

Referenced by dtn::ProphetCommand::exec(), and dtn::ProphetController::handle_max_usage_change().

u_int dtn::ProphetParams::age_period_

seconds between aging cycles (Section 3.8)

Definition at line 74 of file ProphetLists.h.

Referenced by dtn::ProphetController::do_init().

bool dtn::ProphetParams::relay_node_

whether Prophet bridges to non-Prophet domains

Definition at line 76 of file ProphetLists.h.

Referenced by dtn::ProphetEncounter::enqueue_rib().

bool dtn::ProphetParams::custody_node_

whether this node will accept custody txfrs

Definition at line 77 of file ProphetLists.h.

Referenced by dtn::ProphetEncounter::enqueue_rib().

bool dtn::ProphetParams::internet_gw_

whether this node bridges to Internet domain

Definition at line 78 of file ProphetLists.h.

Referenced by dtn::ProphetEncounter::enqueue_rib().

double dtn::ProphetParams::epsilon_

minimum allowed pvalue before dropping node

Definition at line 79 of file ProphetLists.h.

Referenced by dtn::ProphetController::do_init().


The documentation for this struct was generated from the following file:
Generated on Thu Jun 7 12:54:34 2007 for DTN Reference Implementation by  doxygen 1.5.1