Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
No need to rebuild the parser if you're not a maintainer.
[simgrid.git] / src / surf / network_private.h
index e873b07..c9dd0b5 100644 (file)
@@ -21,7 +21,7 @@ typedef struct network_link {
                                   should start by this field!!! */
   /* Using this object with the public part of
      resource does not make sense */
-  const char *name;
+  char *name;
   double bw_current;
   tmgr_trace_event_t bw_event;
   double lat_current;
@@ -33,7 +33,7 @@ typedef struct network_link {
 
 
 typedef struct network_card {
-  const char *name;
+  char *name;
   int id;
 } s_network_card_t, *network_card_t;
 
@@ -42,6 +42,8 @@ typedef struct surf_action_network {
   double latency;
   double lat_current;
   lmm_variable_t variable;
+  double rate;
+  int suspended;
   network_card_t src;
   network_card_t dst;
 } s_surf_action_network_t, *surf_action_network_t;