aggregate ip/tcp/udp functionality to existing Nodes.
More...
#include <internet-stack-helper.h>
List of all members.
Detailed Description
aggregate ip/tcp/udp functionality to existing Nodes.
Member Function Documentation
static void ns3::InternetStackHelper::EnablePcapAll |
( |
std::string |
filename |
) |
[static] |
- Parameters:
-
| filename | filename prefix to use for pcap files. |
Enable pcap output on each protocol instance which is of the ns3::Ipv4L3Protocol type. Both Tx and Rx events will be logged.
- Warning:
- If you perform multiple simulations in a single script, each iteration of the simulation will result in the trace files being overwritten. We don't attempt to anticipate what a user might actually want to do, so we leave it up to them. If you want to save any particular data, do so manually at inter-simulation time.
- Parameters:
-
For each node in the input container, aggregate implementations of the ns3::Ipv4, ns3::Udp, and, ns3::Tcp classes. The program will assert if this method is called on a container with a node that already has an Ipv4 object aggregated to it.
void ns3::InternetStackHelper::SetNscStack |
( |
std::string |
soname |
) |
|
- Parameters:
-
| soname | name of the shared library with the nsc tcp stack to use, e.g. 'liblinux2.6.26.so'. The empty string resets the InternetStackHelper to use the ns-3 models again. |
The documentation for this class was generated from the following file:
- src/helper/internet-stack-helper.h