#include <sstream>
#include <fstream>
#include <math.h>
#include "ns3/core-module.h"
#include "ns3/network-module.h"
#include "ns3/internet-module.h"
#include "ns3/mobility-module.h"
#include "ns3/wifi-module.h"
#include "ns3/applications-module.h"
#include "ns3/stats-module.h"
#include "ns3/flow-monitor-module.h"
Go to the source code of this file.
Classes | |
class | NodeStatistics |
Functions | |
void | PowerCallback (std::string path, uint8_t power, Mac48Address dest) |
void | RateCallback (std::string path, uint32_t rate, Mac48Address dest) |
Variables | |
static const uint32_t | packetSize = 1420 |
void PowerCallback | ( | std::string | path, |
uint8_t | power, | ||
Mac48Address | dest | ||
) |
Definition at line 287 of file power-adaptation-distance.cc.
References ns3::Simulator::Now(), and NS_LOG_INFO.
void RateCallback | ( | std::string | path, |
uint32_t | rate, | ||
Mac48Address | dest | ||
) |
Definition at line 292 of file power-adaptation-distance.cc.
References ns3::Simulator::Now(), and NS_LOG_INFO.
|
static |
Definition at line 107 of file power-adaptation-distance.cc.
Referenced by ns3::FlowProbe::AddPacketDropStats(), ns3::FlowProbe::AddPacketStats(), ns3::SimpleOfdmWimaxPhy::ConvertBitsToBurst(), ns3::RadioBearerStatsCalculator::DlRxPdu(), ns3::RadioBearerStatsCalculator::DlTxPdu(), ns3::SixLowPanNetDevice::DoFragmentation(), SixlowpanFragmentationTest::DoRun(), Ipv4FragmentationTest::DoRun(), Ipv6FragmentationTest::DoRun(), ns3::SixLowPanNetDevice::ProcessFragment(), ns3::NscTcpL4Protocol::Receive(), ns3::dsdv::RoutingProtocol::RecvDsdv(), ns3::FlowMonitor::ReportDrop(), ns3::FlowMonitor::ReportFirstTx(), ns3::FlowMonitor::ReportLastRx(), ns3::UdpTraceClient::SendPacket(), AnnexC_TestCase::SendPacket(), ns3::SixLowPanNetDevice::Fragments::SetPacketSize(), MyApp::Setup(), SimpleSource::Setup(), NodeStatistics::SetupPhy(), ns3::RadioBearerStatsCalculator::UlRxPdu(), and ns3::RadioBearerStatsCalculator::UlTxPdu().