#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-link-helper.h"#include "ns3/qkd-app-helper.h"#include "ns3/qkd-app-014.h"#include "ns3/network-module.h"#include "ns3/internet-apps-module.h"#include "ns3/netanim-module.h"
Include dependency graph for examples_qkd_etsi_014.cc:Go to the source code of this file.
Functions | |
| void | KeyGenerated (std::string context, const std::string &appId, const std::string &keyId, const uint32_t &amountInBits) |
| void | KeyServed (std::string context, const std::string &appId, const std::string &keyId, const uint32_t &amountInBits) |
| void | MissedSendPacketCall (std::string context, const std::string &appId, Ptr< const Packet > p) |
| void | Ratio () |
| void | ReceivedPacket (std::string context, const std::string &appId, Ptr< const Packet > p) |
| void | ReceivedPacketFromKMS (std::string context, const std::string &appId, Ptr< const Packet > p) |
| void | ReceivedPacketSig (std::string context, const std::string &appId, Ptr< const Packet > p) |
| void | SentPacket (std::string context, const std::string &appId, Ptr< const Packet > p) |
| void | SentPacketSig (std::string context, const std::string &appId, Ptr< const Packet > p) |
| void | SentPacketToKMS (std::string context, const std::string &appId, Ptr< const Packet > p) |
Variables | |
| std::map< std::string, std::pair< uint32_t, uint32_t > > | m_dataAppReveived |
| std::map< std::string, std::pair< uint32_t, uint32_t > > | m_dataAppSent |
| std::map< std::string, std::pair< uint32_t, uint32_t > > | m_dataKmReceived |
| std::map< std::string, std::pair< uint32_t, uint32_t > > | m_dataKmSent |
| std::map< std::string, std::pair< uint32_t, uint32_t > > | m_dataSigReceived |
| std::map< std::string, std::pair< uint32_t, uint32_t > > | m_dataSigSent |
| std::map< std::string, std::map< std::string, uint32_t > > | m_generatedKeys |
| std::map< std::string, uint32_t > | m_missedSendPacketCalls |
| std::map< std::string, std::map< std::string, uint32_t > > | m_servedKeys |
| uint32_t | showKeyAdded = 0 |
| uint32_t | showKeyServed = 0 |
| void KeyGenerated | ( | std::string | context, |
| const std::string & | appId, | ||
| const std::string & | keyId, | ||
| const uint32_t & | amountInBits | ||
| ) |
Definition at line 64 of file examples_qkd_etsi_014.cc.
References ns3::Create(), and m_generatedKeys.
Here is the call graph for this function:| void KeyServed | ( | std::string | context, |
| const std::string & | appId, | ||
| const std::string & | keyId, | ||
| const uint32_t & | amountInBits | ||
| ) |
Definition at line 70 of file examples_qkd_etsi_014.cc.
References ns3::Create(), and m_servedKeys.
Here is the call graph for this function:Definition at line 87 of file examples_qkd_etsi_014.cc.
References ns3::Create(), and m_missedSendPacketCalls.
Here is the call graph for this function:| void Ratio | ( | ) |
Definition at line 157 of file examples_qkd_etsi_014.cc.
References ns3::Create(), m_dataAppReveived, m_dataAppSent, m_dataKmReceived, m_dataKmSent, m_dataSigReceived, m_dataSigSent, m_generatedKeys, m_missedSendPacketCalls, and m_servedKeys.
Here is the call graph for this function:Definition at line 97 of file examples_qkd_etsi_014.cc.
References ns3::Create(), and m_dataAppReveived.
Here is the call graph for this function:| void ReceivedPacketFromKMS | ( | std::string | context, |
| const std::string & | appId, | ||
| Ptr< const Packet > | p | ||
| ) |
Definition at line 145 of file examples_qkd_etsi_014.cc.
References ns3::Create(), and m_dataKmReceived.
Here is the call graph for this function:Definition at line 121 of file examples_qkd_etsi_014.cc.
References ns3::Create(), and m_dataSigReceived.
Here is the call graph for this function:Definition at line 76 of file examples_qkd_etsi_014.cc.
References ns3::Create(), and m_dataAppSent.
Here is the call graph for this function:Definition at line 109 of file examples_qkd_etsi_014.cc.
References ns3::Create(), and m_dataSigSent.
Here is the call graph for this function:Definition at line 133 of file examples_qkd_etsi_014.cc.
References ns3::Create(), and m_dataKmSent.
Here is the call graph for this function:Definition at line 56 of file examples_qkd_etsi_014.cc.
Referenced by Ratio(), and ReceivedPacket().
Definition at line 55 of file examples_qkd_etsi_014.cc.
Referenced by Ratio(), and SentPacket().
Definition at line 60 of file examples_qkd_etsi_014.cc.
Referenced by Ratio(), and ReceivedPacketFromKMS().
Definition at line 59 of file examples_qkd_etsi_014.cc.
Referenced by Ratio(), and SentPacketToKMS().
Definition at line 58 of file examples_qkd_etsi_014.cc.
Referenced by Ratio(), and ReceivedPacketSig().
Definition at line 57 of file examples_qkd_etsi_014.cc.
Referenced by Ratio(), and SentPacketSig().
| std::map<std::string, std::map<std::string, uint32_t> > m_generatedKeys |
Definition at line 52 of file examples_qkd_etsi_014.cc.
Referenced by KeyGenerated(), and Ratio().
| std::map<std::string, uint32_t> m_missedSendPacketCalls |
Definition at line 61 of file examples_qkd_etsi_014.cc.
Referenced by MissedSendPacketCall(), and Ratio().
| std::map<std::string, std::map<std::string, uint32_t> > m_servedKeys |
Definition at line 53 of file examples_qkd_etsi_014.cc.
Referenced by KeyServed(), and Ratio().
| uint32_t showKeyAdded = 0 |
Definition at line 49 of file examples_qkd_etsi_014.cc.
| uint32_t showKeyServed = 0 |
Definition at line 50 of file examples_qkd_etsi_014.cc.