Searched defs:host (Results 176 - 200 of 252) sorted by relevance

1234567891011

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dlocaladdr.c27 * Return the protocol addresses supported by this host.
124 * Return all the protocol addresses of this host.
129 * host part.
1443 static struct hostent host; local
1469 host.h_name = 0;
1470 host.h_aliases = 0;
1471 host.h_addrtype = AF_INET;
1472 host.h_length = 4;
1473 host.h_addr_list = ip_ptrs;
1477 return &host;
1486 char host[64]; /* Name of local machine */ local
[all...]
H A Dsendto_kdc.c1287 size_t n_conns, host; local
1340 for (host = 0; host < n_conns; host++) {
1341 retval = setup_connection(&conns[host],
1342 addrs->addrs[host].ai,
1353 for (host = 0; host < n_conns; host++) {
1355 dprint("host
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dfake-addrinfo.c96 + Upgrade host requirements to include working implementations of
331 char *host, size_t hostlen, char *serv, size_t servlen,
334 return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags);
491 char *host, socklen_t hostlen,
684 queries for the same host when we get different services.
925 char *host, socklen_t hostlen,
950 if (host) {
962 strncpy(host, tmpbuf, hlen);
967 strncpy (host, p, hlen);
984 strncpy (host, h
330 system_getnameinfo(const struct sockaddr *sa, socklen_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags) argument
924 fake_getnameinfo(const struct sockaddr *sa, socklen_t len, char *host, socklen_t hostlen, char *service, socklen_t servicelen, int flags) argument
1082 getnameinfo(const struct sockaddr *sa, socklen_t len, char *host, socklen_t hostlen, char *service, socklen_t servicelen, int flags) argument
[all...]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_connect.c253 "a host name. Returning "
315 "a host name. Returning "
337 /* Get the host */
350 /* Get the host FQDN format */
695 char *hReq, *host = NULL; local
748 "a host name. Returning "
809 if (host == NULL)
813 rc = __s_api_requestServer(hReq, host, &sinfo, errorp,
816 (host && (strcasecmp(host, sinf
[all...]
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dctx.c460 * "//[[domain;]user[:password]@]host[/share[/path]]"
470 char *host, *share, *path; local
483 dom = usr = pw = host = NULL;
497 p = tmp + 2; /* user@host... */
503 (void) unpercent(p); /* host component */
506 * Parse the "host" stuff right to left:
511 host = strrchr(p, '@');
512 if (host == NULL) {
513 host = p; /* no user@ prefix */
515 *host
[all...]
/illumos-gate/usr/src/lib/libvscan/common/
H A Dlibvscan.c60 #define VS_PNAME_SE_HOST "host"
303 * If the enable property is set (true), the host property is
333 /* If getting enable, get the host property too */
344 * If the host is invalid and the enable property is on,
365 * a host property must also be specified, or already exist in the
396 * if enabling a scan engine, ensure that a valid host
490 return (gettext("invalid host"));
1246 vs_is_valid_host(const char *host) argument
1251 if (!host || *host
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dirpmarshall.c591 want host order to make the marshalled data look correct */
1133 * int irp_marshall_ng(const char *host, const char *user,
1147 irp_marshall_ng(const char *host, const char *user, const char *domain, argument
1158 need += (host == NULL ? 0 : strlen(host));
1184 if (host != NULL)
1185 strcat(*buffer, host);
1204 * int irp_unmarshall_ng(const char **host, const char **user,
1225 char *host, *user, *domain; local
1233 host
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetutx.c496 char host[sizeof (entryx->ut_host) + 1]; local
528 (void) strlcpy(host, entryx->ut_host, sizeof (host));
543 argvec[13] = host;
/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_lan.c808 struct hostent *host; local
868 if ((host = gethostbyname((const char *)ilp->il_host))
874 ilp->il_addr.sin_family = host->h_addrtype;
875 (void) memcpy(&ilp->il_addr.sin_addr, host->h_addr,
876 host->h_length);
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dos-ip.c469 * "defport" must be in host byte order
516 * Set krbinstancep (canonical name of host for use by Kerberos).
547 char *host; local
557 parse_err = ldap_x_hostlist_first( hostlist, defport, &host, &port,
559 while ( !connected && LDAP_SUCCESS == parse_err && host != NULL ) {
568 if (( address = inet_addr( host )) == -1 ) {
570 if (( hp = GETHOSTBYNAME( host, &hent, hbuf,
594 ldap_memfree( host );
599 if (( ldhp = ld->ld_dns_gethostbyname_fn( host,
612 ldap_memfree( host );
[all...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ssldap/
H A Dldapsinit.c264 char *host = NULL; local
308 , &host );
319 * Determine if the "host name" is an ip address. If so,
320 * we must look up the actual host name corresponding to
323 if ( NULL == host ) {
327 if (strlen(host) < INET6_ADDRSTRLEN &&
328 inet_pton(AF_INET6, host, &addr_ipv6) == 1) {
330 } else if (strlen(host) < INET_ADDRSTRLEN &&
331 inet_pton(AF_INET, host, &addr_ipv4) == 1) {
337 /* will free host i
[all...]
/illumos-gate/usr/src/cmd/vscan/vscand/
H A Dvs_icap.c200 * called per scan engine. If the scan engine host or port has
204 vs_icap_config(int idx, char *host, int port) argument
207 if (vs_icap_compare_se(idx, host, port) != 0) {
209 (void) strlcpy(vs_options[idx].vso_host, host,
1745 * compare host and port with that stored for engine idx
1750 vs_icap_compare_se(int idx, char *host, int port) argument
1755 if (strcmp(vs_options[idx].vso_host, host) != 0)
/illumos-gate/usr/src/cmd/ypcmd/
H A Dyppush.c87 static char *host = NULL; variable
152 "Can't find host %s in map \"ypservers\".\n";
222 {RPC_UNKNOWNHOST, "unknown host"},
223 {RPC_RPCBFAILURE, "rpcbind failure (host is down?)"},
358 host = *argv;
442 printf("Verifying YP server: %s\n", host);
451 keylen = strlen(host);
453 if (yp_match(domain_alias, ypservers, host, keylen,
455 fprintf(stderr, err_cant_find_host, host);
459 add_server(host, keyle
[all...]
/illumos-gate/usr/src/lib/auditd_plugins/binfile/
H A Dbinfile.c283 * list or remote host info from the audit_binfile
515 static char host[MAXHOSTNAMELEN + 1] = ""; local
518 if (host[0] == '\0')
519 (void) gethostname(host, MAXHOSTNAMELEN);
526 current_dir->dl_dirname, auditdate, host);
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/client/
H A DpmTop.java69 Host host = new Host(); field in class:pmTop
430 "Host:") + " " + host.getLocalHostName());
444 host.getDomainName());
818 if ((host.getLocalHostName()).equals(selprinterServer) ||
1185 host.getLocalHostName());
1201 host.getDomainName());
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drlogin.c156 static char *host; variable
249 "[-k realm] [-l username] host"),
325 * create links named by a host pointing to the binary and type
326 * "hostname" to log into that host afterwards.
335 host = argv[1];
341 host = cmd;
396 * Force the remote host to prompt for a password by sending
453 if (host == NULL) {
457 host = *argv++;
633 * it to host
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rarpd.c73 #define MAXHOSTL 128 /* max host name length */
83 ipaddr_t if_netmask; /* host order */
84 ipaddr_t if_ipaddr; /* host order */
85 ipaddr_t if_netnum; /* host order, with subnet */
909 char host[MAXHOSTL]; local
927 if (ether_ntohost(host, (struct ether_addr *)laddr) != 0 ||
928 !(hp = gethostbyname_r(host, &res, hbuffer, sizeof (hbuffer),
978 debug("got host entry but no IP address on this net");
/illumos-gate/usr/src/cmd/rpcbind/
H A Drpcbind.c976 check_hostserv(struct netconfig *nconf, const char *host, const char *serv) argument
980 const char *hostname = host;
984 if (strcmp(host, HOST_SELF) == 0)
986 else if (strcmp(host, HOST_SELF_CONNECT) == 0)
992 nh.h_host = (char *)host;
1000 syslog(LOG_ALERT, "netid %s: cannot find an address for host "
/illumos-gate/usr/src/cmd/rpcinfo/
H A Drpcinfo.c96 static void get_inet_address(/*struct sockaddr_in *addr, char *host*/);
107 static CLIENT *clnt_rpcbind_create(/* char *host, int vers */);
108 static CLIENT *getclnthandle(/* host, nconf, rpcbversnum */);
130 #define PROGPING 7 /* pings a program on a given host */
496 char *host; local
503 host = argv[0];
505 host = HOST_SELF_CONNECT;
507 get_inet_address(&server_addr, host);
536 host, host);
715 char *host; local
947 char *host; local
1060 char *host; local
[all...]
/illumos-gate/usr/src/cmd/avs/dscfglockd/
H A Ddscfglockd.c135 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),
935 dispatch(struct lock_msg *mp, daemonaddr_t *host) argument
1048 char host[1024]; local
[all...]
/illumos-gate/usr/src/cmd/avs/rdc/
H A Dsndrd.c1326 struct nd_hostservlist *host = NULL; local
1518 * Log the datagram error, then log the host that
1532 ret = netdir_getbyaddr(nconf, &host, &uderr->addr);
1533 if (ret != -1 && host && host->h_cnt > 0 &&
1534 host->h_hostservs) {
1537 "host name: %s; service port: %s",
1538 progname, host->h_hostservs->h_host,
1539 host->h_hostservs->h_serv);
1563 if (ret == 0 && host !
[all...]
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddump.h112 char *host; /* name of the remote tape host (may be "user@host") */ variable
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dcmds.c105 char *host; local
123 (void) printf("usage: %s host-name [port]\n", argv[0]);
128 host = hookup(argv[1], (argc > 2 ? argv[2] : "ftp"));
129 if (host) {
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_tbind.c314 "Cannot get address for transport %s host %s service %s",
881 struct nd_hostservlist *host = NULL; local
1071 * Log the datagram error, then log the host that
1084 ret = netdir_getbyaddr(nconf, &host, &uderr->addr);
1085 if (ret != -1 && host && host->h_cnt > 0 &&
1086 host->h_hostservs) {
1088 "Bad NFS response was sent to client with host name: %s; service port: %s",
1089 host->h_hostservs->h_host,
1090 host
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_proc.c90 static void add_to_host_array(char *host);
91 static int in_host_array(char *host);
629 * Notify lockd of host specified by mon_name that the specified state
680 * Create detached threads to process each host
789 create_client(char *host, int prognum, int versnum, char *netid, argument
798 client = clnt_create_timed(host, prognum, versnum,
808 client = clnt_tp_create_timed(host, prognum, versnum, nconf,
891 * Dump the host name-to-address translation table passed in `name_addr'.
969 * If a NULL hostname is given, then the name of the current host
1041 * the problem of a multi-homed host no
1152 in_host_array(char *host) argument
1177 add_to_host_array(char *host) argument
[all...]

Completed in 117 milliseconds

1234567891011