-#include "network.hpp"
+/* Copyright (c) 2013-2014. 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. */
+
+#include "network_cm02.hpp"
#ifndef NETWORK_GTNETS_HPP_
#define NETWORK_GTNETS_HPP_
#include "event.h"
#include "routing-manual.h"
#include "red.h"
+#include "surf/gtnets/gtnets_topology.h"
xbt_dict_t network_card_ids;
class NetworkGTNetsModel;
typedef NetworkGTNetsModel *NetworkGTNetsModelPtr;
-class NetworkGTNetsLink;
-typedef NetworkGTNetsLink *NetworkGTNetsLinkPtr;
-
class NetworkGTNetsAction;
typedef NetworkGTNetsAction *NetworkGTNetsActionPtr;
map<int, TCPServer*> p_gtnetsServers;
map<int, TCPSend*> p_gtnetsClients;
- map<int, Linkp2p*> p_gtnetsLinks_;
+ map<int, GTLinkp2p*> p_gtnetsLinks_;
map<int, Node*> p_gtnetsNodes;
map<void*, int> p_gtnetsActionToFlow;
double m_latency;
double m_latCurrent;
-#ifdef HAVE_TRACING
int m_lastRemains;
-#endif
lmm_variable_t p_variable;
double m_rate;
int m_suspended;
-#ifdef HAVE_TRACING
RoutingEdgePtr src;
RoutingEdgePtr dst;
-#endif //HAVE_TRACING
};
#endif /* NETWORK_GTNETS_HPP_ */