/titanic_44/usr/src/lib/libresolv2/common/irs/ |
H A D | gethostent_r.c | 174 len += strlen(he->h_name) + 1; in copy_hostent() 200 n = strlen(he->h_name) + 1; in copy_hostent() 201 strcpy(cp, he->h_name); in copy_hostent() 202 hptr->h_name = cp; in copy_hostent() 245 if ((n = strlen(he->h_name) + 1) < (eob - cp)) { in copy_hostent() 246 strcpy(cp, he->h_name); in copy_hostent() 247 hptr->h_name = cp; in copy_hostent()
|
H A D | irp_ho.c | 177 if (ho->h_name != NULL && in ho_byname2() 178 strcmp(name, ho->h_name) == 0 && in ho_byname2() 232 if (ho->h_name != NULL && in ho_byaddr() 379 if (ho->h_name != NULL) in free_host() 380 free(ho->h_name); in free_host()
|
H A D | gethostent.c | 154 if (ns_samename(name, net_data->ho_last->h_name) == 1) in gethostbyname2_p() 315 DE_CONST(name, he.h_name); in getipnodebyname() 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 : he2->h_name); 1053 pvt->host.h_name = pvt->name; 1074 strncpy(hname2, hp->h_name, MAXDNAME);
|
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);
|
/titanic_44/usr/src/lib/nsswitch/files/common/ |
H A D | gethostent.c | 349 char *h_name; local 385 h_name = NULL; 422 if (nhosts && strcasestr(instr, h_name) == 0) { 459 (void) memcpy(abuf, h_name, h_namelen); 549 h_name = malloc(namelen + 1); 550 if (h_name == NULL) { 555 (void) memcpy(h_name, namep, namelen); 556 h_name[namelen] = '\0'; 603 strncasecmp(h_name, namep, namelen) == 0) { 655 hp->h_name = hp->h_aliases[0]; [all …]
|
/titanic_44/usr/src/cmd/ipf/lib/common/ |
H A D | hostname.c | 32 if (hp != NULL && hp->h_name != NULL && 33 *hp->h_name != '\0') { 34 strncpy(hostbuf, hp->h_name, sizeof(hostbuf));
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ipaddr.c | 129 hp ? hp->h_name : inet_ntoa(ipaddr), in iplookup() 171 addname = hp->h_name; in ip6lookup() 357 static char h_name[MAXHOSTNAMELEN]; /* hostname */ in lgetipnodebyname() local 363 hp->h_name = h_name; in lgetipnodebyname() 364 h_name[0] = '\0'; in lgetipnodebyname() 365 strcpy(h_name, name); in lgetipnodebyname()
|
/titanic_44/usr/src/lib/libwrap/ |
H A D | socket.c | 171 STRN_CPY(host->name, hp->h_name, sizeof(host->name)); 196 } else if (STR_NE(host->name, hp->h_name) 206 host->name, STRING_LENGTH, hp->h_name); 239 STRING_LENGTH, hp->h_name);
|
/titanic_44/usr/src/lib/libbc/libc/net/ |
H A D | rexec.c | 63 *ahost = hp->h_name; in rexec() 64 _ruserpass(hp->h_name, &name, &pass); in rexec() 81 perror(hp->h_name); in rexec()
|
/titanic_44/usr/src/lib/print/libipp-listener/common/ |
H A D | print-job.c | 134 if (is_localhost(he->h_name) != 0) in ipp_print_job() 140 else if (he->h_name != NULL) in ipp_print_job() 145 he->h_name); in ipp_print_job()
|
/titanic_44/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; in _gethtent() 446 if (strcasecmp(p->h_name, name) == 0)
|
/titanic_44/usr/src/cmd/ssh/libopenbsd-compat/common/ |
H A D | fake-getnameinfo.c | 48 if (strlen(hp->h_name) >= hostlen) in getnameinfo() 51 strcpy(host, hp->h_name); in getnameinfo()
|
H A D | fake-getaddrinfo.c | 102 if (hp && hp->h_name && hp->h_name[0] && hp->h_addr_list[0]) { in getaddrinfo()
|
/titanic_44/usr/src/lib/nsswitch/dns/common/ |
H A D | dns_common.c | 129 len = strlen(he->h_name) + 1; 130 host->h_name = buffer; 131 if (host->h_name + len >= limit) 133 (void) memcpy(host->h_name, he->h_name, len); 249 if (hp->h_name != NULL && *hp->h_name != '\0') { in ent2str() 250 if ((n = snprintf(s, l, " %s", hp->h_name)) >= l) in ent2str()
|
/titanic_44/usr/src/lib/libnsl/nss/ |
H A D | getipnodeby.c | 860 if ((int)(inet_addr(he4->h_name)) != -1) { in __mapv4tov6() 873 host->h_name = buff_locp; in __mapv4tov6() 882 buff_locp -= (len = strlen(he4->h_name) + 1); in __mapv4tov6() 883 h_namep = he4->h_name; in __mapv4tov6() 887 host->h_name = buff_locp; in __mapv4tov6() 963 buff_locp -= (len = strlen(he6->h_name) + 1); in __mapv4tov6() 966 bcopy(he6->h_name, buff_locp, len); in __mapv4tov6() 967 host->h_name = buff_locp; in __mapv4tov6() 1103 buff_locp -= (len = strlen(he->h_name) + 1); in __mappedtov4() 1104 h_namep = he->h_name; in __mappedtov4() [all …]
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | hook.h | 82 char *h_name; /* name of this hook */ member 93 (x)->h_name = (r); \
|
/titanic_44/usr/src/common/ctf/ |
H A D | ctf_hash.c | 117 hep->h_name = name; in ctf_hash_insert() 156 ctsp = &fp->ctf_str[CTF_NAME_STID(hep->h_name)]; in ctf_hash_lookup() 157 str = ctsp->cts_strs + CTF_NAME_OFFSET(hep->h_name); in ctf_hash_lookup()
|
/titanic_44/usr/src/lib/libsocket/inet/ |
H A D | getnameinfo.c | 155 dot = strchr(hp->h_name, '.'); in getnameinfo() 159 if (strlen(hp->h_name) + 1 > hostlen) { in getnameinfo() 163 (void) strcpy(host, hp->h_name); in getnameinfo()
|
/titanic_44/usr/src/uts/common/io/ |
H A D | hook.c | 1735 h->hi_hook.h_name); in hook_event_notify_register() 1812 h->hi_hook.h_name); in hook_event_notify_unregister() 1936 hook_event_notify_run(hei, hfi, event, h->h_name, HN_REGISTER); in hook_register() 1977 (strcmp(h->h_name, in hook_insert() 1983 (strcmp(h->h_name, in hook_insert() 2208 hook_event_notify_run(hei, hfi, event, h->h_name, HN_UNREGISTER); in hook_unregister() 2234 if (strcmp(hi->hi_hook.h_name, name) == 0) in hook_find_byname() 2258 return (hook_find_byname(&hei->hei_head, h->h_name)); in hook_find() 2281 ASSERT(src->h_name != NULL); in hook_copy() 2290 len = strlen(src->h_name); in hook_copy() [all …]
|
/titanic_44/usr/src/cmd/backup/lib/ |
H A D | myrcmd.c | 111 numhp.h_name = numhostname; in myrcmd() 120 *ahost = hp->h_name; in myrcmd() 207 "%s: %s\n", hp->h_name, strerror(saverr)); in myrcmd()
|
/titanic_44/usr/src/cmd/mdb/common/modules/hook/ |
H A D | hook.c | 70 if (!h->h_name) { in hooklist() 75 (uintptr_t)h->h_name) == -1) { in hooklist() 76 mdb_warn("couldn't read list role at %p", h->h_name); in hooklist()
|
/titanic_44/usr/src/lib/print/libhttp-core/common/ |
H A D | http-addr.c | 212 strlcpy(name, host->h_name, namelen); in httpAddrLookup() 307 host_ip.h_name = (char *)name; in httpGetHostByName() 343 host_ip.h_name = (char *)name; in httpGetHostByName()
|
/titanic_44/usr/src/lib/nsswitch/ldap/common/ |
H A D | gethostent.c | 73 char *cname = NULL, *h_name = NULL; in _nss_ldap_hosts2str_int() local 182 h_name = cname; in _nss_ldap_hosts2str_int() 185 } else if (strcasecmp(cname, h_name) != 0) { in _nss_ldap_hosts2str_int() 211 strcasecmp(name, h_name) != 0) { in _nss_ldap_hosts2str_int()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/tftp/ |
H A D | main.c | 271 if ((inet_pton(AF_INET6, host->h_name, &ipv6addr) > 0) && in setpeer() 277 (void) strlcpy(hostname, host->h_name, in setpeer() 417 if ((inet_pton(AF_INET6, hp->h_name, &ipv6addr) > 0) && in put() 423 (void) strlcpy(hostname, hp->h_name, in put() 537 if ((inet_pton(AF_INET6, hp->h_name, &ipv6addr) > 0) && in get() 543 (void) strlcpy(hostname, hp->h_name, in get()
|
/titanic_44/usr/src/lib/auditd_plugins/remote/ |
H A D | audit_remote.c | 295 hostentry->h_name, hostentry->h_length, in parsehosts() 599 current_host->host->h_name, attempts + 1, retries)); in auditd_plugin() 617 "rsn:%d\n", current_host->host->h_name, err_rsn)); in auditd_plugin() 622 "rsn:%d\n", current_host->host->h_name, err_rsn)); in auditd_plugin() 632 current_host->host->h_name, in auditd_plugin()
|