#include <ns3/adhoc-aloha-noack-ideal-phy-helper.h>
#include <ns3/applications-module.h>
#include <ns3/core-module.h>
#include <ns3/friis-spectrum-propagation-loss.h>
#include <ns3/ism-spectrum-value-helper.h>
#include <ns3/log.h>
#include <ns3/mobility-module.h>
#include <ns3/network-module.h>
#include <ns3/propagation-delay-model.h>
#include <ns3/single-model-spectrum-channel.h>
#include <ns3/spectrum-analyzer.h>
#include <ns3/spectrum-helper.h>
#include <ns3/spectrum-model-300kHz-300GHz-log.h>
#include <ns3/spectrum-model-ism2400MHz-res1MHz.h>
#include <ns3/waveform-generator.h>
#include <iostream>
#include <string>
Go to the source code of this file.
Functions | |
void | PhyRxEndErrorTrace (std::string context, Ptr< const Packet > p) |
PHY end error RX trace. | |
void | PhyRxEndOkTrace (std::string context, Ptr< const Packet > p) |
PHY end OK RX trace. | |
void | PhyRxStartTrace (std::string context, Ptr< const Packet > p) |
PHY start RX trace. | |
void | PhyTxEndTrace (std::string context, Ptr< const Packet > p) |
PHY end TX trace. | |
void | PhyTxStartTrace (std::string context, Ptr< const Packet > p) |
PHY start TX trace. | |
void | ReceivePacket (Ptr< Socket > socket) |
Receive callback. | |
Ptr< Socket > | SetupPacketReceive (Ptr< Node > node) |
Create a socket and prepare it for packet reception. | |
Variables | |
static bool | g_verbose = false |
True for verbose output. | |
PHY end error RX trace.
context | The context. |
p | The packet. |
Definition at line 102 of file adhoc-aloha-ideal-phy.cc.
References g_verbose.
PHY end OK RX trace.
context | The context. |
p | The packet. |
Definition at line 87 of file adhoc-aloha-ideal-phy.cc.
References g_verbose.
PHY start RX trace.
context | The context. |
p | The packet. |
Definition at line 72 of file adhoc-aloha-ideal-phy.cc.
References g_verbose.
PHY end TX trace.
context | The context. |
p | The packet. |
Definition at line 57 of file adhoc-aloha-ideal-phy.cc.
References g_verbose.
PHY start TX trace.
context | The context. |
p | The packet. |
Definition at line 42 of file adhoc-aloha-ideal-phy.cc.
References g_verbose.
Receive callback.
socket | The receiving socket. |
Definition at line 116 of file adhoc-aloha-ideal-phy.cc.
References g_verbose.
Referenced by SetupPacketReceive().
Create a socket and prepare it for packet reception.
node | The node. |
Definition at line 137 of file adhoc-aloha-ideal-phy.cc.
References ns3::Socket::CreateSocket(), ns3::TypeId::LookupByName(), ns3::MakeCallback(), ReceivePacket(), and sink.
|
static |
True for verbose output.
Definition at line 33 of file adhoc-aloha-ideal-phy.cc.
Referenced by PhyRxEndErrorTrace(), PhyRxEndOkTrace(), PhyRxStartTrace(), PhyTxEndTrace(), PhyTxStartTrace(), and ReceivePacket().