Node instproc init args
Node instvar np_
Node instvar id_
Node instvar agents_
Node instvar dmux_
Node instvar neighbor_
Node instvar rtsize_
Node instvar address_
Node instvar nodetype_
Node instvar multiPath_
Node instproc set-node-address { args }
Node instproc set-node-addressMIPBS { args }
Node instproc set-node-addressMIPMH { args }
Node instproc set-node-addressMobile { args }
Node instvar nifs_
Node instvar arptable_
Node instvar netif_
Node instvar mac_
Node instvar ifq_
Node instvar ll_
Node instvar X_
Node instvar Y_
Node instvar Z_
Node instproc set-node-addressHier {args}
Node instproc set-node-addressBase {args}
Node instproc mk-default-classifierMIPMH {}
Node instproc mk-default-classifierMIPBS {}
Node instproc mk-default-classifierBase {}
Node instproc mk-default-classifierHier {}
Node instvar classifiers_
Node instproc mk-default-classifierMobile {}
Node instproc split-addrstr addrstr
- splitting up address str: used by other non-hier classes
Node instproc mk-default-classifier {}
Node instvar classifier_
Node instproc enable-mcast sim
Node instvar multiclassifier_
Node instvar ns_
Node instvar switch_
Node instvar mcastproto_
Node instproc add-neighbor p
Node instproc incr-rtgtable-size {}
-
increase the routing table size counter - keeps track of rtg table
size for each node
Node instproc entry {}
Node instproc entry-NewMIPBS {}
Node instproc entry-NewMIPMH {}
Node instproc entry-NewBase {}
Node instproc entry-New {}
Node instproc entry-NewMobile {}
Node instproc add-route { dst target }
Node instproc get-nam-traceall {args}
Node instvar namtraceFile_
Node instproc id {}
Node instproc node-addr {}
Node instproc alloc-port { nullagent }
Node instproc attach { agent { port "" } }
-
Attach an agent to a node. Pick a port and
bind the agent to the port number.
Node instvar nullAgent_
Node instproc add-target {agent port}
-
add target to agent and add entry for port-id in port-dmux
Node instproc add-target-New {agent port}
Node instproc add-target-NewBase {agent port}
Node instproc add-target-NewHier {agent port}
Node instproc detach { agent nullagent }
Node instproc agent port
Node instproc reset {}
-
reset all agents attached to this node
Node instproc do-reset { }
Node instproc do-resetMobile {}
Node instvar imep_
Node instproc do-resetBase {}
Node instproc do-resetHier {}
Node instproc neighbors {}
-
Some helpers
Node instproc attachInterfaces ifs
-
Helpers for interface stuff
Node instvar ifaces_
Node instproc addInterface { iface }
Node instproc createInterface { num }
Node instproc getInterfaces {}
Node instproc getNode {}
Node instproc get-vif {}
Node instvar vif_
Node instproc addCorresHost {addr cw mtu maxcw wndopt }
Node instvar chaddrs_
Node instproc createTcpSession {dst}
Node instvar tcpSession_
Node instproc getTcpSession {dst}
Node instproc existsTcpSession {dst}
Node instproc init-routing rtObject
-
Node support for detailed dynamic routing
Node instvar routes_
Node instvar rtObject_
Node instproc rtObject
Node instproc add-routes {id ifs}
-
Node support for equal cost multi path routing
Node instvar mpathClsfr_
Node instproc delete-routes {id ifs nullagent}
Node instproc intf-changed { }
Node instproc add-target-NewMobile {agent port}
Node instvar toraDebug_
Node instproc add-interface { channel pmodel \
Node instproc agenttrace {tracefd}
Node instproc nodetrace { tracefd }
Node instproc install-defaulttarget {rcvT}
Node instproc install-defaulttarget-New {rcvT}
Node instproc install-defaulttarget-NewMobile {rcvT}
Node instproc install-defaulttarget-NewBase {rcvT}
Node instproc install-defaulttarget-NewMIPMH {rcvT}
Node instproc install-defaulttarget-NewMIPBS {rcvT}
Node instproc setPt { val }
- set receiving power
Node instproc setPr { val }
- set transmission power
Node instproc add-hroute { dst target }
Node instproc mip-call {ragent}
Node instproc tn {}
Node instproc addmac {mac}
- XXX this belongs in ns-node.tcl
Hook up the MACs together at a given Node
Node instvar machead_
Node instvar mactail_
Node instproc is-lan
Node instproc start-mcast {}
Node instvar mrtObject_
Node instproc getArbiter {}
Node instproc notify-mcast changes
Node instproc stop-mcast {}
Node instproc clear-caches {}
Node instvar Agents_
Node instvar replicator_
Node instproc dump-routes args
