SimGrid
3.16
Versatile Simulation of Distributed Systems
|
#include <unordered_set>
#include "xbt/config.hpp"
#include "ns3/core-module.h"
#include "ns3/node.h"
#include "ns3/ns3_simulator.h"
#include "network_ns3.hpp"
#include "src/instr/instr_private.h"
#include "src/kernel/routing/NetPoint.hpp"
#include "simgrid/s4u/Engine.hpp"
#include "simgrid/s4u/NetZone.hpp"
Namespaces | |
simgrid | |
Alltoall Bruck. | |
simgrid::surf | |
Functions | |
XBT_LOG_NEW_DEFAULT_SUBCATEGORY (ns3, surf, "Logging specific to the SURF network NS3 module") | |
static void | clusterCreation_cb (sg_platf_cluster_cbarg_t cluster) |
static void | routeCreation_cb (bool symmetrical, simgrid::kernel::routing::NetPoint *src, simgrid::kernel::routing::NetPoint *dst, simgrid::kernel::routing::NetPoint *gw_src, simgrid::kernel::routing::NetPoint *gw_dst, std::vector< simgrid::surf::LinkImpl *> *link_list) |
static void | postparse_cb () |
void | surf_network_model_init_NS3 () |
Initializes the platform with the network model NS3. More... | |
void | ns3_simulator (double maxSeconds) |
void | ns3_create_flow (simgrid::s4u::Host *src, simgrid::s4u::Host *dst, double startTime, u_int32_t TotalBytes, simgrid::surf::NetworkNS3Action *action) |
void | ns3_initialize (const char *TcpProtocol) |
void | ns3_add_cluster (const char *id, char *bw, char *lat) |
static char * | transformIpv4Address (ns3::Ipv4Address from) |
void | ns3_add_link (NetPointNs3 *src, NetPointNs3 *dst, char *bw, char *lat) |
Variables | |
std::vector< char * > | IPV4addr |
xbt_dict_t | flowFromSock |
static ns3::InternetStackHelper | stack |
static ns3::NodeContainer | nodes |
static ns3::NodeContainer | Cluster_nodes |
static ns3::Ipv4InterfaceContainer | interfaces |
static int | number_of_nodes = 0 |
static int | number_of_clusters_nodes = 0 |
static int | number_of_links = 1 |
static int | number_of_networks = 1 |
static int | port_number = 1025 |
static simgrid::config::Flag< std::string > | ns3_tcp_model ("ns3/TcpModel", "The ns3 tcp model can be : NewReno or Reno or Tahoe", "default") |
XBT_LOG_NEW_DEFAULT_SUBCATEGORY | ( | ns3 | , |
surf | , | ||
"Logging specific to the SURF network NS3 module" | |||
) |
|
static |
|
static |
|
static |
void ns3_simulator | ( | double | maxSeconds | ) |
void ns3_create_flow | ( | simgrid::s4u::Host * | src, |
simgrid::s4u::Host * | dst, | ||
double | startTime, | ||
u_int32_t | TotalBytes, | ||
simgrid::surf::NetworkNS3Action * | action | ||
) |
void ns3_initialize | ( | const char * | TcpProtocol | ) |
void ns3_add_cluster | ( | const char * | id, |
char * | bw, | ||
char * | lat | ||
) |
|
static |
void ns3_add_link | ( | NetPointNs3 * | src, |
NetPointNs3 * | dst, | ||
char * | bw, | ||
char * | lat | ||
) |
std::vector<char*> IPV4addr |
xbt_dict_t flowFromSock |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |