class SimpleLink : Link


Inheritance:


Public Fields

SimpleLink instvar attr_
SimpleLink instvar deqT_
SimpleLink instvar drophead_
SimpleLink instvar drpT_
SimpleLink instvar dynamics_
SimpleLink instvar dynT_
SimpleLink instvar enqT_
SimpleLink instvar errmodule_
SimpleLink instvar fromNode_
SimpleLink instvar head_
SimpleLink instvar iif_
SimpleLink instvar lastSample_
SimpleLink instvar link_
SimpleLink instvar link_errmodule_
SimpleLink instvar ns_
SimpleLink instvar qMonitor_
SimpleLink instvar qtrace_
SimpleLink instvar queue_
SimpleLink instvar rcvT_
SimpleLink instvar sampleInterval_
SimpleLink instvar snoopDrop_
SimpleLink instvar snoopIn_
SimpleLink instvar snoopOut_
SimpleLink instvar toNode_
SimpleLink instvar trace_
SimpleLink instvar ttl_

Public Methods

SimpleLink instproc attach-monitors { insnoop outsnoop dropsnoop qmon }
SimpleLink instproc dump-namconfig {}
SimpleLink instproc dynamic {}
SimpleLink instproc enable-mcast {src dst}
SimpleLink instproc errormodule args
SimpleLink instproc init { src dst bw delay q {lltype "DelayLink"} }
SimpleLink instproc init-monitor { ns qtrace sampleInterval}
SimpleLink instproc insert-linkloss args
SimpleLink instproc linkfail-drop-trace args
SimpleLink instproc nam-trace { ns f }
SimpleLink instproc queue-sample-timeout { }
SimpleLink instproc sample-queue-size { }
SimpleLink instproc start-tracing { }
SimpleLink instproc trace { ns f {op ""} }
SimpleLink instproc trace-callback {ns cmd}
SimpleLink instproc trace-dynamics { ns f {op ""}}
SimpleLink instproc transit-drop-trace args
SimpleLink instproc ttl-drop-trace args

Inherited from Link:

Public Fields

Link instvar color_
Link instvar cost_
Link instvar oldColor_
Link instvar pktmon_

Public Methods

Link instproc add-pktmon pktmon
Link instproc add-to-head { connector }
Link instproc all-connectors op
Link instproc change-color { color }
Link instproc color { color }
Link instproc cost
Link instproc cost c
Link instproc down { }
Link instproc dst {}
Link instproc dump-nam-queueconfig {}
Link instproc get-attribute { name }
Link instproc get-color {}
Link instproc head {}
Link instproc if-label
Link instproc install-error {em}
Link instproc label { label }
Link instproc label-at { str }
Link instproc label-color { str }
Link instproc link {}
Link instproc orient { ori }
Link instproc queue {}
Link instproc queuePos { pos }
Link instproc src {}
Link instproc up
Link instproc up { }

Documentation

SimpleLink instproc init { src dst bw delay q {lltype "DelayLink"} }

SimpleLink instvar link_

SimpleLink instvar queue_

SimpleLink instvar head_

SimpleLink instvar toNode_

SimpleLink instvar ttl_

SimpleLink instvar drophead_

SimpleLink instproc enable-mcast {src dst}

SimpleLink instvar iif_

SimpleLink instproc nam-trace { ns f }
should be called after SimpleLink::trace

SimpleLink instvar enqT_

SimpleLink instvar deqT_

SimpleLink instvar drpT_

SimpleLink instvar rcvT_

SimpleLink instvar dynT_

SimpleLink instproc trace { ns f {op ""} }
Build trace objects for this link and update the object linkage

create nam trace files if op == "nam"

SimpleLink instvar fromNode_

SimpleLink instvar trace_

SimpleLink instvar dynamics_

SimpleLink instproc trace-dynamics { ns f {op ""}}

SimpleLink instproc ttl-drop-trace args

SimpleLink instproc transit-drop-trace args

SimpleLink instproc linkfail-drop-trace args

SimpleLink instproc trace-callback {ns cmd}
Trace to a callback function rather than a file.

SimpleLink instproc attach-monitors { insnoop outsnoop dropsnoop qmon }
like init-monitor, but allows for specification of more of the items attach-monitors $insnoop $inqm $outsnoop $outqm $dropsnoop $dropqm

SimpleLink instvar snoopIn_

SimpleLink instvar snoopOut_

SimpleLink instvar snoopDrop_

SimpleLink instvar qMonitor_

SimpleLink instproc init-monitor { ns qtrace sampleInterval}
Insert objects that allow us to monitor the queue size of this link. Return the name of the object that can be queried to determine the average queue size.

SimpleLink instvar ns_

SimpleLink instvar qtrace_

SimpleLink instvar sampleInterval_

SimpleLink instproc start-tracing { }

SimpleLink instproc queue-sample-timeout { }

SimpleLink instproc sample-queue-size { }

SimpleLink instvar lastSample_

SimpleLink instproc dynamic {}

SimpleLink instproc errormodule args
insert an "error module" BEFORE the queue point the em's drop-target to the drophead

SimpleLink instvar errmodule_

SimpleLink instproc insert-linkloss args
Insert a loss module AFTER the queue.

Must be inserted *RIGHT AFTER* the deqT_ (if present) or queue_, because nam can only visualize a packet drop if and only if it is on the link or in the queue

SimpleLink instvar link_errmodule_

SimpleLink instproc dump-namconfig {}
Support for link tracing XXX only SimpleLink (and its children) can dump nam config, because Link doesn't have bandwidth and delay.

SimpleLink instvar attr_


Direct child classes:
IntServLink
FQLink
CBQLink

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