/osnet-11/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...] |
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | netname.c | 252 * Convert host to network-name 253 * This routine returns following netnames given the host and domain 256 * host domain netname 268 host2netname(char netname[MAXNETNAMELEN + 1], const char *host, argument 280 if (host == NULL) { 291 len = strlen(host); 295 (void) strcpy(hostname, host);
|
H A D | auth_time.c | 123 get_server(char *host, nis_server *srv, endpoint eps[], int maxep) argument 131 if (! host) 133 hs.h_host = host; 151 srv->name = (nis_name) host;
|
H A D | clnt_generic.c | 201 * Make sure this is the local host. 245 * likely to be unable to translate a host 247 * meaningful error than ``unknown host 266 * translation failed'' or ``unknown host name'' 280 * host. This routine bypasses rpcbind and can be use to construct a client 290 clnt_create_service_timed(const char *host, const char *service, argument 334 * Sinct host, and service are const 336 if (host == NULL || (hostname = strdup(host)) == NULL) { 338 rpc_createerr.cf_error.re_errno = (host [all...] |
H A D | rpc_generic.c | 510 __rpc_is_local_host(const char *host) argument 514 if (host == NULL || strcmp(host, "localhost") == 0 || 515 strcmp(host, HOST_SELF) == 0 || 516 strcmp(host, HOST_SELF_CONNECT) == 0 || 517 strlen(host) == 0) 521 if (strcmp(host, buf) == 0) 523 return (__inet_netdir_is_my_host(host));
|
/osnet-11/usr/src/lib/libfedfs/common/ |
H A D | nsdb_add.c | 118 fprintf(stderr, "location=%s:%s\n", l->host, l->path); 136 attrs = nsdb_create_fsl(nsdb, l->host, l->path, l->annotations, 273 nsdb_remove_all(char *host, int port, char *nce, char *admin, char *pw, argument 279 ret = nsdb_remove(host, port, nce, admin, pw, 284 ret = nsdb_remove(host, port, nce, admin, pw, 1, fsn, NULL);
|
H A D | list_nces.c | 39 char *host; member in struct:nce_cache_node 80 cache_nces(char *host, int port, int numnce, nce_entry_t **nces) argument 88 fprintf(stderr, "cache_nces: caching %s/%d\n", host, port); 94 new->host = strdup(host); 95 if (new->host == NULL) 108 if (strcmp(host, n->host) == 0 && port == n->port) 127 fprintf(stderr, "cache_nces: replacing %s/%d\n", n->host, n->port); 130 free(n->host); 146 list_nces_cache(char *host, int port, nce_entry_t ***nces) argument 212 list_nces(char *host, int port, nce_entry_t ***nces) argument 449 char *host, *port, *uuid; local [all...] |
H A D | nsdb_lookup.c | 40 char *host; member in struct:nsdb_cache_node 63 newlocs[i]->host = strdup(locations[i]->host); 64 if (newlocs[i]->host == NULL) 93 nsdb_lookup_flush(char *host, int port, char *uuid) argument 101 if (strcmp(host, n->host) == 0 && port == n->port && 114 free(n->host); 125 cache_nsdb(char *host, int port, char *uuid, int numloc, nsdb_entry_t **locs) argument 133 fprintf(stderr, "cache_nsdb: caching %s/%d/%s\n", host, por 198 nsdb_lookup_cache(char *host, int port, char *uuid, nsdb_entry_t ***locations) argument 260 nsdb_lookup(char *host, int port, char *uuid, int fstype, nsdb_entry_t ***locations) argument [all...] |
/osnet-11/usr/src/lib/libidmap/common/ |
H A D | directory_client.c | 72 char host[] = "localhost"; local 84 clnt_spcreateerror(host),
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | dnsglue.c | 81 char *host, int nclass, int ntype) 129 len = res_nsearch(&statbuf, host, ds->nclass, ds->ntype, 132 len = res_search(host, ds->nclass, ds->ntype, 256 char host[MAXDNAME]; local 276 p, host, sizeof(host)); 300 char host[MAXDNAME]; local 312 p, host, sizeof(host)); 353 char host[MAXDNAM local 80 krb5int_dns_init(struct krb5int_dns_state **dsp, char *host, int nclass, int ntype) argument [all...] |
/osnet-11/usr/src/lib/krb5/kadm5/ |
H A D | kadm_host_srv_names.c | 94 char **masterlist, **hostlist, *host, *port, *cp; local 162 * Get the host base service name for the admin principal. Returns 210 * Get the host base service name for the changepw principal. Returns 260 * Get the host base service name for the kiprop principal. Returns
|
/osnet-11/usr/src/cmd/sendmail/src/ |
H A D | sm_resolve.c | 178 char host[MAXHOSTNAMELEN]; local 192 status = dn_expand(data, data + len, p, host, sizeof(host)); 198 r->dns_r_q.dns_q_domain = sm_strdup(host); 216 status = dn_expand(data, data + len, p, host, sizeof(host)); 249 (*rr)->rr_domain = sm_strdup(host); 264 status = dn_expand(data, data + len, p, host, 265 sizeof(host)); 271 (*rr)->rr_u.rr_txt = sm_strdup(host); [all...] |
/osnet-11/usr/src/lib/libwrap/ |
H A D | hosts_access.c | 10 * host (or domain) names, NIS (host) netgroup names, IP addresses (or 104 /* hosts_access - host access control facility */ 231 char *host; local 233 if ((host = split_at(tok + 1, '@')) == 0) { /* plain daemon */ 235 } else { /* daemon@host */ 237 && host_match(host, request->server)); 247 char *host; local 249 if ((host = split_at(tok + 1, '@')) == 0) { /* plain host */ [all...] |
/osnet-11/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).
|
H A D | gethostent6.c | 35 /* host attributes filters */ 81 * on fully qualified host names (foo.bar.sun.com) 113 /* Is this a request for a host.domain */ 115 char host[MAXHOSTNAMELEN]; local 119 /* separate host and domain. this function */ 124 if (chophostdomain(hname, host, domain) == -1) { 131 /* host.domain and host */ 136 _F_GETHOSTS6DOTTEDBYNAME, hostname, host); 141 _F_GETHOSTS6DOTTEDBYNAME_SSD, hostname, host); [all...] |
/osnet-11/usr/src/lib/pam_modules/dhkeys/ |
H A D | key_call_uid.c | 54 char host[MAX_MACHINE_NAME + 1]; local 57 if (gethostname(host, sizeof (host) - 1) == -1) { 62 host[MAX_MACHINE_NAME] = '\0'; 64 res = authsys_create(host, uid, gid, 0, (gid_t *)NULL);
|
/osnet-11/usr/src/lib/librdc/common/ |
H A D | netaddrs.c | 186 * host. 254 struct hostent *host; local 259 host = getipnodebyname(fromhost, AF_INET6, AI_DEFAULT, &errnum); 260 if (host == NULL) { 263 "Could not find host %s"), fromhost); 267 for (j = 0; j < host->h_length; j++) 268 fromnetaddr[j] = host->h_addr[j]; 269 freehostent(host); 271 host = gethostbyname(fromhost); 272 if (host [all...] |
H A D | rdcrules.c | 82 char host[CFG_MAX_BUF]; local 152 (void) sscanf(buf, "%s %s %s %s %s %s", host, pri, bit, 155 if (self_check(host)) { 186 if (self_check(host)) { 211 if (self_check(host)) { 224 if ((strcmp(host, hostp) == 0) &&
|
/osnet-11/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...] |
/osnet-11/usr/src/lib/libresolv2/common/irs/ |
H A D | lcl_ng.c | 181 ng_next(struct irs_ng *this, const char **host, const char **user, argument 187 *host = pvt->nextgrp->ng_str[NG_HOST]; 201 const char *host, const char *user, const char *domain) 207 if ((host == NULL || ng_host == NULL || 208 !strcmp(host, ng_host)) && 200 ng_test(struct irs_ng *this, const char *name, const char *host, const char *user, const char *domain) argument
|
/osnet-11/usr/src/lib/libldap4/common/ |
H A D | cldap.c | 85 cldap_open( char *host, int port ) argument 120 if (( ld = ldap_init( host, port )) == NULL ) { 138 * 'host' may be a space-separated list. 140 if ( host != NULL ) { 141 for ( ; host != NULL; host = p ) { 142 if (( p = strchr( host, ' ' )) != NULL ) { 148 if ( (address = inet_addr( host )) == -1 ) { 150 if ( (hp = gethostbyname_r( host, &hpret, hpbuf, NSS_BUFLEN_HOSTS, &hperrno)) == NULL ) { 155 if ( (hp = gethostbyname( host )) [all...] |
H A D | os-ip.c | 134 connect_to_host(Sockbuf *sb, char *host, in_addr_t address, argument 137 * if host == NULL, connect using address 159 "%1$s:%2$d\n"), (host == NULL) ? catgets(slapdcat, 1, 202, 160 "(by address)") : host, ntohs(port), 0); 164 if (host != NULL && (address = inet_addr(host)) == -1) { 166 if ((hp = gethostbyname_r(host, &hpret, hpbuf, 169 if ((hp = gethostbyname(host)) == NULL) {
|
H A D | request.c | 525 fprintf( stderr, "* host: %s port: %d%s\n", 702 char *p, *domain, *host, *server_dn, **dxs; local 723 host = dxs[ i ]; 726 host = dxs[ i ] + 7; 727 if (( p = strchr( host, ':' )) == NULL ) { 728 p = host; 740 host = NULL; 743 if ( host != NULL ) { /* found a server we can use */ 760 if (( srv->lsrv_host = strdup( host )) == NULL ||
|
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | url.c | 246 * Locate and strip off optional port number (:#) in host 249 * If more than one space-separated host is listed, we only 251 * ldap_init() will handle host parameters that look like 252 * host:port anyway. 411 char *host; local 435 host = ld->ld_defhost; 437 host = ludp->lud_host; 441 == NULL || ( host != NULL && 442 ( srv->lsrv_host = nsldapi_strdup( host )) == NULL )) { 453 /* URL has no port or host [all...] |
/osnet-11/usr/src/lib/libparted/common/include/parted/ |
H A D | device.h | 92 short host, did; member in struct:_PedDevice
|