#include "ns3/applications-module.h"#include "ns3/core-module.h"#include "ns3/csma-module.h"#include "ns3/enum.h"#include "ns3/internet-apps-module.h"#include "ns3/internet-module.h"#include "ns3/mobility-module.h"#include "ns3/network-module.h"#include "ns3/point-to-point-module.h"#include "ns3/ssid.h"#include "ns3/wifi-helper.h"#include "ns3/yans-wifi-helper.h"Go to the source code of this file.
Functions | |
| void | SetInterfaceDown (Ptr< Node > node, uint32_t interface) |
| Brings down an IPv6 interface on a given node. | |
| void | SetInterfaceUp (Ptr< Node > node, uint32_t interface) |
| Brings up an IPv6 interface on a given node. | |
$ ./ns3 run "dhcp6-example [Program Options]"
--verbose --enablePcap Definition in file dhcp6-example.cc.
Brings down an IPv6 interface on a given node.
Retrieves the Ipv6 object aggregated to the specified node and marks the given interface as down, disabling it from sending or receiving packets.
| node | Pointer to the ns-3 Node whose interface will be set down. |
| interface | Index of the IPv6 interface to disable. |
Definition at line 96 of file dhcp6-example.cc.
Brings up an IPv6 interface on a given node.
Retrieves the Ipv6 object aggregated to the specified node and marks the given interface as up, enabling it to send and receive packets.
| node | Pointer to the ns-3 Node whose interface will be set up. |
| interface | Index of the IPv6 interface to enable. |
Definition at line 111 of file dhcp6-example.cc.
References SetUp().