Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
ns3: kill dead prototypes
authorMartin Quinson <martin.quinson@loria.fr>
Mon, 5 Mar 2018 21:49:31 +0000 (22:49 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Tue, 6 Mar 2018 17:04:52 +0000 (18:04 +0100)
src/surf/network_ns3.cpp
src/surf/ns3/ns3_interface.hpp

index 8dac14b..bcdfb57 100644 (file)
@@ -310,7 +310,7 @@ NetworkNS3Action::NetworkNS3Action(Model* model, double totalBytes, s4u::Host* s
   xbt_assert(not addr.empty(), "Element %s is unknown to NS3. Is it connected to any one-hop link?",
              dst->pimpl_netpoint->getCname());
 
-  XBT_DEBUG("ns3_create_flow %.0f Bytes from %u to %u with Interface %s", totalBytes, node1, node2, addr.c_str());
+  XBT_DEBUG("ns3: Create flow of %.0f Bytes from %u to %u with Interface %s", totalBytes, node1, node2, addr.c_str());
   ns3::PacketSinkHelper sink("ns3::TcpSocketFactory", ns3::InetSocketAddress(ns3::Ipv4Address::GetAny(), port_number));
   sink.Install(dst_node);
 
index a8ea409..2d18e61 100644 (file)
@@ -29,10 +29,7 @@ public:
 
 XBT_PUBLIC(void) ns3_initialize(std::string TcpProtocol);
 extern "C" {
-XBT_PUBLIC(void)
-ns3_create_flow(sg_host_t src, sg_host_t dst, u_int32_t TotalBytes, simgrid::surf::NetworkNS3Action* action);
 XBT_PUBLIC(void) ns3_simulator(double maxSeconds);
-XBT_PUBLIC(void*) ns3_add_router(const char* id);
 XBT_PUBLIC(void) ns3_add_link(NetPointNs3* src, NetPointNs3* dst, double bw, double lat);
 XBT_PUBLIC(void) ns3_add_cluster(const char* id, double bw, double lat);
 }