Lines Matching refs:he
1081 static oslHostAddr _osl_hostentToHostAddr (const struct hostent *he) in _osl_hostentToHostAddr() argument
1087 if ((he == NULL) || (he->h_name == NULL) || (he->h_addr_list[0] == NULL)) in _osl_hostentToHostAddr()
1092 cn= (sal_Char *)malloc(strlen (he->h_name) + 1); in _osl_hostentToHostAddr()
1097 strcpy(cn, he->h_name); in _osl_hostentToHostAddr()
1100 if (_osl_isFullQualifiedDomainName(he->h_name)) in _osl_hostentToHostAddr()
1102 cn= (sal_Char *)malloc(strlen (he->h_name) + 1); in _osl_hostentToHostAddr()
1107 strcpy(cn, he->h_name); in _osl_hostentToHostAddr()
1111 cn =_osl_getFullQualifiedDomainName (he->h_name); in _osl_hostentToHostAddr()
1126 pSockAddr->m_sockaddr.sa_family= he->h_addrtype; in _osl_hostentToHostAddr()
1132 he->h_addr_list[0], in _osl_hostentToHostAddr()
1133 he->h_length); in _osl_hostentToHostAddr()
1258 struct hostent *he; in osl_psz_createHostAddrByName() local
1268 he = gethostbyname((sal_Char *)pszHostname); in osl_psz_createHostAddrByName()
1269 addr = _osl_hostentToHostAddr (he); in osl_psz_createHostAddrByName()
1289 struct hostent *he; in osl_createHostAddrByAddr() local
1294 he= gethostbyaddr((sal_Char *)&(sin->sin_addr), in osl_createHostAddrByAddr()
1297 return _osl_hostentToHostAddr (he); in osl_createHostAddrByAddr()