/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Sys/Hostname/t/ |
H A D | Hostname.t | 16 $host = hostname; 20 print "1..0\n" if $@ =~ /Cannot get host name/; 23 print "# \$host = `$host'\n";
|
/osnet-11/usr/src/lib/libwrap/ |
H A D | eval.c | 8 * Routines for controlled evaluation of host names, user names, and so on. 43 * host name has the value STRING_PARANOID it means there was a name/address 64 char *eval_hostaddr(host) 65 struct host_info *host; 67 if (host->addr[0] == 0) { 68 strcpy(host->addr, unknown); 69 if (host->request->hostaddr != 0) 70 host->request->hostaddr(host); 72 return (host 133 char *host = eval_hostinfo(request->server); local [all...] |
H A D | socket.c | 8 * it provides methods to map a transport address to a printable host name 11 * The result from the hostname lookup method is STRING_PARANOID when a host 12 * pretends to have someone elses name, or when a host name is available but 51 * Speed up DNS lookups by terminating the host name with a dot. Should be 92 * Look up the client host address. Hal R. Brand <BRAND@addvax.llnl.gov> 93 * suggested how to get the client host info in case of UDP connections: 133 void sock_hostaddr(host) 134 struct host_info *host; 136 struct sockaddr_gen *sin = host->sin; 141 (void) inet_ntop(SGFAM(sin), SGADDRP(sin), host [all...] |
H A D | hosts_access.c | 10 * host (or domain) names, NIS (host) netgroup names, IP addresses (or 104 /* hosts_access - host access control facility */ 231 char *host; local 233 if ((host = split_at(tok + 1, '@')) == 0) { /* plain daemon */ 235 } else { /* daemon@host */ 237 && host_match(host, request->server)); 247 char *host; local 249 if ((host = split_at(tok + 1, '@')) == 0) { /* plain host */ [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Sys/Hostname/ |
H A D | Hostname.pm | 15 our $host; 33 return $host if defined $host; 36 $host = ghname() if defined &ghname; 37 return $host if defined $host; 42 eval { local $SIG{__DIE__}; $host = (gethostbyname('me'))[0] }; 43 if ($@) { return $host = $ENV{'SYS$NODE'}; } 47 # there any other logicals which TCP/IP stacks use for the host name?) 48 $host [all...] |
/osnet-11/usr/src/lib/librpcsvc/common/ |
H A D | rstat_simple.c | 33 rstat(host, statp) 34 char *host; 37 return (rpc_call(host, RSTATPROG, RSTATVERS_TIME, RSTATPROC_STATS, 43 havedisk(host) 44 char *host; 48 if (rpc_call(host, RSTATPROG, RSTATVERS_TIME, RSTATPROC_HAVEDISK,
|
H A D | rwallxdr.c | 45 rwall(host, msg) 46 char *host; 49 return (rpc_call(host, WALLPROG, WALLVERS, WALLPROC_WALL,
|
H A D | rusers_simple.c | 38 rusers3(host, uap) 39 char *host; 44 if (rpc_call(host, RUSERSPROG, RUSERSVERS_3, RUSERSPROC_NAMES, 53 if (rusers(host, &up) != 0) 109 rnusers(host) 110 char *host; 114 if (rpc_call(host, RUSERSPROG, RUSERSVERS_3, RUSERSPROC_NUM, 117 if (rpc_call(host, RUSERSPROG, RUSERSVERS_IDLE, RUSERSPROC_NUM, 126 rusers(host, up) 127 char *host; [all...] |
/osnet-11/usr/src/lib/libfsmgt/common/ |
H A D | sys_info.c | 41 char host[MAXHOSTNAMELEN + 1]; local 45 if (gethostname(host, sizeof (host)) == -1) { 50 ret_val = strdup(host);
|
/osnet-11/usr/src/lib/libresolv2/common/inet/ |
H A D | inet_makeaddr.c | 47 * Formulate an Internet address from network + host. Used in 51 inet_makeaddr(net, host) 52 u_long net, host; 57 a.s_addr = (net << IN_CLASSA_NSHIFT) | (host & IN_CLASSA_HOST); 59 a.s_addr = (net << IN_CLASSB_NSHIFT) | (host & IN_CLASSB_HOST); 61 a.s_addr = (net << IN_CLASSC_NSHIFT) | (host & IN_CLASSC_HOST); 63 a.s_addr = net | host;
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Net/ |
H A D | Domain.pm | 21 my($host,$domain,$fqdn) = (undef,undef,undef); 28 return $host 29 if(defined $host); 37 $host = gethostbyaddr($a,Socket::AF_INET()); 38 last if defined $host; 40 if (defined($host) && index($host,'.') > 0) { 41 $fqdn = $host; 42 ($host,$domain) = $fqdn =~ /^([^\.]+)\.(.*)$/; 44 return $host; [all...] |
/osnet-11/usr/src/lib/libsocket/inet/ |
H A D | inet_mkaddr.c | 46 * Formulate an Internet address from network + host. Used in 50 inet_makeaddr(ipaddr_t net, ipaddr_t host) argument 56 addr = (net << IN_CLASSA_NSHIFT) | (host & IN_CLASSA_HOST); 58 addr = (net << IN_CLASSB_NSHIFT) | (host & IN_CLASSB_HOST); 60 addr = (net << IN_CLASSC_NSHIFT) | (host & IN_CLASSC_HOST); 62 addr = net | host;
|
/osnet-11/usr/src/cmd/sendmail/cf/sh/ |
H A D | makeinfo.sh | 84 host=`hostname` 86 host=`uname -n` 93 echo '#####' built by $user@$host on `date` 95 echo '#####' built automatically @$host on `date` 99 echo "define(\`__HOST__', $host)dnl"
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Net/demos/ |
H A D | ftp | 14 foreach $host (@ARGV) 16 $ftp = Net::FTP->new($host, @firewall, Debug => $opt_debug ? 1 : 0);
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | dnssrv.c | 46 free(p->host); 65 char host[MAXDNAME]; local 87 krb5int_buf_init_fixed(&buf, host, sizeof(host)); 101 if (len > 0 && host[len - 1] != '.') 108 fprintf (stderr, "sending DNS SRV query for %s\n", host); 111 size = krb5int_dns_init(&ds, host, C_IN, T_SRV); 130 nlen = krb5int_dns_expand(ds, p, host, sizeof(host)); 149 if (asprintf(&srv->host, " [all...] |
H A D | hst_realm.c | 39 Figures out the Kerberos realm names for host, filling in a 42 If host is NULL, the local host's realms are determined. 44 If there are no known realms for the host, the filled-in pointer is set 56 * this implementation only provides one realm per host, using the same 59 * Given a fully-qualified domain-style primary host name, 60 * return the name of the Kerberos realm for the host. 72 * host names should be in the usual form (e.g. FOO.BAR.BAZ) 121 /* Get the local host name, try to make it fully-qualified. 135 krb5_get_host_realm(krb5_context context, const char *host, cha argument 282 char local_host[MAXDNAME+1], host[MAXDNAME+1]; local 379 krb5int_clean_hostname(krb5_context context, const char *host, char *local_host, size_t lhsize) argument [all...] |
/osnet-11/usr/src/lib/pam_modules/rhosts_auth/ |
H A D | rhosts_auth.c | 54 char *host = NULL, *lusername = NULL; local 71 if (pam_get_item(pamh, PAM_RHOST, (void **) &host) != PAM_SUCCESS) 80 if (host == NULL || *host == '\0') 85 "rhosts authenticate: user = %s, host = %s", 86 lusername, host); 98 return (ruserok(host, is_superuser, rusername, lusername)
|
/osnet-11/usr/src/lib/libnsl/nss/ |
H A D | getipnodeby.c | 309 nssout.nss.host.hent = buf6->result; 310 nssout.nss.host.herrno_p = error_num; 344 nssin.arg.nss.host.name = name; 345 nssin.arg.nss.host.buf = buf4->buffer; 346 nssin.arg.nss.host.buflen = buf4->buflen; 347 nssout.nss.host.hent = buf4->result; 348 nssout.nss.host.herrno_p = error_num; 526 nssin.arg.nss.host.addr = (const char *)tmpbuf; 528 nssin.arg.nss.host.addr = (const char *)addr6; 530 nssin.arg.nss.host 846 struct hostent *host; local 1080 struct hostent *host; local [all...] |
H A D | gethostbyname_r.c | 127 nssin.arg.nss.host.name = nam; 128 nssin.arg.nss.host.buf = buffer; 129 nssin.arg.nss.host.buflen = buflen; 131 nssout.nss.host.hent = result; 132 nssout.nss.host.herrno_p = h_errnop; 143 return (nssout.nss.host.hent); 170 nssin.arg.nss.host.addr = addr; 171 nssin.arg.nss.host.len = length; 172 nssin.arg.nss.host.type = type; 173 nssin.arg.nss.host [all...] |
/osnet-11/usr/src/lib/libresolv2/common/irs/ |
H A D | getnetgrent.c | 68 #define INNETGR_ARGS const char *netgroup, const char *host, \ 75 return (innetgr_p(netgroup, host, user, domain, net_data)); 79 getnetgrent(NGR_R_CONST char **host, NGR_R_CONST char **user, argument 90 DE_CONST(ch, *host); 118 innetgr_p(const char *netgroup, const char *host, argument 125 return ((*ng->test)(ng, netgroup, host, user, domain)); 129 getnetgrent_p(const char **host, const char **user, const char **domain, argument 135 return ((*ng->next)(ng, host, user, domain));
|
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | clnt_simple.c | 65 char host[MAXHOSTNAMELEN]; /* Servers host */ member in struct:rpc_call_private 84 * the future calls to same prog, vers, host and nettype combination. 89 rpc_call(const char *host, const rpcprog_t prognum, const rpcvers_t versnum, argument 124 strcmp(rcp->host, host) == 0 && 134 rcp->client = clnt_create(host, prognum, versnum, nettype); 151 if ((strlen(host) < (size_t)MAXHOSTNAMELEN) && 153 (void) strcpy(rcp->host, host); [all...] |
/osnet-11/usr/src/lib/libresolv2/include/arpa/ |
H A D | port_inet.h | 27 struct in_addr inet_makeaddr(ulong_t net, ulong_t host);
|
/osnet-11/usr/src/lib/libfedfs/common/ |
H A D | stringtools.c | 33 * Take an array of 'host:/path' strings and convert it to something 55 locs[i]->host = strdup(loclist[i]); 58 if (locs[i]->host == NULL || locs[i]->path == NULL) { 62 if (locs[j]->host != NULL) 63 free(locs[j]->host);
|
H A D | nsdb_lookup.c | 40 char *host; member in struct:nsdb_cache_node 63 newlocs[i]->host = strdup(locations[i]->host); 64 if (newlocs[i]->host == NULL) 93 nsdb_lookup_flush(char *host, int port, char *uuid) argument 101 if (strcmp(host, n->host) == 0 && port == n->port && 114 free(n->host); 125 cache_nsdb(char *host, int port, char *uuid, int numloc, nsdb_entry_t **locs) argument 133 fprintf(stderr, "cache_nsdb: caching %s/%d/%s\n", host, por 198 nsdb_lookup_cache(char *host, int port, char *uuid, nsdb_entry_t ***locations) argument 260 nsdb_lookup(char *host, int port, char *uuid, int fstype, nsdb_entry_t ***locations) argument [all...] |
/osnet-11/usr/src/cmd/sendmail/src/ |
H A D | domain.c | 65 ** GETFALLBACKMXRR -- get MX resource records for fallback MX host. 74 ** host -- the name of the fallback MX host. 88 getfallbackmxrr(host) 89 char *host; 97 if (host == NULL || *host == '\0') 102 if (host[0] == '[') 104 fbhosts[0] = host; 114 NumFallbackMXHosts = getmxrr(host, fbhost [all...] |