Searched defs:host (Results 201 - 225 of 252) sorted by relevance

1234567891011

/illumos-gate/usr/src/cmd/lms/
H A DProtocol.cpp1622 char host[FQDN_MAX_SIZE + 1]; local
1693 (3 == sscanf(line, LMS_LINE_SCAN_FORMAT, oldFqdn, host, tmpsige))
1729 memset(host, 0, FQDN_MAX_SIZE + 1);
1730 strncpy(host, fqdn, FQDN_MAX_SIZE);
1731 char *lmsdot = strchr(host, '.');
1738 fprintf(ofp, LMS_LINE_FORMAT "\n", fqdn, host);
/illumos-gate/usr/src/ucbcmd/shutdown/
H A Dshutdown.c86 char *host; member in struct:hostlist
403 rwarn(hl->host, sdt, nowtime, f, first);
572 rwarn(char *host, time_t sdt, time_t now, char *type, int first) argument
605 rprintf(host, mbuf);
609 rprintf(char *host, char *bufp) argument
614 (void) fprintf(stderr, gettext("about to call %s\n"), host);
616 if (err = callrpcfast(host, (rpcprog_t)WALLPROG, (rpcvers_t)WALLVERS,
709 if (strcmp(ml->ml_hostname, hl->host) == 0)
712 hl->host = ml->ml_hostname;
725 callrpcfast(char *host, rpcprog_ argument
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/stmf/
H A Dlun_map.c136 /* free all the host group */
203 * take all host/target group into consideration
520 /* This host belongs to the host group */
656 /* Return the host group which a host belong to */
661 stmf_id_data_t *host; local
667 host = stmf_lookup_id(
670 if (host)
813 * add host grou
[all...]
/illumos-gate/usr/src/lib/libadutils/common/
H A Dadutils.c57 static void delete_ds(adutils_ad_t *ad, const char *host, int port);
559 delete_ds((*ad), p->host, p->port);
605 adh->ld = ldap_init(adh->host, adh->port);
608 "%s port %d failed. (%s)", adh->host,
636 "%s port %d failed. (%s)", adh->host, adh->port,
642 adh->host, adh->port);
754 /* Free this host if its owner no longer exists. */
757 delete_ds(NULL, adh->host, adh->port);
766 adutils_add_ds(adutils_ad_t *ad, const char *host, int port) argument
778 if (strcmp(host,
834 delete_ds(adutils_ad_t *ad, const char *host, int port) argument
[all...]
/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Djob.c187 "job-originating-host-name", &hostname);
190 char host[BUFSIZ]; local
192 if (gethostname(host, sizeof (host)) == 0)
195 "job-originating-host-name",
196 host);
235 * host info also
269 static char host[256]; local
270 if (gethostname(host,
271 sizeof (host))
[all...]
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_nic.c103 int nl_hcnt; /* number of host names */
172 * Gets the number of interfaces for the specified host.
173 * if host is NULL then total number of interfaces
317 * Adds an association between the given host and the specified interface
323 * host: actual system's name (not Netbios name)
325 * the specified host. Can be NULL.
332 smb_nic_addhost(const char *host, const char *cmnt, argument
340 if ((host == NULL) || (if_num <= 0) || (if_names == NULL))
364 rc = smb_nic_dbaddhost(host, cmnt, if_list);
373 * Removes the stored interface association for the specified host
376 smb_nic_delhost(const char *host) argument
804 char *host; local
1066 smb_nic_dbaddhost(const char *host, const char *cmnt, char *if_list) argument
1099 smb_nic_dbdelhost(const char *host) argument
[all...]
H A Dsmb_util.c345 * Determines whether the specified host is in the given access list.
354 * 0 not found (host is not in the list or list is NULL)
364 char *host; local
492 host = clnames->h_hostservs[i].h_host;
501 if (strchr(host, '.') == NULL)
504 off = strlen(host) - strlen(gr);
506 strcasecmp(host + off, gr) == 0) {
512 if (strcasecmp(gr, host) == 0)
542 * Note that this routine establishes a host membership
557 char *host; local
[all...]
/illumos-gate/usr/src/cmd/make/bin/
H A Dparallel.cc94 static pid_t run_rule_commands(char *host, char **commands);
1761 run_rule_commands(char *host, char **commands) argument
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dndp.c570 * Take a host identifier, find the corresponding IPv6 addresses and then pass
574 ndp_host_enumerate(char *host, ndp_addr_f *addr_func, void *data) argument
586 err = getaddrinfo(host, NULL, &hints, &serverinfo);
593 warnx("Unable to lookup %s: %s", host,
600 warnx("Failed multiple times to lookup %s", host);
839 * Given a host identifier, a link-layer address and possible options,
843 ndp_set_nce(char *host, char *lladdr, char *opts[], int optlen) argument
910 return (ndp_host_enumerate(host, ndp_set, &nd_attrs));
920 char *host, *lladdr; local
939 host
[all...]
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_parse.c1277 * a) host[(penalty)][,host[(penalty)]]... :/directory
1278 * b) host[(penalty)]:/directory[ host[(penalty)]:/directory]...
1439 char *host; local
1443 host = dirname+2;
1444 path = strchr(host, '/');
1448 host);
1453 sport = strchr(host, ':');
1477 mfs->mfs_host = strdup(host);
[all...]
/illumos-gate/usr/src/lib/libdns_sd/java/common/
H A DJNISupport.c487 jstring domain, jstring host, jint port, jbyteArray txtRecord)
510 const char *hostStr = SafeGetUTFChars( pEnv, host);
536 SafeReleaseUTFChars( pEnv, host, hostStr);
485 Java_com_apple_dnssd_AppleRegistration_BeginRegister( JNIEnv *pEnv, jobject pThis, jint ifIndex, jint flags, jstring serviceName, jstring regType, jstring domain, jstring host, jint port, jbyteArray txtRecord) argument
/illumos-gate/usr/src/cmd/auditreduce/
H A Dtoken.c1781 * Format of host token:
1782 * host ard_uint32
1787 uint32_t host; local
1789 adrm_u_int32(adr, &host, 1);
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_common.c1186 char **host; local
1191 for (host = Servers; *host != NULL; host++) {
1192 if (__s_api_removeServer(*host) < 0) {
1198 "not remove %s from servers list", *host);
1403 "host when processing "
1423 * 1 for host and prot separator ":"
1437 * serverAddr = host:port
1439 * if host i
[all...]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_printf.c521 struct hostent *host, res; local
530 if ((host = gethostbyaddr_r(inetaddr, NS_INADDRSZ,
532 return (dt_printf(dtp, fp, format, host->h_name));
534 if ((host = getipnodebyaddr(inetaddr, NS_IN6ADDRSZ,
536 return (dt_printf(dtp, fp, format, host->h_name));
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgweb.c1211 char *host = NULL, *portstr = NULL, *path = "/", *p, *q, *r; local
1224 if (OCSP_parse_url(uri, &host, &portstr, &path, &use_ssl) == NULL) {
1270 /* connect to host, or proxy */
1290 if ((cbio = BIO_new_connect(host)) == NULL) {
1299 host, port);
1315 pkgerr_add(err, PKGERR_PARSE, gettext(ERR_OCSP_SEND), host);
1321 pkgerr_add(err, PKGERR_PARSE, gettext(ERR_OCSP_SEND), host);
1337 gettext(ERR_OCSP_READ), host);
1464 pkgerr_add(err, PKGERR_PARSE, gettext(ERR_OCSP_READ), host);
1484 pkgerr_add(err, PKGERR_PARSE, gettext(ERR_OCSP_READ), host);
[all...]
/illumos-gate/usr/src/common/net/wanboot/
H A Dboot_http.c102 struct sockaddr_in host_addr; /* Address of host */
1581 * reqtypename + " http://" + host + ":" + port + path +
1966 * hostname - the host to connect to
1974 * This function established a connection to the target host. When
2068 * proxy_connect - Set up a proxied TCP connection to the target host.
2081 * the request to connect to the target host. It reads the response
2171 * ret = check_cert_chain(c_id, host);
2175 * host - Name to compare with the common name in the certificate.
2182 check_cert_chain(http_conn_t *c_id, char *host) argument
2216 "server cert's peer_CN is %s, host i
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dmain.c2485 * host and port.
2496 u_int32_t host; local
2501 /* parse host:port and resolve host to an IP address */
2510 error("Can't parse host:port for socket destination");
2516 error("Can't parse host:port for socket destination");
2520 host = inet_addr(dest);
2521 if (host == (u_int32_t) -1) {
2524 error("%s: unknown host in socket option", dest);
2528 BCOPY(hent->h_addr_list[0], &host, sizeo
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drcp.c542 char *host, *src, *suser, *thost, *tuser; local
573 host = search_char((unsigned char *)argv[i], '@');
574 if (host) {
575 *host++ = 0;
576 host = removebrackets(host);
587 (void) addargs(arglist, "rsh", host, "-l",
590 host = removebrackets(argv[i]);
594 (void) addargs(arglist, "rsh", host, "-n", cmd,
601 host
793 char *host, *src, *suser, *lhost; local
[all...]
H A Dfinger.c119 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...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute.c76 /* store the information about a host */
247 struct addrinfo *ai_dst = NULL; /* destination host */
444 * probe (e.g., on a multi-homed host).
492 " directly to a host on an attached network (-r)\n",
635 * print "unknown host" message
638 print_unknown_host_msg(const char *protocol, const char *host) argument
640 Fprintf(stderr, "%s: unknown%s host %s\n", prog, protocol, host);
644 * resolve destination host and gateways
680 /* we couldn't resolve a gateway as an IPv6 host */
705 get_hostinfo(char *host, int family, struct addrinfo **aipp) argument
[all...]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Ddeliver.c303 ** set, send directly to the fallback MX host.
896 message("deliverable: mailer %s, host %s, user %s",
1115 ** COLONCMP -- compare host-signatures up to first ':' or EOS
1117 ** This takes two strings which happen to be host-signatures and
1127 ** a - first host-signature
1128 ** b - second host-signature
1205 ** If the host was not found or a temporary failure occurred
1207 ** tried it), then make one last try with it as the host.
1228 ** This routine delivers to everyone on the same host as the
1236 ** Piggybacking occurs when an existing connection to a mail host ca
1291 char *host; /* host being sent to */ local
2945 char *host = NULL; local
[all...]
H A Dmain.c1389 ** Find our real host name for future logging.
1522 action = "purge host status";
1637 /* don't have persistent host status in test mode */
1772 message("WARNING: local host name (%s) is not qualified; see cf/README: WHO AM I?",
1899 /* check host status directory for validity */
4296 char host[MAXHOSTNAMELEN]; local
4304 else if (sm_strlcpy(host, p, sizeof(host)) >= sizeof(host))
4310 (void) getcanonname(host, sizeo
[all...]
/illumos-gate/usr/src/cmd/backup/restore/
H A Dtape.c38 char *host; /* used in dumprmt.c */ variable
59 static int hostinfo; /* Have dump host information */
107 host = source;
108 tape = strchr(host, ':');
115 if (rmthost(host, ntrec) == 0)
124 host = NULL;
199 } else if (host) {
530 if (host)
532 "Mount volume %d\nthen enter volume name on host %s (default: %s) "),
533 newvol, host, magtap
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dftp.c175 hookup(char *host, char *service) argument
188 * ai_family is set to AF_INET6, and the host is a v4-only
189 * host, getaddrinfo() returns an error instead of returning
200 error_num = getaddrinfo(host, service, &hints, &ai);
204 "%s: unknown host or invalid literal address "
205 "(try again later)\n", host);
208 "%s: unknown host or invalid literal address\n",
209 host);
231 * It can even be the case that the "host" supplied by the user
234 if ((inet_pton(AF_INET6, host,
358 login(char *host) argument
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/mount/
H A Dmount.c430 pr_err(gettext("nfs file system; use [host:]path\n"));
444 char *host; local
466 if (strcmp(list[i].host, "nfs") == 0 && strncmp(list[i].path,
476 host = list[i].path+2;
477 path = strchr(host, '/');
487 if (*host == '[') {
488 cb = strchr(host, ']');
496 host++;
503 sport = strchr(host, ':');
516 host
[all...]

Completed in 398 milliseconds

1234567891011