SimGrid
3.13
Versatile Simulation of Distributed Systems
|
#include <unordered_set>
#include "ns3/core-module.h"
#include "ns3/node.h"
#include "ns3/ns3_interface.h"
#include "ns3/ns3_simulator.h"
#include "src/surf/network_ns3.hpp"
#include "src/surf/HostImpl.hpp"
#include "src/surf/surf_private.h"
#include "simgrid/sg_config.h"
#include "src/instr/instr_private.h"
#include "simgrid/s4u/As.hpp"
#include "src/surf/xml/platf.hpp"
Namespaces | |
simgrid | |
simgrid::surf | |
Functions | |
XBT_LOG_NEW_DEFAULT_SUBCATEGORY (ns3, surf,"Logging specific to the SURF network NS3 module") | |
static void | ns3_add_host (simgrid::s4u::Host &host) |
static void | ns3_add_netcard (simgrid::surf::NetCard *netcard) |
static void | parse_ns3_add_cluster (sg_platf_cluster_cbarg_t cluster) |
static void | create_ns3_topology (void) |
void | surf_network_model_init_NS3 () |
void | ns3_simulator (double maxSeconds) |
void | ns3_create_flow (const char *a, const char *b, double startTime, u_int32_t TotalBytes, simgrid::surf::NetworkNS3Action *action) |
void | ns3_initialize (const char *TcpProtocol) |
void * | ns3_add_host_cluster (const char *id) |
void | ns3_add_cluster (char *bw, char *lat, const char *id) |
static char * | transformIpv4Address (ns3::Ipv4Address from) |
void | ns3_add_link (int src, int dst, char *bw, char *lat) |
Variables | |
int | NS3_EXTENSION_ID |
xbt_dynar_t | IPV4addr = xbt_dynar_new(sizeof(char*),free) |
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 |
XBT_LOG_NEW_DEFAULT_SUBCATEGORY | ( | ns3 | , |
surf | , | ||
"Logging specific to the SURF network NS3 module" | |||
) |
|
static |
|
static |
|
static |
void surf_network_model_init_NS3 | ( | ) |
void ns3_simulator | ( | double | maxSeconds | ) |
void ns3_create_flow | ( | const char * | a, |
const char * | b, | ||
double | startTime, | ||
u_int32_t | TotalBytes, | ||
simgrid::surf::NetworkNS3Action * | action | ||
) |
void ns3_initialize | ( | const char * | TcpProtocol | ) |
void* ns3_add_host_cluster | ( | const char * | id | ) |
void ns3_add_cluster | ( | char * | bw, |
char * | lat, | ||
const char * | id | ||
) |
|
static |
void ns3_add_link | ( | int | src, |
int | dst, | ||
char * | bw, | ||
char * | lat | ||
) |
int NS3_EXTENSION_ID |
xbt_dynar_t IPV4addr = xbt_dynar_new(sizeof(char*),free) |
xbt_dict_t flowFromSock |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |