/osnet-11/usr/src/lib/libresolv2/common/irs/ |
H A D | gethostent_r.c | 174 len += strlen(he->h_name) + 1; 200 n = strlen(he->h_name) + 1; 201 strcpy(cp, he->h_name); 202 hptr->h_name = cp; 245 if ((n = strlen(he->h_name) + 1) < (eob - cp)) { 246 strcpy(cp, he->h_name); 247 hptr->h_name = cp;
|
H A D | irp_ho.c | 177 if (ho->h_name != NULL && 178 strcmp(name, ho->h_name) == 0 && 232 if (ho->h_name != NULL && 379 if (ho->h_name != NULL) 380 free(ho->h_name);
|
H A D | gethostent.c | 154 if (ns_samename(name, net_data->ho_last->h_name) == 1) 315 DE_CONST(name, he.h_name); 447 memput(he->h_name, strlen(he->h_name) + 1); 930 he->h_name = memget(strlen((he1 != NULL) ? 931 he1->h_name : he2->h_name) + 1); 932 if (he->h_name == NULL) 934 strcpy(he->h_name, (he1 != NULL) ? he1->h_name [all...] |
H A D | getnameinfo.c | 202 p = strchr(hp->h_name, '.'); 205 if (strlen(hp->h_name) + 1 > hostlen) 207 strcpy(host, hp->h_name);
|
H A D | dns_ho.c | 720 hname = pvt->host.h_name = NULL; 759 pvt->host.h_name = bp; 763 qname = pvt->host.h_name; 823 pvt->host.h_name = bp; 887 pvt->host.h_name = bp; 932 pvt->host.h_name = bp; 987 if (pvt->host.h_name == NULL) { 992 pvt->host.h_name = bp; 1001 if (pvt->host.h_name == NULL) { 1007 strdup(pvt->host.h_name); [all...] |
H A D | lcl_ho.c | 234 nn = ns_namelen(hp->h_name); 235 if (strncasecmp(hp->h_name, name, Max(n, nn)) == 0) 406 pvt->host.h_name = cp; 535 if ((hp->h_name == NULL) || (hp->h_name[0] == 0) ||
|
/osnet-11/usr/src/lib/libwrap/ |
H A D | socket.c | 168 STRN_CPY(host->name, hp->h_name, sizeof(host->name)); 193 } else if (STR_NE(host->name, hp->h_name) 203 host->name, STRING_LENGTH, hp->h_name); 236 STRING_LENGTH, hp->h_name);
|
/osnet-11/usr/src/lib/libdhcpdu/common/ |
H A D | rfc2136.c | 177 if (hp->h_name == NULL) { 178 dprint("h_name is NULL - return -1\n"); 182 if (hp->h_name[0] == '\0') { 183 dprint("h_name[0] is NUL - return -1\n"); 200 dprint("dns_puthostent(%s, %d)\n", hp->h_name, (int)timeout); 284 dprint("update for %s timed out\n", hp->h_name); 331 * h_name should be full-qualified; find the name servers for 334 for (p = hp->h_name; *p != NULL; p++) 341 hp->h_name, ntoab); 356 dprint("update for %s returning %d\n", hp->h_name, num_update [all...] |
/osnet-11/usr/src/lib/auditd_plugins/remote/ |
H A D | audit_remote.c | 209 hostlist_node->host->h_name)); 236 if (strcmp(hosts_a_ptr->host->h_name, 237 hosts_b_ptr->host->h_name) != 0) { 247 hosts_a_ptr->host->h_name, 248 hosts_b_ptr->host->h_name)); 249 if (strcmp(hosts_a_ptr->host->h_name, 250 hosts_b_ptr->host->h_name) == 0) { 366 DPRINT((dfile, "hostentry: h_name=%s, addr_len=%d, addr=%s\n", 367 hostentry->h_name, hostentry->h_length, 667 current_host->host->h_name, attempt [all...] |
H A D | transport.c | 251 DPRINT((dfile, "Creating socket for %s\n", host->h_name)); 286 DPRINT((dfile, "Connected to %s via fd=%d\n", host->h_name, 310 (void) asprintf(&svc_name, "%s@%s", gss_svc_name, current_host->h_name); 758 DPRINT((dfile, "Set new host: %s\n", hostlptr->host->h_name));
|
/osnet-11/usr/src/lib/nsswitch/dns/common/ |
H A D | dns_common.c | 120 /* h_name */ 121 len = strlen(he->h_name) + 1; 122 host->h_name = buffer; 123 if (host->h_name + len >= limit) 125 (void) memcpy(host->h_name, he->h_name, len); 241 if (hp->h_name != NULL && *hp->h_name != '\0') { 242 if ((n = snprintf(s, l, " %s", hp->h_name)) >= l)
|
H A D | gethostent6.c | 90 * Make a copy of h->h_name. 104 if (h == 0 || h->h_name == 0) { 109 len = strlen(h->h_name); 116 (void) memcpy(name, h->h_name, len+1); 404 v6he.h_name = v6Name;
|
/osnet-11/usr/src/lib/nsswitch/files/common/ |
H A D | gethostent.c | 657 char *h_name; local 691 h_name = NULL; 728 if (nhosts && strcasestr(instr, h_name) == 0) { 763 (void) memcpy(abuf, h_name, h_namelen); 795 h_name = malloc(namelen + 1); 796 if (h_name == NULL) { 801 (void) memcpy(h_name, namep, namelen); 802 h_name[namelen] = '\0'; 888 hp->h_name = hp->h_aliases[0]; 903 if (h_name) [all...] |
/osnet-11/usr/src/lib/libresolv/ |
H A D | res_gethost.c | 112 host.h_name = bp; 162 host.h_name = bp; 188 host.h_name = bp; 324 (void) strcpy(hbuf, hp->h_name); 401 host.h_name = cp; 446 if (strcasecmp(p->h_name, name) == 0)
|
H A D | netdb.h | 57 char *h_name; /* official name of host */ member in struct:hostent
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | sn2princ.c | 176 remote_host = strdup(hp ? hp->h_name : hostname); 200 remote_host = strdup(hp2->h_name);
|
/osnet-11/usr/src/lib/nsswitch/ldap/common/ |
H A D | gethostent.c | 71 char *cname = NULL, *h_name = NULL; local 178 /* Filter cname that's identical to h_name */ 180 h_name = cname; 183 } else if (strcasecmp(cname, h_name) != 0) { 207 /* Skip the canonical name and h_name */ 209 strcasecmp(name, h_name) != 0) {
|
/osnet-11/usr/src/lib/libsocket/inet/ |
H A D | getnameinfo.c | 156 dot = strchr(hp->h_name, '.'); 160 if (strlen(hp->h_name) + 1 > hostlen) { 164 (void) strcpy(host, hp->h_name);
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Net/ |
H A D | hostent.pm | 11 $h_name @h_aliases 36 $h_name = $hob->[0] = $_[0]; 90 $h_name if you import the fields. Array references are available as
|
/osnet-11/usr/src/lib/libnsl/nss/ |
H A D | getipnodeby.c | 899 if ((int)(inet_addr(he4->h_name)) != -1) { 902 * V4 mapped literal address string for h_name. 912 host->h_name = buff_locp; 919 * Not a literal address string, so just copy h_name. 921 buff_locp -= (len = strlen(he4->h_name) + 1); 922 h_namep = he4->h_name; 926 host->h_name = buff_locp; 1002 buff_locp -= (len = strlen(he6->h_name) + 1); 1005 bcopy(he6->h_name, buff_locp, len); 1006 host->h_name [all...] |
H A D | gethostent.c | 261 host->h_name = host->h_aliases[0];
|
/osnet-11/usr/src/lib/libsldap/common/ |
H A D | ns_standalone.c | 498 result->h_name = buffer; 530 result->h_name = buffer; 614 if (hp && hp->h_name) { 616 len = strlen(hp->h_name) + 1; 627 hp->h_name, port); 629 (void) strlcpy(*hostname, hp->h_name, len); 646 if (hp && hp->h_name) { 648 len = strlen(hp->h_name) + 1; 659 hp->h_name, port); 661 (void) strlcpy(*hostname, hp->h_name, le [all...] |
/osnet-11/usr/src/lib/librdc/common/ |
H A D | rdcrules.c | 314 strncpy(fromname, hp->h_name, MAXHOSTNAMELEN); 316 strncpy(toname, hp->h_name, MAXHOSTNAMELEN);
|
/osnet-11/usr/src/lib/libldap4/common/ |
H A D | os-ip.c | 299 if ( hp->h_name != NULL ) { 300 return( strdup( hp->h_name ));
|
/osnet-11/usr/src/lib/libldap5/sources/ldap/prldap/ |
H A D | ldappr-dns.c | 165 ldhp->ldaphe_name = prhp->h_name;
|