#include "simgrid/link.h"
#include "simgrid/s4u/engine.hpp"
#include "simgrid/sg_config.h"
-#include "src/kernel/routing/NetCard.hpp"
+#include "src/kernel/routing/NetPoint.hpp"
#include "src/surf/network_interface.hpp"
#include "src/surf/surf_private.h"
#include "xbt/dict.h"
}
void STag_surfxml_router(){
- s_sg_platf_router_cbarg_t router;
- memset(&router, 0, sizeof(router));
-
- router.id = A_surfxml_router_id;
- router.coord = A_surfxml_router_coordinates;
-
- sg_platf_new_router(&router);
+ sg_platf_new_router(A_surfxml_router_id, A_surfxml_router_coordinates);
}
void ETag_surfxml_cluster(){