X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6a8d5cf4199454b5f811043c207d195107743e72..1ad312703f930cfbf1fbf5cb5c4c28d2db3c4268:/src/surf/ns3/ns3_simulator.hpp diff --git a/src/surf/ns3/ns3_simulator.hpp b/src/surf/ns3/ns3_simulator.hpp index 714ebfeaf9..3c508aa328 100644 --- a/src/surf/ns3/ns3_simulator.hpp +++ b/src/surf/ns3/ns3_simulator.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2018. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2020. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -21,12 +21,13 @@ public: explicit NetPointNs3(); int node_num; ns3::Ptr ns3_node_; + std::string ipv4_address_; }; XBT_PUBLIC void ns3_initialize(std::string TcpProtocol); XBT_PUBLIC void ns3_simulator(double max_seconds); -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); +XBT_PUBLIC void ns3_add_direct_route(NetPointNs3* src, NetPointNs3* dst, double bw, double lat, + simgrid::s4u::Link::SharingPolicy policy); class XBT_PRIVATE SgFlow { public: