Lines Matching refs:m_Socket

487 	pSocket->m_Socket = Socket;  in __osl_createSocketImpl()
1777 pSocket->m_Socket= socket(FAMILY_TO_NATIVE(Family), in osl_createSocket()
1782 if(pSocket->m_Socket == OSL_INVALID_SOCKET) in osl_createSocket()
1794 if ((Flags = fcntl(pSocket->m_Socket, F_GETFD, 0)) != -1) in osl_createSocket()
1797 if (fcntl(pSocket->m_Socket, F_SETFD, Flags) == -1) in osl_createSocket()
1854 nFD = pSocket->m_Socket; in osl_closeSocket()
1859 pSocket->m_Socket = OSL_INVALID_SOCKET; in osl_closeSocket()
1922 pSocket->m_Socket = OSL_INVALID_SOCKET; in osl_closeSocket()
1942 if (getsockname(pSocket->m_Socket, &Addr, &AddrLen) == OSL_SOCKET_ERROR) in osl_getLocalAddrOfSocket()
1966 if(getpeername(pSocket->m_Socket, &Addr, &AddrLen) == OSL_SOCKET_ERROR) in osl_getPeerAddrOfSocket()
1990 nRet = bind(pSocket->m_Socket, &(pAddr->m_sockaddr), sizeof(struct sockaddr)); in osl_bindAddrToSocket()
2018 nRet = listen(pSocket->m_Socket, in osl_listenOnSocket()
2056 if (connect(pSocket->m_Socket, in osl_connectSocketTo()
2077 if(connect(pSocket->m_Socket, in osl_connectSocketTo()
2105 FD_SET(pSocket->m_Socket, &WriteSet); in osl_connectSocketTo()
2106 FD_SET(pSocket->m_Socket, &ExcptSet); in osl_connectSocketTo()
2117 ReadyHandles= select(pSocket->m_Socket+1, in osl_connectSocketTo()
2125 if ( FD_ISSET(pSocket->m_Socket, &WriteSet ) ) in osl_connectSocketTo()
2132 nSockOpt = getsockopt ( pSocket->m_Socket, SOL_SOCKET, SO_ERROR, in osl_connectSocketTo()
2201 Connection = accept(pSocket->m_Socket, &Addr, &AddrLen); in osl_acceptConnectionOnSocket()
2252 pConnectionSockImpl->m_Socket = Connection; in osl_acceptConnectionOnSocket()
2285 nRead = recv(pSocket->m_Socket, in osl_receiveSocket()
2332 nRead = recvfrom(pSocket->m_Socket, in osl_receiveFromSocket()
2374 nWritten = send(pSocket->m_Socket, in osl_sendSocket()
2425 nWritten = sendto(pSocket->m_Socket, in osl_sendToSocket()
2534 fds.fd = pSocket->m_Socket; in __osl_socket_poll()
2581 FD_SET(pSocket->m_Socket, &fds); in __osl_socket_poll()
2591 pSocket->m_Socket + 1, in __osl_socket_poll()
2610 return (FD_ISSET(pSocket->m_Socket, &fds) ? sal_True : sal_False); in __osl_socket_poll()
2679 nRet=shutdown(pSocket->m_Socket, DIRECTION_TO_NATIVE(Direction)); in osl_shutdownSocket()
2708 if(getsockopt(pSocket->m_Socket, in osl_getSocketOption()
2740 nRet = setsockopt(pSocket->m_Socket, in osl_setSocketOption()
2772 flags = fcntl(pSocket->m_Socket, F_GETFL, 0); in osl_enableNonBlockingMode()
2779 nRet = fcntl(pSocket->m_Socket, F_SETFL, flags); in osl_enableNonBlockingMode()
2805 flags = fcntl(pSocket->m_Socket, F_GETFL, 0); in osl_isNonBlockingMode()
2829 if(getsockopt(pSocket->m_Socket, in osl_getSocketType()
2964 if(pSocket->m_Socket > pSet->m_MaxHandle) in osl_addToSocketSet()
2965 pSet->m_MaxHandle= pSocket->m_Socket; in osl_addToSocketSet()
2966 FD_SET(pSocket->m_Socket, &pSet->m_Set); in osl_addToSocketSet()
2988 if(pSocket->m_Socket == pSet->m_MaxHandle) in osl_removeFromSocketSet()
2999 FD_CLR(pSocket->m_Socket, &pSet->m_Set); in osl_removeFromSocketSet()
3018 return (FD_ISSET(pSocket->m_Socket, &pSet->m_Set) != 0); in osl_isInSocketSet()