/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | common.c | 46 char hname[MAXHOSTNAMELEN+1]; in getnet() local 65 if (i > (int)sizeof (hname)-1) /* name too long */ in getnet() 67 (void) memmove(hname, name, i); in getnet() 68 hname[i] = '\0'; in getnet() 70 name = hname; in getnet()
|
/titanic_50/usr/src/lib/nsswitch/mdns/common/ |
H A D | mdns_common.c | 257 char hname[MAXDNAME]; in _nss_mdns_querybyname() local 275 (void) snprintf(hname, sizeof (hname), "%s.%s", in _nss_mdns_querybyname() 278 (void) strlcpy(hname, name, sizeof (hname)); in _nss_mdns_querybyname() 283 rc = _nss_mdns_queryrecord(hname, rrclass, rrtype, in _nss_mdns_querybyname() 697 char *hname; in _nss_mdns_gethost_withttl() local 720 hname = (char *)arg.key.ipnode.name; in _nss_mdns_gethost_withttl() 724 hname = (char *)arg.key.name; in _nss_mdns_gethost_withttl() 736 " af:%d hname:%s", af, hname); in _nss_mdns_gethost_withttl() 738 if (_nss_mdns_querybyname(be, hname, af, &qdata) == NSS_SUCCESS) { in _nss_mdns_gethost_withttl()
|
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));
|
/titanic_50/usr/src/lib/libnsl/rpc/ |
H A D | gethostname.c | 47 gethostname(char *hname, int hlen) argument 58 (void) strncpy(hname, u.nodename, hlen);
|
/titanic_50/usr/src/lib/libipadm/common/ |
H A D | ipadm_persist.c | 490 char *cp, *hname; in i_ipadm_ip4_dbline2nvl() local 498 hname = value; /* local hostname */ in i_ipadm_ip4_dbline2nvl() 499 cp = strchr(hname, ','); in i_ipadm_ip4_dbline2nvl() 502 (void) strlcpy(ipaddr.ipadm_static_aname, hname, in i_ipadm_ip4_dbline2nvl() 523 char *cp, *hname; in i_ipadm_ip6_dbline2nvl() local 531 hname = value; /* local hostname */ in i_ipadm_ip6_dbline2nvl() 532 cp = strchr(hname, ','); in i_ipadm_ip6_dbline2nvl() 535 (void) strlcpy(ipaddr.ipadm_static_aname, hname, in i_ipadm_ip6_dbline2nvl()
|
/titanic_50/usr/src/test/zfs-tests/tests/functional/history/ |
H A D | history_common.kshlib | 101 typeset hname=$($HOSTNAME) 103 hname=$hname:$($ZONENAME) 106 $GREP "$cmd \[user $uid ($user) on $hname\]" $NEW_HISTORY >/dev/null \
|
/titanic_50/usr/src/lib/nsswitch/ldap/common/ |
H A D | gethostent6.c | 119 char hname[3 * MAXHOSTNAMELEN]; in getbyname() local 125 (void) strcpy(hname, hostname); in getbyname() 126 if (chophostdomain(hname, host, domain) == -1) { in getbyname()
|
H A D | gethostent.c | 300 char hname[3 * MAXHOSTNAMELEN]; in getbyname() local 306 (void) strcpy(hname, hostname); in getbyname() 308 if (chophostdomain(hname, host, domain) == -1) { in getbyname()
|
/titanic_50/usr/src/cmd/ptools/psig/ |
H A D | psig.c | 298 char hname[MAX_SYMNAMLEN]; in look() local 321 Plookup_by_addr(Pr, haddr, hname, in look() 322 sizeof (hname), &hsym) == 0) in look() 323 (void) printf("\t%-8s", hname); in look()
|
/titanic_50/usr/src/uts/common/os/ |
H A D | modhash.c | 427 char *hname, /* descriptive name for hash */ in mod_hash_create_extended() argument 437 ASSERT(hname && keycmp && hash_alg && vdtor && kdtor); in mod_hash_create_extended() 442 mod_hash->mh_name = kmem_alloc(strlen(hname) + 1, sleep); in mod_hash_create_extended() 447 (void) strcpy(mod_hash->mh_name, hname); in mod_hash_create_extended()
|
/titanic_50/usr/src/lib/libresolv2/common/irs/ |
H A D | dns_ho.c | 692 const char *hname; in gethostans() local 720 hname = pvt->host.h_name = NULL; in gethostans() 760 hname = bp; in gethostans() 824 hname = bp; in gethostans() 888 hname = bp; in gethostans() 901 if (ns_samename(hname, bp) != 1) { in gethostans() 933 hname = bp; in gethostans()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_dhcpv6.c | 544 char *hname; in show_address() local 550 hname = addrtoname(AF_INET6, &addr); in show_address() 551 if (strcmp(hname, addrstr) == 0) { in show_address() 556 "%s = %s (%s)", addrname, addrstr, hname); in show_address()
|
/titanic_50/usr/src/uts/common/nfs/ |
H A D | nfs_clnt.h | 600 char hname[16]; /* first 16 bytes of hostname */ member
|
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | ftp.c | 1650 char hname[INET6_ADDRSTRLEN]; in initconn() local 1661 hname, sizeof (hname)) != NULL) { in initconn() 1663 hname, htons(data_addr.sin6_port)); in initconn()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | commands.c | 2481 char hname[MAXHOSTNAMELEN + 1]; in parse_input() local 2526 hname[i++] = *cp++; in parse_input() 2530 hname[i] = '\0'; in parse_input() 2539 hostname_list[gw_count] = strdup(hname); in parse_input()
|
/titanic_50/usr/src/cmd/ipf/tools/ |
H A D | ipmon.c | 529 static char hname[MAXHOSTNAMELEN + MAX_INETA + 3]; local 543 sprintf(hname, "%.*s[%s]", MAXHOSTNAMELEN, hp->h_name, 545 return hname;
|
/titanic_50/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;
|
/titanic_50/usr/src/uts/common/fs/nfs/ |
H A D | nfs_vnops.c | 5066 (void) strncpy(nfs_owner.hname, uts_nodename(), in nfs_shrlock() 5067 sizeof (nfs_owner.hname)); in nfs_shrlock()
|
H A D | nfs3_vnops.c | 6720 (void) strncpy(nfs_owner.hname, uts_nodename(), in nfs3_shrlock() 6721 sizeof (nfs_owner.hname)); in nfs3_shrlock()
|
/titanic_50/usr/src/lib/libnsl/common/ |
H A D | llib-lnsl | 569 int gethostname(char *hname, int hlen);
|