Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot//simgrid/simgrid
[simgrid.git] / src / gras / Transport / transport_private.h
index bf2dd52..c74efd5 100644 (file)
@@ -70,14 +70,12 @@ typedef struct s_gras_socket {
   int recvd:1;                  /* true if the recvd_val field contains one byte of the stream (that we peek'ed to check the socket validity) */
   char recvd_val;               /* what we peeked from the socket, if any */
 
+  int refcount;                 /* refcounting on shared sockets */
+
   unsigned long int buf_size;   /* what to say to the OS. 
                                    Field here to remember it when accepting */
 
   int sd;
-  int port;                     /* port on this side */
-  int peer_port;                /* port on the other side */
-  char *peer_name;              /* hostname of the other side */
-  char *peer_proc;              /* process on the other side */
 
   void *data;                   /* plugin specific data */
 
@@ -115,4 +113,4 @@ void gras_trp_sg_setup(gras_trp_plugin_t plug);
 
 gras_socket_t gras_trp_buf_init_sock(gras_socket_t sock);
 
-#endif /* GRAS_TRP_PRIVATE_H */
+#endif                          /* GRAS_TRP_PRIVATE_H */