/opensolaris-onvv-gate/usr/src/head/rpcsvc/ |
H A D | rusers.x | 38 string ut_host<RUSERS_MAXHOSTLEN>; /* host user logged on from */ 98 % char ut_host[16]; /* host name, if remote */ 115 %enum clnt_stat rusers(char *host, struct utmpidlearr *up); 116 %int rnusers(char *host);
|
/opensolaris-onvv-gate/usr/src/lib/libkmsagent/common/ |
H A D | KMSAgentSoapUtilities.cpp | 40 if (strlen(i_pSoap->host) > 0) 43 if (strncmp(i_pSoap->host, "::ffff:", 7) == 0) 45 strncpy(o_psPeerNetworkAddress, &i_pSoap->host[7], g_iMAX_PEER_NETWORK_ADDRESS_LENGTH); 49 strncpy(o_psPeerNetworkAddress, i_pSoap->host, g_iMAX_PEER_NETWORK_ADDRESS_LENGTH);
|
/opensolaris-onvv-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | nul_ng.c | 92 ng_next(struct irs_ng *this, const char **host, const char **user, argument 96 UNUSED(host); 105 const char *user, const char *host, const char *domain) 110 UNUSED(host); 104 ng_test(struct irs_ng *this, const char *name, const char *user, const char *host, const char *domain) argument
|
H A D | getnameinfo.c | 100 getnameinfo(sa, salen, host, hostlen, serv, servlen, flags) 103 char *host; 190 if (host == NULL || hostlen == 0U) { 192 * rfc2553bis says that host == NULL or hostlen == 0 means that 207 strcpy(host, hp->h_name); 217 if ((error = ip6_parsenumeric(sa, addr, host, 230 strcpy(host, numaddr); 238 ip6_parsenumeric(const struct sockaddr *sa, const char *addr, char *host, argument 256 strcpy(host, numaddr); 271 memcpy(host [all...] |
/opensolaris-onvv-gate/usr/src/cmd/ypcmd/ |
H A D | yppoll.c | 41 * yppoll [-h <host>] [-d <domainname>] mapname 43 * If the host is ommitted, the local host will be used. If host is specified 67 static char *host = NULL; variable 72 yppoll [ -h host ] [ -d domainname ] mapname\n\n"; 83 "Ill-formed response returned from ypserv on host %s.\n"; 114 if (!host) { 144 host = *argv; 147 if ((int)strlen(host) > 25 [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/inet/ilb/ |
H A D | ilb_alg_hash.c | 158 del_server(hash_server_t *tbl, size_t hash_size, ilb_server_t *host) argument 163 if (tbl[i].server == host) { 180 hash_server_del(ilb_server_t *host, void *alg_data) argument 187 ret = del_server(hash_alg->hash_tbl, hash_alg->hash_servers, host); 196 hash_alg->hash_enabled_servers, host); 201 ILB_SERVER_REFRELE(host); 224 hash_server_add(ilb_server_t *host, void *alg_data) argument 241 hash_alg->hash_tbl[hash_alg->hash_servers].server = host; 242 hash_alg->hash_tbl[hash_alg->hash_servers].enabled = host->iser_enabled; 245 if (!host 272 hash_server_enable(ilb_server_t *host, void *alg_data) argument 326 hash_server_disable(ilb_server_t *host, void *alg_data) argument [all...] |
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/utils/ |
H A D | libnetcfg.PL | 136 my $host; 139 foreach $host (@$hlist) 141 if(valid_host($host)) 143 push(@h, $host); 146 warn "Bad hostname: '$host'\n"; 206 my $host; 211 $host = ($ans =~ /(\S*)/)[0]; 213 if(!length($host) || valid_host($host)); 216 if $def eq $host; [all...] |
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/ |
H A D | syslog.pl | 34 $host = 'localhost' unless $host; # set $syslog'host to change 176 if ($host =~ /^\d+\./) { 177 @bytes = split(/\./,$host); 180 ($name,$aliases,$addrtype,$length,@addrs) = gethostbyname($host); 181 die "Can't lookup $host\n" unless $name;
|
/opensolaris-onvv-gate/usr/src/lib/libresolv/ |
H A D | res_gethost.c | 49 static struct hostent host; variable in typeref:struct:hostent 112 host.h_name = bp; 128 host.h_aliases = host_aliases; 131 host.h_addr_list = h_addr_ptrs; 162 host.h_name = bp; 163 return (&host); 175 if (n != host.h_length) { 184 host.h_length = n; 186 host.h_addrtype = (class == C_IN) ? AF_INET : AF_UNSPEC; 188 host [all...] |
/opensolaris-onvv-gate/usr/src/cmd/fs.d/nfs/showmount/ |
H A D | showmount.c | 80 char *host, hostbuf[256]; local 118 host = hostbuf; 121 host = argv[optind]; 137 cl = clnt_create(host, MOUNTPROG, MOUNTVERS, "circuit_n"); 140 cl = clnt_create(host, MOUNTPROG, MOUNTVERS, 144 clnt_pcreateerror(host); 153 printex(cl, host); 244 gettext("Usage: showmount [-a] [-d] [-e] [host]\n")); 259 printex(cl, host) 261 char *host; [all...] |
/opensolaris-onvv-gate/usr/src/lib/libnsl/nss/ |
H A D | gethostent.c | 109 struct hostent *host = (struct hostent *)ent; local 243 host->h_aliases = _nss_netdb_aliases(p, limit - p, 245 if (host->h_aliases == NULL) 254 if (host->h_aliases == 0) { 261 host->h_name = host->h_aliases[0]; 262 host->h_aliases++; 271 host->h_length = sizeof (struct in6_addr); 273 host->h_length = sizeof (struct in_addr); 275 host [all...] |
/opensolaris-onvv-gate/usr/src/cmd/wusbadm/ |
H A D | wusbd.c | 60 /* Restrict the max number association for one host to 200 */ 137 /* host-id / dev-id util funcs */ 153 /* enable/disable host funcs */ 215 wusbd_info("Stop all host before exit"); 375 /* check if host id exist */ 376 if ((host_cc = find_host_cc(asso_ctrl->host)) == NULL) { 377 wusbd_warn("wusbd_do_association:asso_ctrl.host = %d err = %s", 378 asso_ctrl->host, strerror(errno)); 382 if (get_host_path(asso_ctrl->host, host_path) < 0) { 383 wusbd_warn("wusbd_do_association:host 678 update_cc_list(const char *host) argument 2037 check_host(const char *host) argument 2107 stop_host(const char *host) argument 2148 start_host(const char *host) argument [all...] |
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.ftpd/ |
H A D | logwtmp.c | 84 void wu_logwtmp(char *line, char *name, char *host, int login) argument 123 (void) strncpy(utx.ut_host, host, sizeof(utx.ut_host)); 145 if (strlen(host) > UT_HOSTSIZE) { 146 if ((host = inet_htop(host)) == NULL) 147 host = "invalid hostname"; 184 #ifdef HAVE_UT_UT_HOST /* does have host in utmp */ 186 (void) strncpy(ut.ut_host, host, sizeof(ut.ut_host));
|
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Net/ |
H A D | Time.pm | 26 my($pname,$pnum,$host,$proto,$timeout) = @_; 32 my $hosts = defined $host ? [ $host ] : $NetConfig{$pname . '_hosts'}; 36 foreach $host (@$hosts) 38 $me = IO::Socket::INET->new(PeerAddr => $host, 106 print inet_time(); # use default host from Net::Config 110 print inet_daytime(); # use default host from Net::Config 122 Obtain the time on C<HOST>, or some default host if C<HOST> is not given 130 Obtain the time on C<HOST>, or some default host if C<HOST> is not given
|
H A D | Ping.pm | 51 # compatibility with the original Net::Ping. It accepts a host 53 # object and try pinging the host. The result of the ping is returned. 57 my ($host, # Name or IP number of host to ping 63 $p->ping($host); # Going out of scope closes the connection 337 # Description: Ping a host name or IP number with an optional timeout. 338 # First lookup the host, and return undef if it is not found. Otherwise 345 $host, # Name or IP number of host to ping 348 my ($ip, # Packed IP number of $host [all...] |
/opensolaris-onvv-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | getether.c | 69 char **host, **macaddress; local 75 host = __ns_ldap_getAttr(result->entry, _E_HOSTNAME); 76 if (host == NULL || host[0] == NULL || (strlen(host[0]) < 1)) { 86 be->buflen = strlen(host[0]) + strlen(macaddress[0]) + 1; /* ' ' */ 95 macaddress[0], host[0]); 115 * fully qualified host names (e.g., foo.bar.sun.com).
|
/opensolaris-onvv-gate/usr/src/cmd/avs/dscfglockd/ |
H A D | dscfglockd.c | 135 daemonaddr_t host; member in struct:lockdaemon 264 islocalhost(daemonaddr_t *host) argument 273 s1 = host; 330 send_lockmsg(ALIVE, (pid_t)0, &(ldp->host), 0); 344 if (cmp_addr(&(ldp->host), d) == 0) 364 if (cmp_addr(&(ldp->host), daemon) == 0) { 384 ldp->host = *daemon; 465 send_lockmsg(UNLOCK, (pid_t)0, &(ldp->host), 0); 516 &(ldp->host), 0); 603 &(ldp->host), 937 dispatch(struct lock_msg *mp, daemonaddr_t *host) argument 1050 char host[1024]; local [all...] |
/opensolaris-onvv-gate/usr/src/lib/libsocket/inet/ |
H A D | getnameinfo.c | 50 static int addzoneid(const struct sockaddr_in6 *sa, char *host, 69 * hostlen - length of caller supplied "host" buffer 75 * NI_NUMERICHOST - Always return numeric form of the host's 86 * host - return the nodename associcated with the IP address in the 87 * buffer pointed to by the "host" argument. 96 char *host, socklen_t hostlen, 133 * fill in "host" buffer that user passed in 138 /* Caller wants the host's numeric address */ 140 host, hostlen) == NULL) 145 /* Caller wants the name of host */ 95 getnameinfo(const struct sockaddr *sa, socklen_t salen, char *host, socklen_t hostlen, char *serv, socklen_t servlen, int flags) argument 278 addzoneid(const struct sockaddr_in6 *sa, char *host, size_t hostlen) argument [all...] |
/opensolaris-onvv-gate/usr/src/cmd/fs.d/nfs/dfmounts/ |
H A D | dfmounts.c | 112 * Print the filesystems on "host" that are currently mounted by a client. 116 pr_mounts(host) 117 char *host; 137 cl = clnt_create(host, MOUNTPROG, MOUNTVERS, "circuit_n"); 140 cl = clnt_create(host, MOUNTPROG, MOUNTVERS, 144 clnt_spcreateerror(host)); 200 " -", host, (*tb)->ml_directory); 263 (void) fprintf(stderr, gettext("Usage: dfmounts [-h] [host ...]\n"));
|
/opensolaris-onvv-gate/usr/src/cmd/sendmail/libmilter/ |
H A D | example.c | 51 char host[512]; local 67 if (gethostname(host, sizeof host) < 0) 68 snprintf(host, sizeof host, "localhost"); 74 snprintf(hbuf, sizeof hbuf, "%s@%s", p, host);
|
/opensolaris-onvv-gate/usr/src/cmd/ssh/libssh/common/ |
H A D | match.c | 170 * Tries to match the host name (which must be in all lowercase) against the 176 match_hostname(const char *host, const char *pattern, u_int len) argument 178 return match_pattern_list(host, pattern, len, 1); 186 match_host_and_ip(const char *host, const char *ipaddr, argument 195 if ((mhost = match_hostname(host, patterns, strlen(patterns))) == -1) 207 match_user(const char *user, const char *host, const char *ipaddr, argument 221 ret = match_host_and_ip(host, ipaddr, p);
|
/opensolaris-onvv-gate/usr/src/lib/libwrap/ |
H A D | misc.c | 132 struct hostent *tcpd_gethostbyname(host, af) 133 char *host; 144 return (hs = getipnodebyname(host, AF_INET6, 0, &err)); 146 hp = gethostbyname(host); 152 return (hs = getipnodebyname(host, AF_INET6, 0, &err)); 155 return gethostbyname(host);
|
/opensolaris-onvv-gate/usr/src/lib/print/libpapi-common/common/ |
H A D | misc.c | 172 match_interfaces(char *host) argument 183 /* cycle through the host db addresses */ 184 hp = getipnodebyname(host, AF_INET6, AI_ALL|AI_V4MAPPED, &errnum); 205 is_localhost(char *host) argument 210 if (strncasecmp(host, "localhost", 10) == 0) 215 if (strncasecmp(host, hostname, strlen(hostname)) == 0) 219 /* does it match one of the host's configured interfaces */ 220 if (match_interfaces(host) != 0)
|
/opensolaris-onvv-gate/usr/src/lib/nsswitch/files/common/ |
H A D | bootparams_getbyname.c | 103 char *p, *host, *limit; local 122 * we need to strip off the host name before returning it. 131 host = p; 139 if (strcasecmp(args->key.name, host) != 0) {
|
/opensolaris-onvv-gate/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | netgroup.c | 71 static int cache_check(char *host, char **grl, int grc, int *belong); 72 static void cache_enter(char *host, char **grl, int grc, int belong); 90 * Note that this routine establishes a host membership 105 char *host0, *host; local 160 host = clnames->h_hostservs[j].h_host; 163 1, &host, 216 cache_check(char *host, char **grl, int grc, int *belong) argument 257 if (strcasecmp(host, ce->cache_host) != 0) 283 cache_enter(char *host, char **grl, int grc, int belong) argument 293 entry->cache_host = strdup(host); [all...] |