/illumos-gate/usr/src/stand/lib/sa/ |
H A D | netdb.h | 58 char *h_name; /* official name of host */ member in struct:hostent
|
/illumos-gate/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));
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | hook.h | 82 char *h_name; /* name of this hook */ member in struct:hook_s 93 (x)->h_name = (r); \
|
/illumos-gate/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...] |
/illumos-gate/usr/src/lib/print/libipp-listener/common/ |
H A D | print-job.c | 134 if (is_localhost(he->h_name) != 0) 140 else if (he->h_name != NULL) 145 he->h_name);
|
/illumos-gate/usr/src/lib/libbc/libc/net/ |
H A D | rexec.c | 63 *ahost = hp->h_name; 64 _ruserpass(hp->h_name, &name, &pass); 81 perror(hp->h_name);
|
/illumos-gate/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);
|
/illumos-gate/usr/src/lib/libbc/inc/include/ |
H A D | netdb.h | 33 char *h_name; /* official name of host */ member in struct:hostent
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ipaddr.c | 129 hp ? hp->h_name : inet_ntoa(ipaddr), 171 addname = hp->h_name; 357 static char h_name[MAXHOSTNAMELEN]; /* hostname */ local 363 hp->h_name = h_name; 364 h_name[0] = '\0'; 365 strcpy(h_name, name);
|
/illumos-gate/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 [all...] |
/illumos-gate/usr/src/common/ctf/ |
H A D | ctf_hash.c | 117 hep->h_name = name; 156 ctsp = &fp->ctf_str[CTF_NAME_STID(hep->h_name)]; 157 str = ctsp->cts_strs + CTF_NAME_OFFSET(hep->h_name);
|
/illumos-gate/usr/src/cmd/getent/ |
H A D | dogethost.c | 55 inet_ntoa(in), hp->h_name) == EOF)
|
H A D | dogetipnodes.c | 75 if (fprintf(fp, "%s\t%s", res, hp->h_name) == EOF)
|
/illumos-gate/usr/src/lib/libresolv/ |
H A D | res_gethost.c | 115 host.h_name = bp; 165 host.h_name = bp; 191 host.h_name = bp; 326 (void) strcpy(hbuf, hp->h_name); 403 host.h_name = cp; 448 if (strcasecmp(p->h_name, name) == 0)
|
/illumos-gate/usr/src/lib/nsswitch/dns/common/ |
H A D | dns_common.c | 128 /* h_name */ 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') { 250 if ((n = snprintf(s, l, " %s", hp->h_name)) >= l)
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | sn2princ.c | 166 remote_host = strdup(hp ? hp->h_name : hostname); 190 remote_host = strdup(hp2->h_name);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/ |
H A D | process.c | 162 response->answer = announce(request, hp->h_name); 169 response->answer = announce(request, hp->h_name);
|
/illumos-gate/usr/src/cmd/tcpd/ |
H A D | scaffold.c | 115 if (STR_NE(host, hp->h_name)) { 117 tcpd_warn("(official name: %.*s)", STRING_LENGTH, hp->h_name);
|
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | gethostent.c | 73 char *cname = NULL, *h_name = NULL; local 180 /* Filter cname that's identical to h_name */ 182 h_name = cname; 185 } else if (strcasecmp(cname, h_name) != 0) { 209 /* Skip the canonical name and h_name */ 211 strcasecmp(name, h_name) != 0) {
|
/illumos-gate/usr/src/head/ |
H A D | archives.h | 78 char h_name[HNAMLEN]; /* filename */ member in struct:hdr_cpio
|
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/ |
H A D | iscsi_door.h | 114 char *h_name; /* official name of host */ member in struct:hostent
|
/illumos-gate/usr/src/lib/print/libhttp-core/common/ |
H A D | http-addr.c | 212 strlcpy(name, host->h_name, namelen); 307 host_ip.h_name = (char *)name; 343 host_ip.h_name = (char *)name;
|
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | getnameinfo.c | 155 dot = strchr(hp->h_name, '.'); 159 if (strlen(hp->h_name) + 1 > hostlen) { 163 (void) strcpy(host, hp->h_name);
|