Lines Matching refs:he
1072 static oslHostAddr _osl_hostentToHostAddr (const struct hostent *he) in _osl_hostentToHostAddr() argument
1079 if ((he == NULL) || (he->h_name == NULL) || (he->h_addr_list[0] == NULL)) in _osl_hostentToHostAddr()
1082 if (_osl_isFullQualifiedDomainName(he->h_name)) in _osl_hostentToHostAddr()
1084 cn= (sal_Char *)malloc(strlen (he->h_name) + 1); in _osl_hostentToHostAddr()
1089 strcpy(cn, he->h_name); in _osl_hostentToHostAddr()
1093 cn =_osl_getFullQualifiedDomainName (he->h_name); in _osl_hostentToHostAddr()
1107 pSockAddr->m_sockaddr.sa_family= he->h_addrtype; in _osl_hostentToHostAddr()
1113 he->h_addr_list[0], in _osl_hostentToHostAddr()
1114 he->h_length); in _osl_hostentToHostAddr()
1238 struct hostent *he; in osl_psz_createHostAddrByName() local
1248 he = gethostbyname((sal_Char *)pszHostname); in osl_psz_createHostAddrByName()
1249 addr = _osl_hostentToHostAddr (he); in osl_psz_createHostAddrByName()
1269 struct hostent *he; in osl_createHostAddrByAddr() local
1274 he= gethostbyaddr((sal_Char *)&(sin->sin_addr), in osl_createHostAddrByAddr()
1277 return _osl_hostentToHostAddr (he); in osl_createHostAddrByAddr()