1 /* Copyright (c) 2007-2016. The SimGrid Team. All rights reserved. */
3 /* This program is free software; you can redistribute it and/or modify it
4 * under the terms of the license (GNU LGPL) which comes with this package. */
6 #ifndef _NS3_INTERFACE_H
7 #define _NS3_INTERFACE_H
9 #include <simgrid/s4u/host.hpp>
13 class NetworkNS3Action;
25 XBT_PUBLIC(void) ns3_initialize(const char* TcpProtocol);
27 ns3_create_flow(sg_host_t src, sg_host_t dst, double start, u_int32_t TotalBytes,
28 simgrid::surf::NetworkNS3Action* action);
29 XBT_PUBLIC(void) ns3_simulator(double maxSeconds);
30 XBT_PUBLIC(void *) ns3_add_router(const char * id);
31 XBT_PUBLIC(void) ns3_add_link(int src, int dst, char * bw,char * lat);
32 XBT_PUBLIC(void) ns3_add_cluster(const char* id, char* bw, char* lat);