X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6760cb07d6b57be16928d95339d71e57c4e24f36..4596d90b0c0f0453e4e24c67f3e28fc2bb0f8287:/src/gras/Transport/transport_private.h diff --git a/src/gras/Transport/transport_private.h b/src/gras/Transport/transport_private.h index bf2dd522ed..c74efd51ee 100644 --- a/src/gras/Transport/transport_private.h +++ b/src/gras/Transport/transport_private.h @@ -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 */