Lines Matching refs:Addr
429 const sal_Char *pszHostname, const oslSocketAddr Addr);
435 const oslHostAddr Addr);
447 oslSocketAddr Addr, sal_Char *pBuffer, sal_uInt32 BufferSize);
450 oslSocketAddr Addr, sal_Char *pBuffer, sal_uInt32 BufferSize);
584 oslSocketAddr SAL_CALL osl_copySocketAddr(oslSocketAddr Addr) in osl_copySocketAddr() argument
587 if (Addr) in osl_copySocketAddr()
592 memcpy(&(pCopy->m_sockaddr),&(Addr->m_sockaddr), sizeof(struct sockaddr)); in osl_copySocketAddr()
697 oslSocketAddr Addr; in osl_createInetSocketAddr() local
711 Addr = osl_psz_createInetSocketAddr(pszDottedAddr, Port); in osl_createInetSocketAddr()
718 return Addr; in osl_createInetSocketAddr()
726 sal_Int32 Addr = inet_addr(pszDottedAddr); in osl_psz_createInetSocketAddr() local
727 if(Addr != -1) in osl_psz_createInetSocketAddr()
730 pAddr = __osl_createSocketAddrWithFamily( osl_Socket_FamilyInet, htons(Port) , Addr ); in osl_psz_createInetSocketAddr()
1168 const oslSocketAddr Addr) in osl_createHostAddr() argument
1184 HostAddr = osl_psz_createHostAddr(pszHostName,Addr); in osl_createHostAddr()
1320 const oslHostAddr Addr, in osl_getHostnameOfHostAddr() argument
1325 pHostname = osl_psz_getHostnameOfHostAddr(Addr); in osl_getHostnameOfHostAddr()
1416 oslHostAddr Addr; in osl_psz_getLocalHostname() local
1419 Addr = osl_psz_createHostAddrByName(LocalHostname); in osl_psz_getLocalHostname()
1421 if (Addr && (pStr = osl_psz_getHostnameOfHostAddr(Addr)) != NULL) in osl_psz_getLocalHostname()
1461 if (Addr) in osl_psz_getLocalHostname()
1462 osl_destroyHostAddr(Addr); in osl_psz_getLocalHostname()
1482 oslSocketAddr Addr; in osl_resolveHostname() local
1497 Addr = osl_psz_resolveHostname(pszHostName); in osl_resolveHostname()
1505 return Addr; in osl_resolveHostname()
1646 oslSocketResult SAL_CALL osl_getHostnameOfSocketAddr(oslSocketAddr Addr, rtl_uString **ustrHostname) in osl_getHostnameOfSocketAddr() argument
1653 Result = osl_psz_getHostnameOfSocketAddr(Addr,pszHostname,sizeof(pszHostname)); in osl_getHostnameOfSocketAddr()
1683 oslSocketResult SAL_CALL osl_getDottedInetAddrOfSocketAddr(oslSocketAddr Addr, rtl_uString **ustrDo… in osl_getDottedInetAddrOfSocketAddr() argument
1690 … Result = osl_psz_getDottedInetAddrOfSocketAddr(Addr,pszDottedInetAddr,sizeof(pszDottedInetAddr)); in osl_getDottedInetAddrOfSocketAddr()
1723 oslSocketResult SAL_CALL osl_getIpxNetNumber(oslSocketAddr Addr,
1729 pAddr= (struct sockaddr_ipx*)Addr;
1747 oslSocketResult SAL_CALL osl_getIpxNodeNumber(oslSocketAddr Addr,
1753 pAddr= (struct sockaddr_ipx*)Addr;
1771 sal_Int32 SAL_CALL osl_getIpxSocketNumber(oslSocketAddr Addr)
1773 struct sockaddr_ipx* pAddr= (struct sockaddr_ipx*)Addr;
1957 struct sockaddr Addr; in osl_getLocalAddrOfSocket() local
1965 if (getsockname(pSocket->m_Socket, &Addr, PTR_SIZE_T(AddrLen)) == OSL_SOCKET_ERROR) in osl_getLocalAddrOfSocket()
1968 pAddr = __osl_createSocketAddrFromSystem( &Addr ); in osl_getLocalAddrOfSocket()
1978 struct sockaddr Addr; in osl_getPeerAddrOfSocket() local
1989 if(getpeername(pSocket->m_Socket, &Addr, (int*)PTR_SIZE_T(AddrLen)) == OSL_SOCKET_ERROR) in osl_getPeerAddrOfSocket()
1994 return __osl_createSocketAddrFromSystem( &Addr ); in osl_getPeerAddrOfSocket()
2214 struct sockaddr Addr; in osl_acceptConnectionOnSocket() local
2239 Connection = accept(pSocket->m_Socket, &Addr, (int*)PTR_SIZE_T(AddrLen)); in osl_acceptConnectionOnSocket()
2270 *ppAddr= __osl_createSocketAddrFromSystem(&Addr); in osl_acceptConnectionOnSocket()