Searched defs:hent (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Did32.c78 void **hent = kmem_cache_alloc(id32_cache, kmflag); local
81 if (hent == NULL)
84 *hent = ptr;
85 id = ID32_ENCODE((uintptr_t)hent);
H A Dlabelsys.c287 tnrhc_hash_t *hent, *hend; local
291 if ((hent = htable[nbits]) == NULL)
293 hend = hent + TNRHC_SIZE;
294 while (hent < hend) {
299 mutex_enter(&hent->tnrh_lock);
300 rhnext = hent->tnrh_list;
301 hent->tnrh_list = NULL;
302 mutex_exit(&hent->tnrh_lock);
316 hent++;
/illumos-gate/usr/src/head/
H A Dnss_netdir.h86 struct hostent *hent; member in struct:nss_netdirbyname_out::__anon2311::__anon2312
119 struct hostent *hent; member in struct:nss_netdirbyaddr_out::__anon2317::__anon2318
/illumos-gate/usr/src/cmd/ypcmd/
H A Drpc_bootstrap.c145 struct hostent *hent, tmphent; local
169 hent = __files_gethostbyname(hostname, type);
170 if (hent == (struct hostent *)NULL) {
174 hent = &tmphent;
176 hent->h_addrtype = type;
177 hent->h_length = (type == AF_INET6) ?
179 hent->h_addr_list = tmphost_addrs;
189 switch (hent->h_addrtype) {
194 hent->h_addr_list[0], hent
[all...]
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Ddebug_alloc.c303 my_freehostent(struct hostent *hent, char *file, int line) argument
305 freehostent(hent);
307 drop_alloc("GETIPNODEBYNAME", hent, file, line);
/illumos-gate/usr/src/lib/libldap5/sources/ldap/prldap/
H A Dldappr-io.c388 PRHostEnt hent; local
425 sizeof( hbuf ), &hent )) {
429 enumIndex, &hent, (PRUint16)port, &addr )) > 0 ) {
/illumos-gate/usr/src/cmd/lms/tools/
H A DATNetworkTool.cpp70 bool ATNetworkTool::GetHentDomain(struct hostent *hent, std::string &domain) argument
72 if (NULL == hent) {
75 if (NULL == hent->h_name) {
80 printf("N: %s\n", hent->h_name);
82 if (ATNetworkTool::GetHostNameDomain(hent->h_name, domain)) {
86 if (NULL != hent->h_aliases) {
87 for (char **ssx = hent->h_aliases; ssx && *ssx; ssx++) {
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dgetipnodeby.c288 nssout.nss.host.hent = buf6->result;
326 nssout.nss.host.hent = buf4->result;
522 nssout.nss.host.hent = buf->result;
599 nssout.nss.host.hent = buf->result;
649 nssout.nss.host.hent = buf->result;
665 return (nssout.nss.host.hent);
675 freehostent(struct hostent *hent) argument
677 free(hent);
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dos-ip.c553 struct hostent hent; local
570 if (( hp = GETHOSTBYNAME( host, &hent, hbuf,
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ssldap/
H A Dldapsinit.c271 LDAPHostEnt *hent; local
342 hent = _ns_gethostbyaddr(sseip->ld, host, strlen(host), type,
346 if (hent == NULL) {
356 if (hent->ldaphe_name != NULL)
357 name = strdup(hent->ldaphe_name);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dmain.c2497 struct hostent *hent = NULL; local
2522 hent = gethostbyname(dest);
2523 if (hent == NULL) {
2528 BCOPY(hent->h_addr_list[0], &host, sizeof(host));
2529 hent->h_addr_list++;
2547 if ((hent != NULL) && (hent->h_addr_list != NULL)) {
2548 BCOPY(hent->h_addr_list[0], &host, sizeof(host));
2549 hent->h_addr_list++;
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dmemory.c377 struct vn_htable_list *hent, **htmp, *q_next, *q_prev; local
389 hent = hp->vn_htable[hkey];
390 while (hent && (hent->vn_ptr != ptr))
391 hent = hent->vn_h_next;
393 /* 3. if hent is NULL, we did not find in hash table, do mdb_vread */
394 if (hent == NULL) {
403 hent = hp->vn_q_last;
406 if (hent
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecconf.c3222 struct hostent hent; local
3235 hent.h_addr_list = ptr;
3238 dhp = &hent;
3241 hent.h_addr_list = ptr;
3244 shp = &hent;
3270 shp != &hent) {
3286 } else if ((dhp != &hent) && (isv4 !=
3292 dhp != &hent) {
3323 if (shp != &hent)
3326 if (dhp != &hent)
[all...]

Completed in 76 milliseconds