Searched defs:host (Results 76 - 100 of 137) sorted by relevance

123456

/osnet-11/usr/src/lib/libnsl/nss/
H A Dgetipnodeby.c309 nssout.nss.host.hent = buf6->result;
310 nssout.nss.host.herrno_p = error_num;
344 nssin.arg.nss.host.name = name;
345 nssin.arg.nss.host.buf = buf4->buffer;
346 nssin.arg.nss.host.buflen = buf4->buflen;
347 nssout.nss.host.hent = buf4->result;
348 nssout.nss.host.herrno_p = error_num;
526 nssin.arg.nss.host.addr = (const char *)tmpbuf;
528 nssin.arg.nss.host.addr = (const char *)addr6;
530 nssin.arg.nss.host
846 struct hostent *host; local
1080 struct hostent *host; local
[all...]
H A Dnetdir_inet_sundry.c123 * decimal dot equivalent. h1.h2.h3.h4.p1.p2 where h1-h4 are the host
209 /* convert the host address first */
472 * Given a host name, check if it is this host.
475 __inet_netdir_is_my_host(const char *host) argument
483 h = gethostbyname_r(host, (void *)&res, buf, sizeof (buf), &error);
512 clnt_addr = ntohl(addr.s_addr); /* host order */
518 netmask = ntohl(ifn->if_netmask.s_addr); /* host order */
519 if_addr = ntohl(ifn->if_address.s_addr); /* host order */
/osnet-11/usr/src/lib/libnsl/rpc/
H A Drpc_soc.c410 * Get port used by specified service on specified host.
415 getrpcport(char *host, rpcprog_t prognum, rpcvers_t versnum, argument
421 if ((hp = gethostbyname(host)) == NULL)
433 callrpc(char *host, rpcprog_t prognum, rpcvers_t versnum, rpcproc_t procnum, argument
436 return ((int)rpc_call(host, prognum, versnum, procnum, inproc,
H A Drpcb_clnt.c147 * block all clnt_create's if we are trying to connect to a host that's down,
154 * cache of rpcbind addresses for (host, netid).
158 check_cache(char *host, char *netid) argument
166 if ((strcmp(cptr->ac_host, host) == 0) &&
171 host, netid);
207 add_cache(char *host, char *netid, struct netbuf *taddr, char *uaddr) argument
216 ad_cache->ac_host = strdup(host);
233 (void) fprintf(stderr, "Added to cache: %s : %s\n", host, netid);
294 getclnthandle(char *host, struct netconfig *nconf, char **targaddr) argument
296 return (_getclnthandle_timed(host, ncon
306 _getclnthandle_timed(char *host, struct netconfig *nconf, char **targaddr, struct timeval *tp) argument
702 __rpcb_findaddr_timed(rpcprog_t program, rpcvers_t version, struct netconfig *nconf, char *host, CLIENT **clpp, struct timeval *tp) argument
1056 rpcb_getaddr(const rpcprog_t program, const rpcvers_t version, const struct netconfig *nconf, struct netbuf *address, const char *host) argument
1085 rpcb_getmaps(const struct netconfig *nconf, const char *host) argument
1138 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
1204 rpcb_gettime(const char *host, time_t *timep) argument
[all...]
/osnet-11/usr/src/lib/libntsvcs/common/
H A Dntsvcs_clnt.c534 char host[MAXHOSTNAMELEN]; local
546 (void) strlcpy(host, ".", MAXHOSTNAMELEN);
548 (void) strlcpy(host, server, MAXHOSTNAMELEN);
551 (void) snprintf(buf, len, "\\\\%s\\PIPE\\%s", host, ep);
/osnet-11/usr/src/lib/libdns_sd/common/
H A Ddnssd_clientstub.c860 const char *host,
881 if (!host) host = "";
893 len += strlen(name) + strlen(regtype) + strlen(domain) + strlen(host) + 4;
906 put_string(host, &ptr);
852 DNSServiceRegister( DNSServiceRef *sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *name, const char *regtype, const char *domain, const char *host, uint16_t PortInNetworkByteOrder, uint16_t txtLen, const void *txtRecord, DNSServiceRegisterReply callBack, void *context ) argument
/osnet-11/usr/src/lib/libdns_sd/java/com/apple/dnssd/
H A DDNSSD.java139 interfaces. Pass -1 to only browse for services provided on the local host.
180 /** Resolve a service name discovered via browse() to a target host name, port number, and txt record.<P>
251 @param host
252 If non-null, specifies the SRV target host name. Most applications
253 will not specify a host, instead automatically using the machine's
254 default host name(s). Note that specifying a non-null host does NOT
255 create an address record for that host - the application is responsible
279 String domain, String host, int port, TXTRecord txtRecord, RegisterListener listener)
281 { return getInstance()._register( flags, ifIndex, serviceName, regType, domain, host, por
278 register( int flags, int ifIndex, String serviceName, String regType, String domain, String host, int port, TXTRecord txtRecord, RegisterListener listener) argument
484 _register( int flags, int ifIndex, String serviceName, String regType, String domain, String host, int port, TXTRecord txtRecord, RegisterListener listener) argument
604 _register( int flags, int ifIndex, String serviceName, String regType, String domain, String host, int port, TXTRecord txtRecord, RegisterListener client) argument
804 AppleRegistration( int flags, int ifIndex, String serviceName, String regType, String domain, String host, int port, byte[] txtRecord, RegisterListener client) argument
830 BeginRegister( int ifIndex, int flags, String serviceName, String regType, String domain, String host, int port, byte[] txtRecord) argument
[all...]
/osnet-11/usr/src/lib/fm/libfmd_adm/common/
H A Dfmd_adm.c44 fmd_adm_open(const char *host, uint32_t prog, int version) argument
55 if (host == NULL)
56 host = HOST_SELF;
64 if (strcmp(host, HOST_SELF) == 0) {
68 c = clnt_create_vers(host, prog, &v,
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dlocate_kdc.c506 char **hl, *host, *profname; local
532 if ((host = malloc(realm->length + 1)) == NULL)
535 (void) strncpy(host, realm->data, realm->length);
536 host[realm->length] = '\0';
540 realm_srv_names[1] = host;
550 free(host);
553 free(host);
611 if (head->next == 0 && head->host[0] == 0) {
612 free(head->host);
645 code = add_host_to_list (addrlist, entry->host,
782 char *cp, *port, *host; local
[all...]
/osnet-11/usr/src/lib/libast/amd64/include/ast/
H A Dast.h152 char* host; member in struct:__anon1102
/osnet-11/usr/src/lib/auditd_plugins/remote/
H A Dtransport.c243 sock_prepare(int *sockfdptr, struct hostent *host, close_rsn_t *err_rsn) argument
251 DPRINT((dfile, "Creating socket for %s\n", host->h_name));
253 addr.ss_family = host->h_addrtype;
254 switch (host->h_addrtype) {
258 bcopy(host->h_addr_list[0],
265 bcopy(host->h_addr_list[0],
286 DPRINT((dfile, "Connected to %s via fd=%d\n", host->h_name,
715 * send_record() - send an audit record to a host opening a connection,
755 * Send request to other then previously used host.
757 if (current_host != hostlptr->host) {
[all...]
/osnet-11/usr/src/lib/auditd_plugins/syslog/
H A Dsysplugin.c295 struct hostent *host; local
359 host = getipnodebyaddr((const void *)tid->at_addr,
362 if (host == NULL) {
368 host->h_name, MAXHOSTNAMELEN);
369 freehostent(host);
/osnet-11/usr/src/cmd/ldap/common/
H A Dldaptest.c263 char filter[256], *host, **types; local
267 char *usage = "usage: %s [-u] [-h host] [-d level] [-s dnsuffix] [-p port] [-t file] [-T file]\n";
291 host = NULL;
320 host = optarg;
348 if ( host == NULL && optind == argc - 1 ) {
349 host = argv[ optind ];
359 host == NULL ? "(null)" : host, port );
363 ld = cldap_open( host, port );
366 ld = ldap_init( host, por
[all...]
/osnet-11/usr/src/lib/libast/common/include/
H A Dast.h143 char* host; member in struct:__anon1137
/osnet-11/usr/src/lib/libast/i386/include/ast/
H A Dast.h152 char* host; member in struct:__anon1196
/osnet-11/usr/src/lib/libast/sparc/include/ast/
H A Dast.h152 char* host; member in struct:__anon1218
/osnet-11/usr/src/lib/libast/sparcv9/include/ast/
H A Dast.h152 char* host; member in struct:__anon1240
/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_error.c52 if (ep->host != NULL)
53 Free(ep->host);
144 char *name /* optional name or host */
147 /* get host name */
148 if (ep->host != NULL) {
149 Free(ep->host);
150 ep->host = NULL;
154 ep->host = Strdup(name);
157 ep->host = Strdup(mynode());
334 char *host,
331 mdrpcerror( md_error_t *ep, CLIENT *clntp, char *host, char *extra ) argument
355 mdrpccreateerror( md_error_t *ep, char *host, char *extra ) argument
[all...]
/osnet-11/usr/src/lib/nsswitch/ldap/common/
H A Dldap_common.c641 chophostdomain(char *string, char *host, char *domain) argument
652 (void) strcpy(host, string);
/osnet-11/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...]
/osnet-11/usr/src/lib/libsmb/common/
H A Dsmb_nic.c99 int nl_hcnt; /* number of host names */
170 * Gets the number of interfaces for the specified host.
171 * if host is NULL then total number of interfaces
315 * Adds an association between the given host and the specified interface
321 * host: actual system's name (not Netbios name)
323 * the specified host. Can be NULL.
330 smb_nic_addhost(const char *host, const char *cmnt, argument
338 if ((host == NULL) || (if_num <= 0) || (if_names == NULL))
362 rc = smb_nic_dbaddhost(host, cmnt, if_list);
371 * Removes the stored interface association for the specified host
374 smb_nic_delhost(const char *host) argument
608 char host[MAXHOSTNAMELEN]; local
803 const char *host; local
1093 smb_nic_dbaddhost(const char *host, const char *cmnt, char *if_list) argument
1126 smb_nic_dbdelhost(const char *host) argument
[all...]
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dos-ip.c468 * "defport" must be in host byte order
515 * Set krbinstancep (canonical name of host for use by Kerberos).
546 char *host; local
556 parse_err = ldap_x_hostlist_first( hostlist, defport, &host, &port,
558 while ( !connected && LDAP_SUCCESS == parse_err && host != NULL ) {
567 if (( address = inet_addr( host )) == -1 ) {
569 if (( hp = GETHOSTBYNAME( host, &hent, hbuf,
593 ldap_memfree( host );
598 if (( ldhp = ld->ld_dns_gethostbyname_fn( host,
611 ldap_memfree( host );
[all...]
/osnet-11/usr/src/lib/libldap5/sources/ldap/ssldap/
H A Dldapsinit.c261 char *host = NULL; local
305 , &host );
316 * Determine if the "host name" is an ip address. If so,
317 * we must look up the actual host name corresponding to
320 if ( NULL == host ) {
324 if (strlen(host) < INET6_ADDRSTRLEN &&
325 inet_pton(AF_INET6, host, &addr_ipv6) == 1) {
327 } else if (strlen(host) < INET_ADDRSTRLEN &&
328 inet_pton(AF_INET, host, &addr_ipv4) == 1) {
334 /* will free host i
[all...]
/osnet-11/usr/src/lib/libdns_sd/java/common/
H A DJNISupport.c538 jstring domain, jstring host, jint port, jbyteArray txtRecord)
561 const char *hostStr = SafeGetUTFChars( pEnv, host);
587 SafeReleaseUTFChars( pEnv, host, hostStr);
536 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
/osnet-11/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);

Completed in 209 milliseconds

123456