[
Top
]
[
Contents
]
[
Index
]
[
?
]
Table of Contents
1. Introduction
1.1 For ns-2 Users
1.2 Contributing
1.3 Tutorial Organization
2. Resources
2.1 The Web
2.2 Mercurial
2.3 Waf
2.4 Development Environment
2.5 Socket Programming
3. Getting Started
3.1 Downloading ns-3
3.1.1 Downloading ns-3 Using Mercurial
3.1.2 Downloading ns-3 Using a Tarball
3.2 Building ns-3
3.2.1 Building with build.py
3.2.2 Building with Waf
3.3 Testing ns-3
3.4 Running a Script
4. Conceptual Overview
4.1 Key Abstractions
4.1.1 Node
4.1.2 Application
4.1.3 Channel
4.1.4 Net Device
4.1.5 Topology Helpers
4.2 A First ns-3 Script
4.2.1 Boilerplate
4.2.2 Module Includes
4.2.3 Ns3 Namespace
4.2.4 Logging
4.2.5 Main Function
4.2.6 Topology Helpers
4.2.6.1 NodeContainer
4.2.6.2 PointToPointHelper
4.2.6.3 NetDeviceContainer
4.2.6.4 InternetStackHelper
4.2.6.5 Ipv4AddressHelper
4.2.7 Applications
4.2.7.1 UdpEchoServerHelper
4.2.7.2 UdpEchoClientHelper
4.2.8 Simulator
4.2.9 Building Your Script
4.3 Ns-3 Source Code
5. Tweaking ns-3
5.1 Using the Logging Module
5.1.1 Logging Overview
5.1.2 Enabling Logging
5.1.3 Adding Logging to your Code
5.2 Using Command Line Arguments
5.2.1 Overriding Default Attributes
5.2.2 Hooking Your Own Values
5.3 Using the Tracing System
5.3.1 ASCII Tracing
5.3.1.1 Parsing Ascii Traces
5.3.2 PCAP Tracing
5.3.2.1 Reading output with tcpdump
5.3.2.2 Reading output with Wireshark
6. Building Topologies
6.1 Building a Bus Network Topology
6.2 Building a Wireless Network Topology
7. The Tracing System
7.1 Background
7.1.1 Blunt Instruments
7.2 Overview
7.2.1 A Simple Low-Level Example
7.2.1.1 Callbacks
7.2.1.2 Example Code
7.2.2 Using the Config Subsystem to Connect to Trace Sources
7.2.3 How to Find and Connect Trace Sources, and Discover Callback Signatures
7.2.4 What Trace Sources are Available?
7.2.5 What String do I use to Connect?
7.2.6 What Return Value and Formal Arguments?
7.2.6.1 Take my Word for It
7.2.6.2 The Hard Way
7.2.7 What About TracedValue?
7.3 A Real Example
7.3.1 Are There Trace Sources Available?
7.3.2 What Script to Use?
7.3.3 A Common Problem and Solution
7.3.4 A fifth.cc Walkthrough
7.3.4.1 How Applications are Started and Stopped
7.3.4.2 The MyApp Application
7.3.4.3 The Trace Sinks
7.3.4.4 The Main Program
7.3.5 Running fifth.cc
8. Closing Remarks
8.1 Futures
8.2 Closing
Index
[
Top
]
[
Contents
]
[
Index
]
[
?
]
This document was generated on
November 13, 2009
using
texi2html 1.82
.