/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | gethostname.c | 47 gethostname(char *hname, int hlen) argument 58 (void) strncpy(hname, u.nodename, hlen);
|
/illumos-gate/usr/src/lib/nsswitch/mdns/common/ |
H A D | gethostent.c | 46 char *hname; local 51 hname = (char *)qdata.argp->key.name; 54 return (_nss_mdns_querybyname(be, hname, AF_INET, &qdata));
|
H A D | gethostent6.c | 47 char *hname = (char *)argp->key.ipnode.name; local 54 return (_nss_mdns_querybyname(be, hname, af, &qdata));
|
H A D | mdns_common.c | 257 char hname[MAXDNAME]; local 275 (void) snprintf(hname, sizeof (hname), "%s.%s", 278 (void) strlcpy(hname, name, sizeof (hname)); 281 " srchidx:%d af:%d hname:%s", srchidx, af, qname); 283 rc = _nss_mdns_queryrecord(hname, rrclass, rrtype, 697 char *hname; local 720 hname = (char *)arg.key.ipnode.name; 724 hname [all...] |
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | gethostent6.c | 119 char hname[3 * MAXHOSTNAMELEN]; local 122 /* will munge hname, so use argp->keyname */ 125 (void) strcpy(hname, hostname); 126 if (chophostdomain(hname, host, domain) == -1) {
|
H A D | gethostent.c | 300 char hname[3 * MAXHOSTNAMELEN]; local 303 /* will munge hname, so use argp->keyname */ 306 (void) strcpy(hname, hostname); 308 if (chophostdomain(hname, host, domain) == -1) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | common.c | 46 char hname[MAXHOSTNAMELEN+1]; local 65 if (i > (int)sizeof (hname)-1) /* name too long */ 67 (void) memmove(hname, name, i); 68 hname[i] = '\0'; 70 name = hname;
|
/illumos-gate/usr/src/cmd/ptools/psig/ |
H A D | psig.c | 298 char hname[MAX_SYMNAMLEN]; local 321 Plookup_by_addr(Pr, haddr, hname, 322 sizeof (hname), &hsym) == 0) 323 (void) printf("\t%-8s", hname);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_dhcpv6.c | 544 char *hname; local 550 hname = addrtoname(AF_INET6, &addr); 551 if (strcmp(hname, addrstr) == 0) { 556 "%s = %s (%s)", addrname, addrstr, hname);
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | dns_ho.c | 692 const char *hname; local 720 hname = pvt->host.h_name = NULL; 760 hname = bp; 762 /* The qname can be abbreviated, but hname is now absolute. */ 824 hname = bp; 888 hname = bp; 901 if (ns_samename(hname, bp) != 1) { 933 hname = bp;
|
/illumos-gate/usr/src/lib/libipadm/common/ |
H A D | ipadm_persist.c | 490 char *cp, *hname; local 498 hname = value; /* local hostname */ 499 cp = strchr(hname, ','); 502 (void) strlcpy(ipaddr.ipadm_static_aname, hname, 523 char *cp, *hname; local 531 hname = value; /* local hostname */ 532 cp = strchr(hname, ','); 535 (void) strlcpy(ipaddr.ipadm_static_aname, hname,
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | modhash.c | 427 char *hname, /* descriptive name for hash */ 437 ASSERT(hname && keycmp && hash_alg && vdtor && kdtor); 442 mod_hash->mh_name = kmem_alloc(strlen(hname) + 1, sleep); 447 (void) strcpy(mod_hash->mh_name, hname); 426 mod_hash_create_extended( char *hname, size_t nchains, void (*kdtor)(mod_hash_key_t), void (*vdtor)(mod_hash_val_t), uint_t (*hash_alg)(void *, mod_hash_key_t), void *hash_alg_data, int (*keycmp)(mod_hash_key_t, mod_hash_key_t), int sleep) argument
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipmon.c | 525 static char hname[MAXHOSTNAMELEN + MAX_INETA + 3]; local 539 sprintf(hname, "%.*s[%s]", MAXHOSTNAMELEN, hp->h_name, 541 return hname;
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | deliver.c | 4509 char hname[MAXNAME]; local 4518 expand("\201k", hname, sizeof(hname), e); 4519 at = hname;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | ftp.c | 1650 char hname[INET6_ADDRSTRLEN]; local 1661 hname, sizeof (hname)) != NULL) { 1663 hname, htons(data_addr.sin6_port));
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | commands.c | 2481 char hname[MAXHOSTNAMELEN + 1]; local 2522 * store in hname[]. 2526 hname[i++] = *cp++; 2530 hname[i] = '\0'; 2533 * Two consecutive delimiters which result in a 0 length hname 2539 hostname_list[gw_count] = strdup(hname);
|
/illumos-gate/usr/src/uts/common/nfs/ |
H A D | nfs_clnt.h | 595 char hname[16]; /* first 16 bytes of hostname */ member in struct:nfs_owner
|