Home
last modified time | relevance | path

Searched refs:pHostAddr (Results 1 – 2 of 2) sorted by relevance

/aoo41x/main/sal/osl/unx/
H A Dsocket.c1179 oslHostAddr pHostAddr; in osl_psz_createHostAddr() local
1193 pHostAddr= (oslHostAddr) malloc(sizeof(struct oslHostAddrImpl)); in osl_psz_createHostAddr()
1194 OSL_ASSERT(pHostAddr); in osl_psz_createHostAddr()
1195 if (pHostAddr == NULL) in osl_psz_createHostAddr()
1201 pHostAddr->pHostName= cn; in osl_psz_createHostAddr()
1202 pHostAddr->pSockAddr= osl_copySocketAddr( pAddr ); in osl_psz_createHostAddr()
1204 return pHostAddr; in osl_psz_createHostAddr()
1643 oslHostAddr pHostAddr= (oslHostAddr )osl_createHostAddrByAddr(pAddr); in osl_psz_getHostnameOfSocketAddr() local
1645 if (pHostAddr) in osl_psz_getHostnameOfSocketAddr()
1647 strncpy(pBuffer, pHostAddr->pHostName, BufferSize); in osl_psz_getHostnameOfSocketAddr()
[all …]
/aoo41x/main/sal/osl/os2/
H A Dsocket.c1199 oslHostAddr pHostAddr; in osl_psz_createHostAddr() local
1213 pHostAddr= (oslHostAddr) malloc(sizeof(struct oslHostAddrImpl)); in osl_psz_createHostAddr()
1214 OSL_ASSERT(pHostAddr); in osl_psz_createHostAddr()
1221 pHostAddr->pHostName= cn; in osl_psz_createHostAddr()
1222 pHostAddr->pSockAddr= osl_copySocketAddr( pAddr ); in osl_psz_createHostAddr()
1224 return pHostAddr; in osl_psz_createHostAddr()
1664 oslHostAddr pHostAddr= (oslHostAddr )osl_createHostAddrByAddr(pAddr); in osl_psz_getHostnameOfSocketAddr() local
1666 if (pHostAddr) in osl_psz_getHostnameOfSocketAddr()
1668 strncpy(pBuffer, pHostAddr->pHostName, BufferSize); in osl_psz_getHostnameOfSocketAddr()
1672 osl_destroyHostAddr(pHostAddr); in osl_psz_getHostnameOfSocketAddr()

Completed in 64 milliseconds