|
SimGrid
3.18
Versatile Simulation of Distributed Systems
|
#include <string>#include <unordered_set>#include "xbt/config.hpp"#include "xbt/string.hpp"#include "xbt/utility.hpp"#include "ns3/core-module.h"#include "ns3/node.h"#include "network_ns3.hpp"#include "ns3/ns3_simulator.hpp"#include "src/instr/instr_private.hpp"#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 (ClusterCreationArgs *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, u_int32_t TotalBytes, simgrid::surf::NetworkNS3Action *action) |
| void | ns3_initialize (const char *TcpProtocol) |
| void | ns3_add_cluster (const char *id, double bw, double lat) |
| static std::string | transformIpv4Address (ns3::Ipv4Address from) |
| void | ns3_add_link (NetPointNs3 *src, NetPointNs3 *dst, double bw, double lat) |
Variables | |
| std::vector< std::string > | IPV4addr |
| std::map< std::string, SgFlow * > | 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, | ||
| u_int32_t | TotalBytes, | ||
| simgrid::surf::NetworkNS3Action * | action | ||
| ) |
| void ns3_initialize | ( | const char * | TcpProtocol | ) |
| void ns3_add_cluster | ( | const char * | id, |
| double | bw, | ||
| double | lat | ||
| ) |
|
static |
| void ns3_add_link | ( | NetPointNs3 * | src, |
| NetPointNs3 * | dst, | ||
| double | bw, | ||
| double | lat | ||
| ) |
| std::vector<std::string> IPV4addr |
| std::map<std::string, SgFlow*> flowFromSock |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |