/osnet-11/usr/src/lib/libfedfs/common/ |
H A D | smf_params.c | 37 * fedfs_smf_get_pg() - create a property group name based on host/port. 43 fedfs_smf_get_pg(char *host, int port) argument 50 sz = strlen(host) + 1 + strlen(sport) + 1 + 5; 54 (void) snprintf(buf, sz, "cred_%s_%s", host, sport); 66 * password, NCE and security details for a particular host/port. 72 fedfs_smf_lookup(char *host, int port, int prompt_pw) argument 78 pgname = fedfs_smf_get_pg(host, port); 330 * fedfs_smf_delete() - delete the SMF property group entry for host/port. 336 fedfs_smf_delete(char *host, int port) argument 344 pgname = fedfs_smf_get_pg(host, por 458 fedfs_smf_update(char *host, int port, nsdb_info_t *info) argument [all...] |
H A D | nsdb_primitives.c | 100 char *host, *url = NULL, *prefix, *certpath = NULL; local 115 host = "localhost"; 117 host = nsdb; 125 info = fedfs_smf_lookup(host, port, 0); 202 len = strlen(host) + 26; 206 rc = snprintf(url, len, "%s://%s:%d", prefix, host, port); 212 * Get a handle to an LDAP connection to host:port 456 nsdb_create_fsl(char *nsdb, char *host, char *path, char *annotations, argument 466 if (nsdb == NULL || host == NULL || path == NULL || 489 attrs[i]->mod_values = char_to_array(host, NUL [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | name.c | 181 * node is present, then node will represent the host. If the host is 183 * the first commponnet since we want host name that are relative to 236 * the host from the node. If node is not present we assume 237 * we're the local host. 243 * We only want the host part of a qualfied host name. We 254 * If node is null, assume local host. If domain is 297 char *host = strchr(input, '@'); local 301 /* If no host retur [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
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/libadutils/common/ |
H A D | adutils_impl.h | 116 char *host; member in struct:adutils_host
|
/osnet-11/usr/src/grub/grub2/util/ieee1275/ |
H A D | ofpath.c | 328 int host, bus, tgt, lun; local 337 sscanf(p, "%d:%d:%d:%d", &host, &bus, &tgt, &lun);
|
/osnet-11/usr/src/lib/auditd_plugins/remote/ |
H A D | audit_remote.h | 76 struct hostent *host; member in struct:hostlist_s
|
/osnet-11/usr/src/cmd/sendmail/src/ |
H A D | collect.c | 801 char *host; local 805 host = RealHostName; 806 if (host == NULL) 807 host = "localhost"; 818 problem, host, 822 problem, host, 826 problem, host,
|
H A D | envelope.c | 1025 char *host = RealHostName; local 1027 if (host == NULL) 1028 host = MyHostName; 1031 realname, MAXNAME, host);
|
H A D | mci.c | 55 ** Vixie. It is based on the long term host status code in KJS 318 ** MCI_GET -- get information about a particular host 321 ** host -- host to look for. 325 ** mci for this host (might be new). 329 mci_get(host, m) 330 char *host; 346 s = stab(host, ST_MCI + m->m_mno, ST_ENTER); 373 host, m->m_name); 383 host, 1262 char host[MAXHOSTNAMELEN]; local [all...] |
/osnet-11/usr/src/cmd/hal/probing/network-printer/ |
H A D | probe-snmp.c | 53 snmp_get_item(char *host, char *community, char *mib_item) argument 63 session.peername = host; 88 snmp_get_string(char *host, char *community, char *mib_item) argument 93 response = snmp_get_item(host, community, mib_item); 104 HAL_DEBUG(("snmp_get_string(%s, %s, %s): %s", host, community, mib_item,
|
/osnet-11/usr/src/lib/lvm/libmeta/common/ |
H A D | metarpcopen.c | 223 * hostname - Name of remote host 311 meta_client_create(char *host, rpcprog_t prognum, rpcvers_t version, argument 319 return (meta_client_create_retry(host, client_create_helper, 378 * are enabled on this host no matter which host the caller wants 380 * the local host, our RPC stuff is not going to work as expected.
|
/osnet-11/usr/src/lib/nsswitch/ldap/common/ |
H A D | gethostent.c | 35 /* host attributes filters */ 164 /* Get host names */ 189 /* Use the canonical name as the host name */ 262 * on fully qualified host names (foo.bar.sun.com) 294 /* Is this a request for a host.domain */ 296 char host[MAXHOSTNAMELEN]; local 300 /* separate host and domain. this function */ 306 if (chophostdomain(hname, host, domain) == -1) { 313 /* host.domain and host */ [all...] |
/osnet-11/usr/src/lib/libresolv2/common/irs/ |
H A D | lcl_ho.c | 108 struct hostent host; member in struct:pvt 401 pvt->host.h_addr_list = pvt->h_addr_ptrs; 402 pvt->host.h_length = len; 403 pvt->host.h_addrtype = af; 406 pvt->host.h_name = cp; 407 q = pvt->host.h_aliases = pvt->host_aliases; 424 return (&pvt->host);
|
H A D | dns_ho.c | 126 struct hostent host; member in struct:pvt 289 * function that looks up host names. 490 pvt->host.h_addrtype = AF_INET6; 491 pvt->host.h_length = IN6ADDRSZ; 616 * function that looks up host names. 718 pvt->host.h_addrtype = af; 719 pvt->host.h_length = size; 720 hname = pvt->host.h_name = NULL; 759 pvt->host.h_name = bp; 763 qname = pvt->host [all...] |
H A D | gethostent.c | 67 struct hostent host; member in struct:pvt 1017 * respect to host names) internet address specification for this AF. 1040 pvt->host.h_addrtype = af; 1043 pvt->host.h_length = NS_INADDRSZ; 1046 pvt->host.h_length = NS_IN6ADDRSZ; 1053 pvt->host.h_name = pvt->name; 1054 pvt->host.h_aliases = pvt->aliases; 1058 pvt->host.h_addr_list = pvt->addrs; 1060 return (&pvt->host);
|
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | open.c | 414 * "host" may be a space-separated list of hosts or IP addresses 423 ldap_open( const char *host, int port ) argument 429 if (( ld = ldap_init( host, port )) == NULL ) { 644 * Return the first host and port in hostlist (setting *hostp and *portp). 646 * Note that a NULL or zero-length hostlist causes the host "127.0.0.1" to 682 * Return the next host and port in hostlist (setting *hostp and *portp). 712 /* copy host into *hostp */ 722 } else { /* last host */
|
H A D | request.c | 645 sprintf( msg, "* host: %s port: %d secure: %s%s\n", 1027 * - no hostport (no host, no port) provided in LDAP URL, use those 1029 * - no port but a host, use default LDAP port 1272 char *p, *domain, *host, *server_dn, **dxs; local 1293 host = dxs[ i ]; 1296 host = dxs[ i ] + 7; 1297 if (( p = strchr( host, ':' )) == NULL ) { 1298 p = host; 1310 host = NULL; 1313 if ( host ! [all...] |
H A D | sasl.c | 572 char * host; local 585 host = ld->ld_defhost; 587 if ( sb == NULL || host == NULL ) { 605 saslrc = _sasl_client_new(gctx, "ldap", host,
|
/osnet-11/usr/src/lib/libldap5/sources/ldap/prldap/ |
H A D | ldappr-io.c | 384 char *host, hbuf[ PR_NETDB_BUF_SIZE ]; local 405 for ( parse_err = ldap_x_hostlist_first( hostlist, defport, &host, &port, 407 rc < 0 && LDAP_SUCCESS == parse_err && NULL != host; 408 parse_err = ldap_x_hostlist_next( &host, &port, status )) { 410 if ( PR_SUCCESS == PR_StringToNetAddr( host, &addr )) { 423 if ( PR_SUCCESS == PR_GetIPNodeByName( host, 442 hostname = nsldapi_strdup(host); 445 ldap_memfree( host );
|
/osnet-11/usr/src/lib/libsuri/common/ |
H A D | suri_iscsi.c | 75 SURIGTEXT("Could not get list of iSCSI host adaptors")); 82 SURIGTEXT("No iSCSI host adaptor present on the system")); 559 char host[NI_MAXHOST]; local 628 host, sizeof (host), NULL, 0, 0)) != 0) { 644 err = inet_pton(AF_INET6, host, &in6); 650 sizeof (suri_iscsi->si_prop_hname), "[%s]", host); 654 sizeof (suri_iscsi->si_prop_hname), "%s", host);
|
/osnet-11/usr/src/lib/nsswitch/dns/common/ |
H A D | dns_common.c | 107 struct hostent *host; local 112 host = (struct hostent *)argp->buf.result; 116 host->h_addrtype = af_type; 117 host->h_length = (af_type == AF_INET) ? sizeof (struct in_addr) 122 host->h_name = buffer; 123 if (host->h_name + len >= limit) 125 (void) memcpy(host->h_name, he->h_name, len); 131 host->h_addr_list = (char **) 133 ret = dns_netdb_aliases(he->h_addr_list, host->h_addr_list, 138 host 379 char host[MAXHOSTNAMELEN]; /* result host name */ local [all...] |
/osnet-11/usr/src/lib/libsmbfs/common/ |
H A D | smbfs_ctx.c | 301 * "//host[/share[/path]]" 309 char *host, *share, *path; local 322 host = NULL; 342 (void) smbfs_unpercent(p); /* host component */ 344 host = p; 346 if (*host == '\0') { 351 error = smbfs_ctx_setfullserver(ctx, host); 382 * //host/PIPE/endpoint 727 * Try to lookup the host address using the
|
/osnet-11/usr/src/lib/libkmf/libkmf/common/ |
H A D | client.c | 56 * This function will establish a socket to the host on the specified port. 59 static int init_socket(char *host, short port) argument 68 if ((sin.sin_addr.s_addr = inet_addr(host)) == INADDR_NONE) { 69 if ((hp = gethostbyname_r(host, &hrec, hostbuf, 97 * This function will connect to host on the port. 101 connect_to_server(char *host, short port) argument 107 if ((sd = init_socket(host, port)) == -1) { 598 /* get the host name */
|
/osnet-11/usr/src/lib/libnsl/nis/gen/ |
H A D | nis_subr.c | 142 char host[LN_BUFSIZE]; member in struct:local_names 186 if (sysinfo(SI_HOSTNAME, ln->host, LN_BUFSIZE) < 0) 192 * domainname for the host principal name. 194 t = strchr(ln->host, '.'); 198 (void) strcat(ln->host, "."); 200 (void) strcat(ln->host, ln->domain); 485 * Generate the principal name for this host, "hostname"+"domainname" 499 return (ln->host); 738 * Note: If the remote host doesn't support version 3,
|