X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/272ccad1b68b6d9c17069f3c934886925bb15b5d..6107bfa22ce651ef87f9862000366be3a88fc6a5:/src/surf/surf_routing_private.h diff --git a/src/surf/surf_routing_private.h b/src/surf/surf_routing_private.h index 2172f7cd8b..112a13dea2 100644 --- a/src/surf/surf_routing_private.h +++ b/src/surf/surf_routing_private.h @@ -72,18 +72,19 @@ AS_t model_rulebased_create(void); /* create structures for rulebased routi /* ************************************************** */ /* ************** Cluster ROUTING **************** */ -AS_t model_cluster_create(void); /* create structures for cluster routing model */ +typedef struct { + s_as_t generic_routing; + void *backbone; +} s_as_cluster_t, *as_cluster_t; -/* Pass info from the cluster parser to the cluster routing */ -void surf_routing_cluster_add_backbone(AS_t as, void* bb); +AS_t model_cluster_create(void); /* create structures for cluster routing model */ /* ************************************************** */ /* ************** Vivaldi ROUTING **************** */ AS_t model_vivaldi_create(void); /* create structures for vivaldi routing model */ #define HOST_PEER(peername) bprintf("peer_%s", peername) #define ROUTER_PEER(peername) bprintf("router_%s", peername) -#define LINK_UP_PEER(peername) bprintf("link_%s_up", peername) -#define LINK_DOWN_PEER(peername) bprintf("link_%s_down", peername) +#define LINK_PEER(peername) bprintf("link_%s", peername) /* ************************************************************************** */ /* ********** Dijkstra & Dijkstra Cached ROUTING **************************** */