Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Check for failed links on back_route when crosstraffic is activated
[simgrid.git] / src / surf / ns3 / ns3_simulator.h
index 1335f02..aab3a04 100644 (file)
@@ -10,6 +10,7 @@
 #ifdef __cplusplus
 
 #include "ns3/core-module.h"
+#include "my-point-to-point-helper.h"
 
 #ifdef _NS3_3_10
        /*NS3 3.10*/
@@ -29,6 +30,7 @@
        #include "ns3/point-to-point-helper.h"
        #include "ns3/packet-sink-helper.h"
        #include "ns3/inet-socket-address.h"
+       #include "ns3/tcp-socket-factory.h"
 #endif
 
 using namespace ns3;
@@ -58,8 +60,7 @@ public:
                                                const char *addr,
                                                uint32_t TotalBytes,
                                                void * action);
-       void simulator_stop(double min);
-       void simulator_start(void);
+       void simulator_start(double min);
        void* get_action_from_socket(void *socket);
        double get_remains_from_socket(void *socket);
        double get_sent_from_socket(void *socket);