A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make NetCards extendable, and use this for NS3 extension
[simgrid.git]
/
src
/
surf
/
ns3
/
ns3_interface.h
diff --git
a/src/surf/ns3/ns3_interface.h
b/src/surf/ns3/ns3_interface.h
index
5445afa
..
215d6d8
100644
(file)
--- a/
src/surf/ns3/ns3_interface.h
+++ b/
src/surf/ns3/ns3_interface.h
@@
-14,9
+14,11
@@
namespace simgrid{
}
}
-class
Host
Ns3 {
+class
NetCard
Ns3 {
public:
- explicit HostNs3();
+ static simgrid::xbt::Extension<simgrid::kernel::routing::NetCard, NetCardNs3> EXTENSION_ID;
+
+ explicit NetCardNs3();
int node_num;
};