12.07.2015 Views

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

30 Multicast Routing 25130.1 Multicast API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25130.1.1 Multicast Behavior Monitor Configur<strong>at</strong>ion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25230.1.2 Protocol Specific configur<strong>at</strong>ion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25330.2 Internals of Multicast Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25430.2.1 <strong>The</strong> classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25430.2.2 Exte<strong>ns</strong>io<strong>ns</strong> to other classes in <strong>ns</strong> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25630.2.3 Protocol Internals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25930.2.4 <strong>The</strong> internal variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26130.3 Comm<strong>and</strong>s <strong>at</strong> a glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26131 Network Dynamics 26431.1 <strong>The</strong> user level API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26431.2 <strong>The</strong> Internal Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26631.2.1 <strong>The</strong> class rtModel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26631.2.2 class rtQueue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26731.3 Interaction with Unicast Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26831.3.1 Exte<strong>ns</strong>io<strong>ns</strong> to Other Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26831.4 Deficencies in the Current Network Dynamics API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26931.5 Comm<strong>and</strong>s <strong>at</strong> a glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26932 Hierarchical Routing 27132.1 Overview of Hierarchical Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27132.2 Usage of Hierarchical routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27132.3 Cre<strong>at</strong>ing large Hierarchical topologies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27332.4 Hierarchical Routing with SessionSim . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27432.5 Comm<strong>and</strong>s <strong>at</strong> a glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274V Tra<strong>ns</strong>port 27533 UDP Agents 27633.1 UDP Agents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27633.2 Comm<strong>and</strong>s <strong>at</strong> a glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27734 TCP Agents 27834.1 One-Way TCP Senders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27934.1.1 <strong>The</strong> Base TCP Sender (Tahoe TCP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27934.1.2 Configur<strong>at</strong>ion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27934.1.3 Simple Configur<strong>at</strong>ion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27934.1.4 Other Configur<strong>at</strong>ion Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28034.1.5 Other One-Way TCP Senders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28134.2 TCP Receivers (sinks) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28134.2.1 <strong>The</strong> Base TCP Sink . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28234.2.2 Delayed-ACK TCP Sink . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28234.2.3 Sack TCP Sink . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28234.3 Two-Way TCP Agents (FullTcp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28234.3.1 Simple Configur<strong>at</strong>ion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28334.3.2 BayFullTcp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28434.4 Architecture <strong>and</strong> Internals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28434.5 Tracing TCP Dynamics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28634.6 One-Way Trace TCP Trace Dynamics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28634.7 One-Way Trace TCP Trace Dynamics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28634.8 Comm<strong>and</strong>s <strong>at</strong> a glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2867

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!