Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[NS3] adding bufferedBytes variable to MySocket structure (replaces old sentBytes)
[simgrid.git] / src / surf / ns3 / ns3_simulator.h
index bd08513..484a49f 100644 (file)
@@ -21,12 +21,13 @@ using namespace ns3;
 using namespace std;
 
 struct MySocket{
-       uint32_t sentBytes;
-       uint32_t remaining;
-       uint32_t TotalBytes;
-       uint32_t last_amount_sent;
-       char finished;
-       void* action;
+  uint32_t bufferedBytes;
+  uint32_t sentBytes;
+  uint32_t remaining;
+  uint32_t TotalBytes;
+  uint32_t last_amount_sent;
+  char finished;
+  void* action;
 };
 
 //Simulator s;