class <Node/SatNode> SatNode : public Node


Inheritance:


Public Fields

Node/SatNode instvar deqT_
static int dist_routing_
configuration parameters
Node/SatNode instvar dmux_
Node/SatNode instvar downlink_
Node/SatNode instvar drophead_
Node/SatNode instvar drpT_
Node/SatNode instvar em_
Node/SatNode instvar enqT_
Node/SatNode instvar errT_
Node/SatNode instvar hm_
Node/SatNode instvar id_
Node/SatNode instvar ifq_
Node/SatNode instvar instvar
Node/SatNode instvar linkhead_
Node/SatNode instvar ll_
Node/SatNode instvar mac_
Node/SatNode instvar nifs_
Node/SatNode instvar phy_rx_
Node/SatNode instvar phy_tx_
Node/SatNode instvar pos_
Node/SatNode instvar rcvT_
Node/SatNode instvar uplink_

Public Methods

Node/SatNode instproc add-gsl {ltype opt_ll opt_ifq opt_qlim opt_mac \
Node/SatNode instproc add-interface args
Node/SatNode instproc add-repeater chan
Node/SatNode instproc add-target {agent port }
Node/SatNode instproc attach-to-inlink { chan {index 0}}
Node/SatNode instproc attach-to-outlink {chan {index 0} }
Node/SatNode instproc create-ragent {}
Channel* downlink()
Node/SatNode instproc init args
Node/SatNode instproc interface-errormodel { em { index 0 } }
SatPosition* position()
SatRouteAgent* ragent()
Each SatNode has a ragent_ (may be NULL), position_, a trace_ (may be NULL), and a hm_ (may be NULL)
Node/SatNode instproc reset {}
SatNode()
Node/SatNode instproc set_downlink {chan}
Node/SatNode instproc set_next {node_}
Node/SatNode instproc set_uplink {chan}
SatTrace* trace()
Node/SatNode instproc trace-all-satlinks {f}
Node/SatNode instproc trace-inlink-queue {f {index_ 0} }
Node/SatNode instproc trace-outlink-queue {f {index_ 0} }
Channel* uplink()
The uplink_ and downlink_ variables allow us to avoid searching through the list of links for these commonly accessed channels

Protected Fields

SatChannel* downlink_
LinkHandoffMgr* hm_
SatPosition* pos_
SatRouteAgent* ragent_
SatTrace* trace_
a drop trace for packets that can't be routed
SatChannel* uplink_

Protected Methods

int command(int argc, const char*const* argv)
void dumpSats()

Documentation

SatNode()

SatRouteAgent* ragent()
Each SatNode has a ragent_ (may be NULL), position_, a trace_ (may be NULL), and a hm_ (may be NULL)

SatPosition* position()

SatTrace* trace()

Channel* uplink()
The uplink_ and downlink_ variables allow us to avoid searching through the list of links for these commonly accessed channels

Channel* downlink()

static int dist_routing_
configuration parameters

int command(int argc, const char*const* argv)

SatRouteAgent* ragent_

SatChannel* uplink_

SatChannel* downlink_

SatPosition* pos_

SatTrace* trace_
a drop trace for packets that can't be routed

LinkHandoffMgr* hm_

void dumpSats()

Node/SatNode instproc init args

Node/SatNode instvar nifs_

Node/SatNode instvar phy_tx_

Node/SatNode instvar phy_rx_

Node/SatNode instvar mac_

Node/SatNode instvar ifq_

Node/SatNode instvar ll_

Node/SatNode instvar pos_

Node/SatNode instvar hm_

Node/SatNode instproc reset {}

Node/SatNode instvar instvar

Node/SatNode instproc set_next {node_}

Node/SatNode instproc add-target {agent port }
Attach an agent to a node. Pick a port and bind the agent to the port number. if portnumber is 255, default target is set to the routing agent

Node/SatNode instvar dmux_

Node/SatNode instproc add-gsl {ltype opt_ll opt_ifq opt_qlim opt_mac \
Add network stack and attach to the channels

Node/SatNode instproc add-repeater chan

Node/SatNode instvar linkhead_

Node/SatNode instproc add-interface args
The following sets up link layer, mac layer, interface queue and physical layer structures for the satellite nodes. Propagation model is an optional argument

Node/SatNode instvar drophead_

Node/SatNode instproc set_uplink {chan}

Node/SatNode instvar uplink_

Node/SatNode instproc set_downlink {chan}

Node/SatNode instvar downlink_

Node/SatNode instproc attach-to-outlink {chan {index 0} }
Attaches channel to the phy indexed by "index" (by default, the first one)

Node/SatNode instproc attach-to-inlink { chan {index 0}}
Attaches channel to the phy indexed by "index" (by default, the first one)

Node/SatNode instproc interface-errormodel { em { index 0 } }
Attaches error model to interface "index" (by default, the first one)

Node/SatNode instvar em_

Node/SatNode instproc create-ragent {}
Create a network interface (for one uplink and downlink), add routing agent At least one interface must be created before routing agent is added

Node/SatNode instproc trace-all-satlinks {f}
All satlinks should have an interface indexed by nifs_

Node/SatNode instvar enqT_

Node/SatNode instvar rcvT_

Node/SatNode instproc trace-outlink-queue {f {index_ 0} }
Set up trace objects around first output queue for packets destined to node

Node/SatNode instvar id_

Node/SatNode instvar deqT_

Node/SatNode instvar drpT_

Node/SatNode instproc trace-inlink-queue {f {index_ 0} }
Trace element between mac and ll tracing packets between node and node

Node/SatNode instvar errT_


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

Adapted for the NS documentation page

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de