X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/76fd0d1cb81eb8ae046dd936025312e3d03288fb..416aad22db0fd7f20e563e7b8980a2a6f9e4a7c8:/src/gras/Transport/transport_private.h diff --git a/src/gras/Transport/transport_private.h b/src/gras/Transport/transport_private.h index ad0f55d2f7..c74efd51ee 100644 --- a/src/gras/Transport/transport_private.h +++ b/src/gras/Transport/transport_private.h @@ -70,6 +70,8 @@ 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 */