Searched refs:hostname (Results 101 - 125 of 296) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/common/smbsrv/
H A Dnetrauth.h125 char hostname[NETBIOS_NAME_SZ * 2]; /* local "flat" name */ member in struct:netr_info
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dlibsmbns.h43 char *hostname; /* fully qualified hostname */ member in struct:smb_ads_handle
49 char name[MAXHOSTNAMELEN]; /* fully qualified hostname */
/illumos-gate/usr/src/cmd/ypcmd/
H A Drpc_bootstrap.c71 * It relies on the local /etc/hosts file for hostname to address
77 __clnt_tp_create_bootstrap(hostname, prog, vers, nconf)
78 char *hostname;
111 vers, nconf, svc_taddr, hostname) == FALSE) {
137 __rpcb_getaddr_bootstrap(program, version, nconf, address, hostname)
142 char *hostname;
168 /* Get the address of the RPCBIND at hostname */
169 hent = __files_gethostbyname(hostname, type);
172 if (inet_pton(type, hostname, addr) == 1) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.comsat.c69 char hostname[MAXHOSTNAMELEN]; variable
177 (void) gethostname(hostname, sizeof (hostname));
368 cr, name, sizeof (hostname), hostname, cr);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_filter.c1468 * may be supplied either as a hostname or in dotted format.
1475 ipaddr_match(enum direction which, char *hostname, int inet_type) argument
1500 hp = lgetipnodebyname(hostname, AF_INET, 0, &error_num);
1502 hp = getipnodebyname(hostname, AF_INET, 0, &error_num);
1508 hostname);
1510 pr_err("couldn't resolve %s", hostname);
1515 hp = lgetipnodebyname(hostname, AF_INET6, 0, &error_num);
1517 hp = getipnodebyname(hostname, AF_INET6, 0, &error_num);
1523 hostname);
1525 pr_err("couldn't resolve %s", hostname);
1752 ataddr_match(enum direction which, char *hostname) argument
1801 etheraddr_match(enum direction which, char *hostname) argument
2818 arp_for_ether(char *hostname, struct ether_addr *ep) argument
[all...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/prldap/
H A Dldappr-io.c390 char *hostname = NULL; local
437 if ( NULL != hostname ) {
438 ldap_memfree(hostname);
439 hostname = NULL;
442 hostname = nsldapi_strdup(host);
458 if ( NULL != hostname && NULL != dhost ) *dhost = hostname;
459 else if ( NULL != hostname ) ldap_memfree(hostname);
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipnat_y.y109 %type <ipa> hostname ipv4 ipaddr
330 | IPNY_RANGE hostname '-' hostname
342 hostname { bcopy(&$1.a, &nat->in_in[0],
356 | hostname '/' YY_NUMBER { if ($1.v == 0)
384 | hostname ',' { yyexpectaddr = 1; } hostname
575 | hostname { $$.a = $1.a;
587 | hostname '/' YY_NUMBER { $$.a = $1.a;
607 | hostname '/' ipadd
723 hostname: label
[all...]
H A Dipmon.c168 char *hostname __P((int, int, u_32_t *));
195 #define HOSTNAME_V4(a,b) hostname((a), 4, (u_32_t *)&(b))
520 char *hostname(res, v, ip) function
765 (void) sprintf(t, "%s,%s <- -> ", hostname(res, nl->nlg_v,
769 (void) sprintf(t, "%s,%s ", hostname(res, nl->nlg_v,
773 (void) sprintf(t, "[%s,%s]", hostname(res, nl->nlg_v,
854 hostname(res, sl->isl_v, (u_32_t *)&sl->isl_src),
858 hostname(res, sl->isl_v, (u_32_t *)&sl->isl_dst),
861 (void) sprintf(t, "%s -> ", hostname(res, sl->isl_v,
865 hostname(re
[all...]
/illumos-gate/usr/src/common/net/wanboot/
H A Dbootlog.c185 gettime(), bl_url.hport.hostname,
305 char hostname[MAXHOSTNAMELEN]; local
341 (void) gethostname(hostname, sizeof (hostname));
348 "<time> %s %s: [ID %u user.%s] %s", hostname, ident, msgid,
403 gettime(), hostname, ident, msgid, pri_names[i].c_name,
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_info.c187 * Get the current system NetBIOS name. The hostname is truncated at
223 * If the hostname has been fully-qualified for some reason, the domain
224 * part will be removed. The returned hostname is converted to the
267 * the hostname is fully-qualified, accept it. Otherwise, try to find an
268 * appropriate domain name to append to the hostname.
273 char hostname[MAXHOSTNAMELEN]; local
276 hostname[0] = '\0';
279 if (smb_gethostname(hostname, MAXHOSTNAMELEN,
286 if (hostname[0] == '\0')
290 (void) strlcpy(buf, hostname, bufle
[all...]
/illumos-gate/usr/src/lib/libshell/common/data/
H A Dbash_pre_rc.sh111 h) var+=$(hostname -s);;
254 HOSTNAME=$(hostname)
/illumos-gate/usr/src/cmd/svc/milestone/
H A Dnet-physical158 # First deal with /etc/hostname
161 # /etc/hostname.* into separate args by using "." as a shell separator
164 interface_names="`echo /etc/hostname.*[0-9] 2>/dev/null`"
165 if [ "$interface_names" != "/etc/hostname.*[0-9]" ]; then
173 while [ $# -gt 1 -a "$2" != "/etc/hostname" ]; do
184 read one rest < /etc/hostname.$intf_name
311 # Finally configure interfaces set up with ipadm. Any /etc/hostname*.intf
329 elif [ -f /etc/hostname.$intf ] || [ -f /etc/hostname6.$intf ]; then
331 echo "found /etc/hostname.$intf "\
336 echo "Ignoring /etc/hostname*
[all...]
/illumos-gate/usr/src/cmd/sendmail/cf/
H A DMakefile124 SCRIPTS= $(ROOTUSRSBIN)/check-hostname \
164 $(RM) $(ROOTETCMAILCF)/sh/check-hostname
165 $(SYMLINK) ../../../../usr/sbin/check-hostname $(ROOTETCMAILCF)/sh/check-hostname
/illumos-gate/usr/src/cmd/sendmail/cf/sh/
H A Dcheck-hostname.sh23 # Check hostname configuration as per the sendmail code.
134 # Goal: try to fully qualify `hostname` as sendmail would.
147 myhostname=`hostname`
/illumos-gate/usr/src/cmd/hal/probing/network-printer/
H A Dprobe-network-printer.c51 extern int snmp_printer_info(char *hostname, char *community,
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Drpc.c203 char hostname[MAXHOSTNAMELEN]; local
302 * IP address/hostname, either by using DHCP or rarp/bootparams.
304 gethostname(hostname, sizeof (hostname));
305 xmit_auth = authunix_create(hostname, 0, 1, 1, &fake_gids);
/illumos-gate/usr/src/boot/lib/libstand/
H A Dnet.h73 extern char hostname[FNAME_SIZE];
/illumos-gate/usr/src/lib/pam_modules/list/
H A Dlist.c69 char hostname[MAXHOSTNAMELEN]; local
179 if (gethostname(hostname, MAXHOSTNAMELEN) == 0) {
180 rhost = hostname;
/illumos-gate/usr/src/cmd/lvm/rpc.metamhd/
H A Dmhd_init.c226 char *hostname = hservp->h_host; local
229 if (strcmp(hostname, mynodename()) == 0) {
235 if (ruserok(hostname, 1, "root", "root") == 0) {
/illumos-gate/usr/src/cmd/keyserv/
H A Dnewkey.c159 "%s: could not get the hostname for %s\n",
172 /* -h hostname option */
176 /* verify if this is a valid hostname */
186 /* check to see if hostname exists for this transport */
256 char hostname[MAXHOSTNAMELEN+1]; local
269 if (gethostname(hostname, MAXHOSTNAMELEN) < 0) {
275 if (strcmp(master, hostname) != 0) {
306 "\t%s -h hostname [-s ldap | nis | files]\n",
/illumos-gate/usr/src/cmd/make/bin/
H A Dpmake.cc57 static int get_max(wchar_t **ms_address, wchar_t *hostname);
237 * 1) hostname is longer than MAX_HOSTNAMELEN, or
238 * 2) hostname is unknown
250 /* Compare current hostname with local_host. */
258 /* Compare current hostname with full_host. */
387 get_max(wchar_t **ms_address, wchar_t *hostname) argument
392 WCSTOMBS(mbs_buffer, hostname);
/illumos-gate/usr/src/cmd/praudit/
H A Dformat.c684 char hostname[256]; local
686 get_Hname(ip_addr, hostname, sizeof (hostname));
690 hostname);
714 char hostname[256]; local
743 get_Hname(ip_addr[0], hostname, sizeof (hostname));
746 hostname);
762 get_Hname_ex(ip_addr, hostname, sizeof (hostname));
788 char hostname[256]; local
868 char hostname[256]; local
895 char hostname[256]; local
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi_subr.c88 * Get the server hostname (the ID as far as the topo authority is
97 char hostname[MAXNAMELEN]; local
101 result = sysinfo(SI_HOSTNAME, hostname, sizeof (hostname));
106 topo_mod_dprintf(mod, "x86pi_get_serverid: hostname = %s\n", hostname);
108 return (topo_mod_strdup(mod, hostname));
352 * list. Find the server information in hostname.
/illumos-gate/usr/src/cmd/cvcd/sparc/sun4u/starcat/
H A Dcvcd.c162 char *hostname; local
211 hostname = utsname.nodename;
214 * hostname may still be NULL, depends on when cvcd was started
216 * to get a hostname -> look in the /etc/nodename file.
218 if (!strlen(hostname)) {
220 * try to get the hostname from the /etc/nodename file
221 * we reuse the utsname.nodename buffer here! hostname
227 "failed to acquire hostname");
235 * If all attempts to get the hostname have failed, put something
238 if (!strlen(hostname)) {
[all...]
/illumos-gate/usr/src/lib/libbsm/common/
H A Dadt.c226 * hostname . audit id . unix time . pid . count
235 char hostname[MAXHOSTNAMELEN]; local
249 if (gethostname(hostname, MAXHOSTNAMELEN)) {
251 (void) strncpy(hostname, "invalidHostName", MAXHOSTNAMELEN);
257 MD5Update(&context, (unsigned char *)hostname,
258 (unsigned int) strlen((const char *)hostname));
691 * adt_get_hostIP - construct a terminal id from a hostname
699 adt_get_hostIP(const char *hostname, au_tid_addr_t *p_term) argument
707 ((eai_err = getaddrinfo(hostname, NULL, NULL, &ai)) != 0)) {
716 "failed[%s]", hostname, gai_strerro
822 adt_load_hostname(const char *hostname, adt_termid_t **termid) argument
[all...]

Completed in 2051 milliseconds

1234567891011>>