Lines Matching refs:m_Socket
487 pSocket->m_Socket = Socket; in __osl_createSocketImpl()
1798 pSocket->m_Socket= socket(FAMILY_TO_NATIVE(Family), in osl_createSocket()
1803 if(pSocket->m_Socket == OSL_INVALID_SOCKET) in osl_createSocket()
1815 if ((Flags = fcntl(pSocket->m_Socket, F_GETFD, 0)) != -1) in osl_createSocket()
1818 if (fcntl(pSocket->m_Socket, F_SETFD, Flags) == -1) in osl_createSocket()
1875 nFD = pSocket->m_Socket; in osl_closeSocket()
1877 pSocket->m_Socket = OSL_INVALID_SOCKET; in osl_closeSocket()
1938 pSocket->m_Socket = OSL_INVALID_SOCKET; in osl_closeSocket()
1965 if (getsockname(pSocket->m_Socket, &Addr, PTR_SIZE_T(AddrLen)) == OSL_SOCKET_ERROR) in osl_getLocalAddrOfSocket()
1989 if(getpeername(pSocket->m_Socket, &Addr, (int*)PTR_SIZE_T(AddrLen)) == OSL_SOCKET_ERROR) in osl_getPeerAddrOfSocket()
2013 nRet = bind(pSocket->m_Socket, &(pAddr->m_sockaddr), sizeof(struct sockaddr)); in osl_bindAddrToSocket()
2041 nRet = listen(pSocket->m_Socket, in osl_listenOnSocket()
2079 if (connect(pSocket->m_Socket, in osl_connectSocketTo()
2100 if(connect(pSocket->m_Socket, in osl_connectSocketTo()
2128 FD_SET(pSocket->m_Socket, &WriteSet); in osl_connectSocketTo()
2129 FD_SET(pSocket->m_Socket, &ExcptSet); in osl_connectSocketTo()
2140 ReadyHandles= select(pSocket->m_Socket+1, in osl_connectSocketTo()
2148 if ( FD_ISSET(pSocket->m_Socket, &WriteSet ) ) in osl_connectSocketTo()
2163 nSockOpt = getsockopt ( pSocket->m_Socket, SOL_SOCKET, SO_ERROR, in osl_connectSocketTo()
2239 Connection = accept(pSocket->m_Socket, &Addr, (int*)PTR_SIZE_T(AddrLen)); in osl_acceptConnectionOnSocket()
2290 pConnectionSockImpl->m_Socket = Connection; in osl_acceptConnectionOnSocket()
2323 nRead = recv(pSocket->m_Socket, in osl_receiveSocket()
2370 nRead = recvfrom(pSocket->m_Socket, in osl_receiveFromSocket()
2412 nWritten = send(pSocket->m_Socket, in osl_sendSocket()
2463 nWritten = sendto(pSocket->m_Socket, in osl_sendToSocket()
2569 fds.fd = pSocket->m_Socket; in __osl_socket_poll()
2613 FD_SET(pSocket->m_Socket, &fds); in __osl_socket_poll()
2623 pSocket->m_Socket + 1, in __osl_socket_poll()
2642 return (FD_ISSET(pSocket->m_Socket, &fds) ? sal_True : sal_False); in __osl_socket_poll()
2711 nRet=shutdown(pSocket->m_Socket, DIRECTION_TO_NATIVE(Direction)); in osl_shutdownSocket()
2738 if(getsockopt(pSocket->m_Socket, in osl_getSocketOption()
2770 nRet = setsockopt(pSocket->m_Socket, in osl_setSocketOption()
2802 flags = fcntl(pSocket->m_Socket, F_GETFL, 0); in osl_enableNonBlockingMode()
2809 nRet = fcntl(pSocket->m_Socket, F_SETFL, flags); in osl_enableNonBlockingMode()
2835 flags = fcntl(pSocket->m_Socket, F_GETFL, 0); in osl_isNonBlockingMode()
2859 if(getsockopt(pSocket->m_Socket, in osl_getSocketType()
2994 if(pSocket->m_Socket > pSet->m_MaxHandle) in osl_addToSocketSet()
2995 pSet->m_MaxHandle= pSocket->m_Socket; in osl_addToSocketSet()
2996 FD_SET(pSocket->m_Socket, &pSet->m_Set); in osl_addToSocketSet()
3018 if(pSocket->m_Socket == pSet->m_MaxHandle) in osl_removeFromSocketSet()
3029 FD_CLR(pSocket->m_Socket, &pSet->m_Set); in osl_removeFromSocketSet()
3048 return (FD_ISSET(pSocket->m_Socket, &pSet->m_Set) != 0); in osl_isInSocketSet()