return rv==0?PR_SUCCESS:PR_FAILURE;
_PR_MD_GETSOCKNAME(PRFileDesc *fd, PRNetAddr *addr, PRUint32 *len){    PRInt32 rv;    rv = getsockname((int)fd->secret->md.osfd, (struct sockaddr *)addr, (int *) len);    if (rv==0)        return PR_SUCCESS;    else {        _PR_MD_MAP_GETSOCKNAME_ERROR(sock_errno());        return PR_FAILURE;    }}