1 /* Copyright (c) 2007, 2008, 2009, 2010. The SimGrid Team.
2 * All rights reserved. */
4 /* This program is free software; you can redistribute it and/or modify it
5 * under the terms of the license (GNU LGPL) which comes with this package. */
12 #include "ns3/core-module.h"
13 #include "ns3/helper-module.h"
14 #include "ns3/simulator-module.h"
15 #include "ns3/node-module.h"
16 #include "ns3/helper-module.h"
17 #include "ns3/global-routing-module.h"
18 #include "ns3/tcp-socket-factory.h"
24 uint32_t bufferedBytes;
28 uint32_t last_amount_sent;
41 void create_flow_NS3(Ptr<Node> src,
48 void simulator_stop(double min);
49 void simulator_start(void);
50 void* get_action_from_socket(void *socket);
51 double get_remains_from_socket(void *socket);
52 double get_last_amount_sent_from_socket(void *socket);
53 void reset_last_amount_sent_from_socket(void *socket);
54 char get_finished(void *socket);
57 #endif /* __cplusplus */