/opensolaris-onvv-gate/usr/src/cmd/ypcmd/ |
H A D | ypwhich.c | 42 * ypwhich [-d domain] [-m [mname] [-t] | [-Vn] host] 49 * bind process on the named host, or to the local ypbind process if no host 81 static char *host = NULL; variable 95 ypwhich [-d domain] [[-t] -m [mname] | [-Vn] host]\n\ 99 host if specified, is the machine whose NIS server is to be found.\n\ 171 if (!host) 284 host = *argv; 287 if ((int)strlen(host) > 256) { 335 host [all...] |
H A D | ypinit.sh | 48 host="" 165 host=`uname -n` 169 echo "Can't get local host's name. Please check your path." 173 if [ -z "$host" ] 175 echo "The local host's name hasn't been set. Please set it." 183 echo "Can't get local host's domain name. Please check your path." 189 echo "The local host's domain name hasn't been set. Please set it." 238 echo $host > $hf 239 echo "\tnext host to add: $host" [all...] |
/opensolaris-onvv-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | dnsglue.c | 80 char *host, int nclass, int ntype) 128 len = res_nsearch(&statbuf, host, ds->nclass, ds->ntype, 131 len = res_search(host, ds->nclass, ds->ntype, 255 char host[MAXDNAME]; local 275 p, host, sizeof(host)); 299 char host[MAXDNAME]; local 311 p, host, sizeof(host)); 79 krb5int_dns_init(struct krb5int_dns_state **dsp, char *host, int nclass, int ntype) argument
|
/opensolaris-onvv-gate/usr/src/cmd/rpcsvc/ |
H A D | rusers.c | 55 #define HMAX 16 /* "Logged in" host name. */ 71 static int hflag; /* host: sort by machine name */ 97 * rusers [-ahilu] [host...] 245 char host[MACHINELEN + 1]; local 256 (void) sprintf(host, "%.*s", MACHINELEN, 259 (void) sprintf(host, "%.*s", MACHINELEN, 283 if (strcmp(entryp->machine, host) == 0) 286 return (print_info((struct utmpidlearr *)resultsp, host)); 294 char host[MACHINELEN + 1]; local 298 (void) sprintf(host, " 371 char host[MACHINELEN + 1]; local 420 char host[MACHINELEN + 1]; local 534 putline_2(char *host, struct utmpidle *uip) argument 577 putline_3(char *host, rusers_utmp *rup) argument [all...] |
/opensolaris-onvv-gate/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | lpstat.c | 181 if ((u->host == NULL) || 182 (strcasecmp(u->host, "localhost") == 0) || 183 (strcasecmp(u->host, nodename) == 0)) 187 printer_name, u->host); 226 if ((u->host == NULL) || 227 (strcasecmp(u->host, "localhost") == 0) || 228 (strcasecmp(u->host, nodename) == 0)) 236 u->host?u->host:"localhost", uri); 332 get_remote_hostname(papi_attribute_t **attrs, char **host) argument 509 char *host = NULL; local 797 char *host = NULL; local [all...] |
/opensolaris-onvv-gate/usr/src/lib/libshell/common/scripts/ |
H A D | rssread.sh | 60 typeset host 143 _.host="${_.path1%%/*}" 145 _.port="${_.host##*:}" 191 openssl s_client -quiet -connect "${_.host}:${_.port}" <"${_.ssl.fifo.in}" >>"${_.ssl.fifo.out}" & 195 redirect {_.netfd.in}<> "/dev/tcp/${_.host}/${_.port}" 226 # If URL did not contain a port number in the host part then look at the 228 if [[ "${_.port}" == "${_.host}" ]] ; then 235 _.host="${_.host%:*}" 238 printmsg "protocol=${_.protocol} port=${_.port} host [all...] |
/opensolaris-onvv-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/ |
H A D | DoPrinterNS.c | 44 const char *host, 60 const char *host, 79 const char *host; local 90 host = (*env)->GetStringUTFChars(env, jhost, 0); 96 ret = _dorexec(host, user, passwd, cmd, locale); 227 const char *host = NULL; local 244 host = (*env)->GetStringUTFChars(env, jhost, 0); 266 ret = _updateldap(action, host, binddn, passwd, printername,
|
H A D | NS.c | 55 char *host = THOSTNAME; local 60 result = _updateldap("add", host, user, passwd, 66 result = _updateldap("delete", host, user, passwd, 72 result = _updateldap("delete", host, user, passwd, TPRINTERNAME, 78 result = _updateldap("delete", host, user, passwd, "_default", 84 result = _updateldap("add", host, user, passwd, TPRINTERNAME, 90 result = _updateldap("modify", host, user, passwd, TPRINTERNAME, 96 result = _updateldap("modify", host, user, passwd, TPRINTERNAME, 110 const char *host, 134 fd = rexec((char **)&host, hton 109 _dorexec( const char *host, const char *user, const char *passwd, const char *cmd, const char *locale) argument 239 char *host; member in struct:ns_cred 289 char *host = NULL; local 445 _updateldap( const char *action, const char *host, const char *binddn, const char *passwd, const char *printername, const char *printserver, const char *extensions, const char *comment, const char *isdefault) argument [all...] |
/opensolaris-onvv-gate/usr/src/cmd/ssh/ssh-keysign/ |
H A D | ssh-keysign.c | 64 valid_request(struct passwd *pw, char *host, Key **ret, u_char *data, argument 117 /* client host name, handle trailing dot */ 119 debug2("valid_request: check expect chost %s got %s", host, p); 120 if (strlen(host) != len - 1) 124 else if (strncasecmp(host, p, len - 1) != 0) 158 char *host; local 194 fatal("could not open any host key"); 234 if ((host = get_local_name(fd)) == NULL) 238 if (valid_request(pw, host, &key, data, dlen) < 0) 240 xfree(host); [all...] |
/opensolaris-onvv-gate/usr/src/head/rpcsvc/ |
H A D | bootparam_prot.x | 55 char host;
|
/opensolaris-onvv-gate/usr/src/lib/print/libprint/common/ |
H A D | nss_write.c | 219 remote_command(char *command, char *host) argument 226 if ((fd = rcmd_af(&host, htons(514), pw->pw_name, "root", 251 char *host = NULL; local 259 if ((yp_master(domain, (char *)map, &host) != 0) && 260 (yp_master(domain, "passwd.byname", &host) != 0)) 268 if (snprintf(rfile, sizeof (rfile), "root@%s:/etc/%s", host, map) >= 305 MAKE_EXCERPT, host, NIS_MAKEFILE) >= sizeof (cmd)) { 324 return (remote_command(cmd, host));
|
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Net/ |
H A D | Config.pm | 90 my $host = shift; 94 $host = inet_aton($host) or return -1; 95 $host = inet_ntoa($host); 98 my $quad = unpack("N",pack("C*",split(/\./,$host))); 157 Attempts to determine if a given host is outside your firewall. Possible 207 user Username for remote host 208 pass Password for remote host 211 remote.host Th [all...] |
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.bin/nc/ |
H A D | socks.c | 68 * Convert string representation of host (h) and service/port (p) into 70 * Indicate whether the host address is IPv4 (v4only) and numeric. 151 socks_connect(const char *host, const char *port, const char *proxyhost, argument 184 if (decode_addrport(host, port, (struct sockaddr *)&addr, 208 hlen = strlen(host); 210 errx(1, "host name too long for SOCKS5"); 216 (void) memcpy(buf + 5, host, hlen); 267 (void) decode_addrport(host, port, (struct sockaddr *)&addr, 295 if (strcspn(host, "\r\n\t []:") != strlen(host)) [all...] |
H A D | netcat.c | 133 char *host, *uport, *proxy; local 145 host = NULL; 244 host = argv[0]; 250 host = NULL; 254 host = argv[0]; 325 if (host == NULL) 327 s = unix_listen(host); 338 s = local_listen(host, uport, hints); 389 if ((s = unix_connect(host)) > 0 && !zflag) { 412 s = socks_connect(host, por 548 remote_connect(const char *host, const char *port, struct addrinfo hints) argument 619 local_listen(char *host, char *port, struct addrinfo hints) argument [all...] |
/opensolaris-onvv-gate/usr/src/cmd/wusbadm/ |
H A D | wusbadm.c | 92 /* load host/dev list helpers */ 113 { "host", no_argument, NULL, 'h'}, 119 "ID", /* host-id or dev-id */ 120 "STATE", /* host or device states */ 121 "TYPE", /* host or deivce types */ 141 { "host", required_argument, NULL, 'h'}, 160 { "host", required_argument, NULL, 'h'}, 166 /* remove/enable/disable host */ 168 { "host", required_argument, NULL, 'h'}, 191 { WUSBADM_NO_HOST, "host doe 879 parse_host_id(char *arg, uint8_t *host) argument 902 input_host_id(uint8_t *host) argument 945 find_dev_id(uint8_t host, uint16_t dev) argument [all...] |
/opensolaris-onvv-gate/usr/src/lib/print/libpapi-lpd/common/ |
H A D | lpd-port.c | 108 sock_connect(int sock, char *host, int timeout) argument 122 * Get the host address and port number to connect to. 124 if (host == NULL) { 132 if ((hp = getipnodebyname(host, AF_INET6, AI_DEFAULT, 140 if ((hp = gethostbyname(host)) == NULL) { 300 char host[BUFSIZ]; local 303 if (gethostname(host, sizeof (host)) != 0) 314 if (strncmp(++ptr, host, strlen(host)) ! 455 char *host = NULL; local 686 char *host = NULL, *queue = NULL; local [all...] |
/opensolaris-onvv-gate/usr/src/cmd/svr4pkg/pkgmk/ |
H A D | mkpkgmap.c | 365 static char host[PATH_MAX]; local 381 *host = '\0'; 389 return (srchroot(temp, host)); 408 (void) strlcpy(host, temp, sizeof (host)); 409 return (host); 413 (void) snprintf(host, sizeof (host), "%s/%s", rootp[nfp][i], 415 if ((stat(host, &statbuf) == 0) && 417 return (host); [all...] |
/opensolaris-onvv-gate/usr/src/cmd/svr4pkg/pkgchk/ |
H A D | ckentry.c | 291 char host[PATH_MAX+1]; local 293 (void) strcpy(host, pkgspool); 296 (void) strcat(host, "/install"); 298 (void) strcat(host, "/root"); 300 (void) strcat(host, "/reloc"); 303 (void) snprintf(path, sizeof (path), "%s/%s", host, 312 "%s.%d/%s", host, ept->volno,
|
/opensolaris-onvv-gate/usr/src/lib/libldap4/common/ |
H A D | open.c | 67 * "host" may be a space-separated list of hosts or IP addresses 75 ldap_open(char *host, int port) argument 80 if ((ld = ldap_init(host, port)) == NULL) { 252 open_ldap_connection(LDAP *ld, Sockbuf *sb, char *host, int defport, argument 266 if (host != NULL) { 267 for (p = host; p != NULL && *p != '\0'; p = q) { 326 * is returned on success, NULL on failure. "host" may be a 381 ldap_ssl_open(char *host, int port, char *keyname) argument 390 ld = ldap_open(host, port);
|
/opensolaris-onvv-gate/usr/src/lib/libsocket/inet/ |
H A D | ruserpass.c | 56 static void rnetrc(const char *host, char **aname, char **apass); 118 _ruserpass(const char *host, char **aname, char **apass) argument 122 rnetrc(host, aname, apass); 129 host, myname); 142 host, *aname); 150 rnetrc(const char *host, char **aname, char **apass) argument 179 if (token() != ID || strcmp(host, d->tokval))
|
/opensolaris-onvv-gate/usr/src/cmd/backup/lib/ |
H A D | rmtlib.c | 104 rmthost(char *host, uint_t blocksize) argument 126 rmtpeer = rmtpeer_malloc = strdup(host); 144 print(dgettext(domainname, "Lost connection to remote host.\n")); 157 char *tuser, *host, *device; local 176 host = strchr(rmtpeer, '@'); 177 if (host) { 179 *host++ = 0; 180 rmtpeer = host; 184 host = rmtpeer; 188 device = strchr(host, ' [all...] |
/opensolaris-onvv-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | is_local_host.c | 48 * Given a host name, check to see if it points to the local host. 51 * The strategy is this: translate the host name argument to a list of 53 * network interfaces on this host. 56 is_local_host(char *host) argument 62 if (hp = getipnodebyname((const char *) host, AF_INET, flags, &err)) 65 if (hp = getipnodebyname((const char *) host, AF_INET6, flags, &err))
|
/opensolaris-onvv-gate/usr/src/lib/libnsl/rpc/ |
H A D | rpcb_clnt.c | 151 * block all clnt_create's if we are trying to connect to a host that's down, 158 * cache of rpcbind addresses for (host, netid). 162 check_cache(char *host, char *netid) argument 170 if ((strcmp(cptr->ac_host, host) == 0) && 175 host, netid); 211 add_cache(char *host, char *netid, struct netbuf *taddr, char *uaddr) argument 220 ad_cache->ac_host = strdup(host); 237 (void) fprintf(stderr, "Added to cache: %s : %s\n", host, netid); 298 getclnthandle(char *host, struct netconfig *nconf, char **targaddr) argument 300 return (_getclnthandle_timed(host, ncon 310 _getclnthandle_timed(char *host, struct netconfig *nconf, char **targaddr, struct timeval *tp) argument 707 __rpcb_findaddr_timed(rpcprog_t program, rpcvers_t version, struct netconfig *nconf, char *host, CLIENT **clpp, struct timeval *tp) argument 1061 rpcb_getaddr(const rpcprog_t program, const rpcvers_t version, const struct netconfig *nconf, struct netbuf *address, const char *host) argument 1090 rpcb_getmaps(const struct netconfig *nconf, const char *host) argument 1143 rpcb_rmtcall(const struct netconfig *nconf, const char *host, const rpcprog_t prog, const rpcvers_t vers, const rpcproc_t proc, const xdrproc_t xdrargs, const caddr_t argsp, const xdrproc_t xdrres, const caddr_t resp, const struct timeval tout, struct netbuf *addr_ptr) argument 1209 rpcb_gettime(const char *host, time_t *timep) argument [all...] |
/opensolaris-onvv-gate/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | mountd.c | 293 char *host; local 302 host = NULL; 304 host = clnames->h_hostservs[0].h_host; 306 host = lq->ld_host; 308 audit_mountd_mount(host, lq->ld_path, lq->ld_status); /* BSM */ 312 mntlist_new(host, lq->ld_rpath); 692 anon_client(char *host) argument 707 if (host == NULL) 710 anon_hs->h_host = strdup(host); 729 char host[MAXIPADDRLE local 832 register char *host; local 1045 enqueue_logging_data(char *host, SVCXPRT *transp, char *path, char *rpath, int status, int error) argument 1141 char *host = NULL; local 1728 char *host; local 2613 char *host, *path, *remove_path; local 2665 char *host; local [all...] |
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | finger.c | 119 char host[HMAX+1]; /* null terminated remote host name */ member in struct:person 293 bcopy(u->ut_host, p->host, HMAX); 294 p->host[HMAX] = 0; 414 bcopy(u->ut_host, p->host, HMAX); 415 p->host[HMAX] = 0; 424 bcopy(u->ut_host, new->host, HMAX); 425 new->host[HMAX] = 0; 578 * tty, idle time, login time, and host. 619 if (*pers->host) { 1183 char *host; local [all...] |