#include <fstream>
#include "ns3/core-module.h"
#include "ns3/applications-module.h"
#include "ns3/internet-module.h"
#include "ns3/flow-monitor-module.h"
#include "ns3/mobility-module.h"
#include "ns3/point-to-point-module.h"
#include "ns3/gnuplot.h"
#include "ns3/qkd-helper.h"
#include "ns3/qkd-app-charging-helper.h"
#include "ns3/qkd-send.h"
#include "ns3/aodv-module.h"
#include "ns3/olsr-module.h"
#include "ns3/dsdv-module.h"
#include "ns3/network-module.h"
#include "ns3/fd-net-device-module.h"
#include "ns3/internet-apps-module.h"
Go to the source code of this file.
Functions | |
void | Ratio (uint32_t m_bytes_sent, uint32_t m_packets_sent) |
void | ReceivedPacket (std::string context, Ptr< const Packet > p, const Address &addr) |
void | SentPacket (std::string context, Ptr< const Packet > p) |
Variables | |
uint32_t | m_bytes_received = 0 |
uint32_t | m_bytes_sent = 0 |
uint32_t | m_bytes_total = 0 |
uint32_t | m_packets_received = 0 |
double | m_time = 0 |
void Ratio | ( | uint32_t | m_bytes_sent, |
uint32_t | m_packets_sent | ||
) |
Definition at line 106 of file qkd_channel_test.cc.
References ns3::ListPositionAllocator::Add(), ns3::Node::AddApplication(), ns3::QKDHelper::AddGraph(), ns3::Ipv4AddressHelper::Assign(), ns3::Config::Connect(), ns3::NodeContainer::Create(), ns3::Socket::CreateSocket(), ns3::Simulator::Destroy(), ns3::PacketMetadata::Enable(), ns3::PcapHelperForDevice::EnablePcapAll(), ns3::Packet::EnablePrinting(), ns3::NetDeviceContainer::Get(), ns3::NodeContainer::Get(), ns3::Ipv4InterfaceContainer::GetAddress(), ns3::Ipv4Address::GetAny(), ns3::UdpSocketFactory::GetTypeId(), i1i2, ns3::QKDSinkAppHelper::Install(), ns3::PointToPointHelper::Install(), ns3::InternetStackHelper::Install(), ns3::MobilityHelper::Install(), ns3::QKDHelper::InstallQKD(), ns3::QKDHelper::InstallQKDManager(), m_bytes_received, m_packets_received, ns3::MakeCallback(), third::mobility, sample-rng-plot::n, n1n2, NS_LOG_INFO, ns3::QKDHelper::PrintGraphs(), ReceivedPacket(), ns3::Simulator::Run(), ns3::Seconds(), SentPacket(), ns3::Ipv4AddressHelper::SetBase(), ns3::PointToPointHelper::SetChannelAttribute(), ns3::PointToPointHelper::SetDeviceAttribute(), ns3::MobilityHelper::SetMobilityModel(), ns3::MobilityHelper::SetPositionAllocator(), ns3::InternetStackHelper::SetRoutingHelper(), ns3::ApplicationContainer::Start(), ns3::Simulator::Stop(), and ns3::ApplicationContainer::Stop().
Definition at line 77 of file qkd_channel_test.cc.
References ns3::Packet::GetSize(), m_bytes_received, m_bytes_total, and m_packets_received.
Referenced by Ratio().
Definition at line 61 of file qkd_channel_test.cc.
References ns3::Packet::GetSize(), and m_bytes_sent.
Referenced by Ratio().
uint32_t m_bytes_received = 0 |
Definition at line 55 of file qkd_channel_test.cc.
Referenced by Ratio(), and ReceivedPacket().
uint32_t m_bytes_sent = 0 |
Definition at line 56 of file qkd_channel_test.cc.
Referenced by SentPacket().
uint32_t m_bytes_total = 0 |
Definition at line 54 of file qkd_channel_test.cc.
Referenced by ReceivedPacket().
uint32_t m_packets_received = 0 |
Definition at line 57 of file qkd_channel_test.cc.
Referenced by Ratio(), and ReceivedPacket().
double m_time = 0 |
Definition at line 58 of file qkd_channel_test.cc.
Referenced by AodvqRegressionTestSuite::AodvqRegressionTestSuite(), SampleEmitter::GetTime(), and SampleEmitter::Reschedule().