Searched refs:hostname (Results 151 - 175 of 296) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/ipf/lib/
H A DMakefile.com38 getproto.o getsumd.o hostname.o \
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dprintstate.c26 PRINTF("%s -> ", hostname(ips.is_v, &ips.is_src.in4));
28 hostname(ips.is_v, &ips.is_dst.in4), ips.is_pass, ips.is_p,
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dndp.c149 "Usage: %s [-n] [-i iface] hostname\n"
653 char hostname[NI_MAXHOST]; local
675 if (getnameinfo((struct sockaddr *)lnr_addr, sizeof (sin6_t), hostname,
676 sizeof (hostname), NULL, 0, gni_flags) != 0) {
677 warnx("Unable to lookup hostname for %s", ipaddr);
682 (void) printf("%s (%s) at %s", ipaddr, hostname, lladdr);
711 char hostname[NI_MAXHOST]; local
722 if (getnameinfo((struct sockaddr *)lnr_addr, sizeof (sin6_t), hostname,
723 sizeof (hostname), NULL, 0, flags) != 0) {
724 warnx("Unable to lookup hostname fo
[all...]
/illumos-gate/usr/src/boot/lib/libstand/
H A Dbootparam.c94 * client name (hostname)
98 * The hostname and domainname are set here for convenience.
205 if (xdr_string_decode(&recv_head, hostname, &hostnamelen)) {
206 RPC_PRINTF(("bp_whoami: bad hostname\n"));
268 /* client name (hostname) */
269 if (xdr_string_encode(&send_tail, hostname, hostnamelen)) {
/illumos-gate/usr/src/cmd/rexd/
H A Don.c223 char hostname[MAXHOSTNAMELEN+1]; local
315 cho = hostname;
331 if (host2netname(netname, hostname, domain) == 0) {
342 cho = strchr(hostname, '.');
348 hostname,
/illumos-gate/usr/src/cmd/lvm/util/
H A Dmetainit.c600 char *hostname; local
614 hostname = mynode();
647 if (strcmp(sr->sr_nodes[j], hostname) != 0)
666 (void) strncpy(sr->sr_nodes[j], hostname,
674 "new hostname %s, update auto-take diskset %s\n"),
675 hostname, sr->sr_setname);
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgweb.c406 ps->url.hport.hostname);
412 ps->url.hport.hostname);
437 ps->url.hport.hostname);
443 ps->url.hport.hostname);
473 ps->url.hport.hostname);
479 ps->url.hport.hostname);
640 * Description: Returns "port" portion of a "hostname:port" string
642 * Arguments: proxy - full "hostname:port" string pointer
644 * Returns : the "port" portion of a "hostname:port" string,
1272 if ((cbio = BIO_new_connect(proxy->hostname))
[all...]
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_set_med.c89 char *hostname; local
110 if (clnt_med_hostname(nm, &hostname, ep))
114 if (strcmp(nm, hostname) != 0) {
115 Free(hostname);
122 if (strcmp(nodename, hostname) != 0) {
123 Free(hostname);
129 Free(hostname);
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgetnetgrent.c236 split_triple(char *triple, char **hostname, char **username, char **domain) argument
297 *hostname = splittriple[0];
438 /* limit hostname to COMMA */
447 /* compare size of hostname */
766 char *hostname, *username, *domain; local
877 rc = split_triple(buffer, &hostname, &username,
885 args->retp[NSS_NETGR_MACHINE] = hostname;
893 hostname ? hostname : "",
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ssldap/
H A Dldapsinit.c411 * Set hostname which will be retrieved (depending on ssl strength) when
742 char *hostname = (char *)0; local
769 * Now check the name field in the cert against the desired hostname.
774 hostname = SSL_RevealURL( fd );
776 if (hostname && hostname[0]) {
777 rv = CERT_VerifyCertName(cert, hostname);
781 if (hostname)
782 PORT_Free(hostname);
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dmci.c1281 ** hostname -- the corresponding host name.
1288 mci_print_persistent(pathname, hostname)
1290 char *hostname;
1299 if (hostname == NULL)
1339 locked ? '*' : ' ', hostname,
1379 ** hostname -- name of host corresponding to that file.
1389 mci_purge_persistent(pathname, hostname)
1391 char *hostname;
1410 if (hostname != NULL)
1448 ** MCI_GENERATE_PERSISTENT_PATH -- generate path from hostname
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_proc.c84 static char *get_system_id(char *hostname);
94 extern int self_check(char *hostname);
486 * tuple (hostname, prog, vers, proc). The tuples
488 * if the hostname is not already present in the list.
489 * If the hostname is found in the list, the incoming
491 * same hostname. However, if the tuple matches exactly
930 * match we might deal with the hostname aliases. In this case two different
963 * Convert a hostname character string into its network address.
969 * If a NULL hostname is given, then the name of the current host
970 * is used. If the hostname does
977 get_system_id(char *hostname) argument
[all...]
H A Dsm_svc.c102 char hostname[MAXHOSTNAMELEN]; variable
177 * used to keep track of all the hostname files stored in
476 (void) gethostname(hostname, MAXHOSTNAMELEN);
490 if (strcmp(hostname, optarg) != 0) {
/illumos-gate/usr/src/lib/libslp/clib/
H A DSLPUtils.c315 char *msg, hostname[MAXHOSTNAMELEN]; local
327 (void) gethostname(hostname, MAXHOSTNAMELEN);
330 SLP_SUN_DA_TYPE, hostname, filter, &msg, "en");
/illumos-gate/usr/src/cmd/stat/common/
H A Ddsr.c602 * Given the hostname of the mounted server, extract the server
611 cur_special(char *hostname, char *special) argument
615 size_t hlen = strlen(hostname);
618 * find hostname in string
621 if ((cp = strstr(special, hostname)) == NULL)
625 * hostname must be followed by ',' or ':'
633 * If hostname is followed by a ',' eat all characters until a ':'
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_common.c402 args.hostname = root_hostname;
424 args.hostname = root_hostname;
445 args.hostname = root_hostname;
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_sam.c113 /* Only Netbios hostname is accepted */
210 char hostname[MAXHOSTNAMELEN]; local
280 if (smb_getnetbiosname(hostname, MAXHOSTNAMELEN) == 0)
281 account->a_domain = strdup(hostname);
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_ksetpwd.c525 char hostname[MAXHOSTNAMELEN]; local
531 (void) smb_gethostname(hostname, MAXHOSTNAMELEN, SMB_CASE_LOWER);
551 pn->p_svc, hostname, fqdn);
H A Dsmbns_netbios_cache.c148 unsigned char hostname[MAXHOSTNAMELEN]; local
152 if (smb_getnetbiosname((char *)hostname, sizeof (hostname))
156 smb_encode_netbios_name(hostname, 0x00, NULL, name);
/illumos-gate/usr/src/cmd/krb5/kadmin/kclient/
H A Dkclient.sh527 typeset -l hostname
532 hostname=$(uname -n | cut -d"." -f1)
543 fullhost="$hostname$eachfqdn"
545 fullhost="$hostname.$eachfqdn"
647 printf "\n$(gettext "Improper format of logical hostname, exiting").\n" >&2
1196 if [[ ${#hostname} -gt 15 ]]; then
1197 string15=$hostname
1201 upcase_nodename=$hostname
1202 locase_nodename=$hostname
1206 fqdn=$hostname
[all...]
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr_getldap.c135 char *hostname; member in struct:server_info_ext
478 if (info->sinfo[0].hostname)
479 free(info->sinfo[0].hostname);
480 info->sinfo[0].hostname = NULL;
508 if (info->sinfo[1].hostname)
509 info->sinfo[0].hostname = strdup(info->sinfo[1].hostname);
718 info->sinfo[0].hostname = NULL;
719 info->sinfo[1].hostname = NULL;
756 if (info->sinfo[0].hostname)
[all...]
/illumos-gate/usr/src/lib/nsswitch/mdns/common/
H A Dmdns_common.c47 * query for host IP address and hostname by querying for A/AAAA
66 * lookups for hostnames in the ".local" domain and hostname queries
306 char hostname[NI_MAXHOST]; local
345 if (RDataToName((char *)rdata, hostname, rdlen, NI_MAXHOST) == NULL) {
356 qdata->paddrbuf, hostname);
359 qdata->paddrbuf, hostname);
682 * Performs lookup for IP address by hostname via mDNS and returns
/illumos-gate/usr/src/cmd/cvcd/sparc/sun4u/starfire/
H A Dcvcd.c121 char *hostname; local
197 hostname = utsname.nodename;
200 * hostname may still be NULL, depends on when cvcd was started
202 * to get a hostname -> look in the /etc/nodename file.
204 if (!strlen(hostname)) {
206 * try to get the hostname from the /etc/nodename file
207 * we reuse the utsname.nodename buffer here! hostname
213 "failed to acquire hostname");
241 (void) sprintf(prefix, "%s-(HOSTNAME:%s)", progname, hostname);
646 * (using the hostname foun
[all...]
/illumos-gate/usr/src/cmd/krb5/kadmin/kdcmgr/
H A Dkdcmgr.sh673 elif [[ -n $(hostname) && -n $(domainname) ]]; then
674 fqhn=$(hostname|cut -f1 -d'.').$(domainname|cut -f2- -d'.')
676 printf "$(gettext "Error: can not determine full hostname (FQHN). Aborting")\n"
677 printf "$(gettext "Note, trying to use hostname and domainname to get FQHN").\n"
/illumos-gate/usr/src/cmd/krb5/slave/
H A Dkprop.c238 * Always pick up the master hostname from krb5.conf, as
813 void update_last_prop_file(hostname, file_name)
814 char *hostname;
823 strlen(hostname) + 1 +
838 strcat(file_last_prop, hostname);

Completed in 136 milliseconds

1234567891011>>