Give ns3::PacketSocket powers to ns3::Node. More...
#include "packet-socket-helper.h"
Public Member Functions | |
| void | Install (NodeContainer c) const |
| For each node in the provided container, aggregate an instance of a ns3::PacketSocketFactory. | |
| void | Install (Ptr< Node > node) const |
| Aggregate an instance of a ns3::PacketSocketFactory onto the provided node. | |
| void | Install (std::string nodeName) const |
| Aggregate an instance of a ns3::PacketSocketFactory onto the provided node. | |
Give ns3::PacketSocket powers to ns3::Node.
Definition at line 20 of file packet-socket-helper.h.
| void ns3::PacketSocketHelper::Install | ( | NodeContainer | c | ) | const |
For each node in the provided container, aggregate an instance of a ns3::PacketSocketFactory.
| c | NodeContainer of the set of nodes to aggregate the ns3::PacketSocketFactory on. |
Definition at line 18 of file packet-socket-helper.cc.
References ns3::Create(), and Install().
Here is the call graph for this function:Aggregate an instance of a ns3::PacketSocketFactory onto the provided node.
| node | Node on which to aggregate the ns3::PacketSocketFactory. |
Definition at line 27 of file packet-socket-helper.cc.
References ns3::Create().
Referenced by PacketSocketAppsTest::DoRun(), SpectrumIdealPhyTestCase::DoRun(), CsmaPacketSocketTestCase::DoRun(), BlockAckAggregationDisabledTest::DoRun(), PreservePacketsInAmpdus::DoRun(), WifiUseAvailBwTest::DoRun(), OfdmaAckSequenceTest::DoRun(), TestUnsupportedModulationReception::DoRun(), Bug730TestCase::DoRun(), QosFragmentationTestCase::DoRun(), Bug2222TestCase::DoRun(), DsssModulationTest::DoRun(), OrigBlockAckWindowStalled::DoSetup(), BackoffGenerationTest::DoSetup(), SendOnePacketTestCase::DoSetup(), MLOTestCase::DoSetup(), LinkRenameTestCase::DoSetup(), EmlsrOperationsTestBase::DoSetup(), GcrTestBase::DoSetup(), MultiLinkOperationsTestBase::DoSetup(), WifiRetransmitTest::DoSetup(), WifiTxStatsHelperTest::DoSetup(), Install(), Experiment::Run(), Experiment::Run(), NetAnimExperiment::Run(), Experiment::Run(), Experiment::Run(), and WifiChannelSwitchingTest::SendPacket().
Here is the call graph for this function:
Here is the caller graph for this function:| void ns3::PacketSocketHelper::Install | ( | std::string | nodeName | ) | const |
Aggregate an instance of a ns3::PacketSocketFactory onto the provided node.
| nodeName | The name of the node on which to aggregate the ns3::PacketSocketFactory. |
Definition at line 34 of file packet-socket-helper.cc.
References ns3::Create(), and Install().
Referenced by Install().
Here is the call graph for this function:
Here is the caller graph for this function: