/osnet-11/usr/src/lib/libfsmgt/common/ |
H A D | sys_info.c | 41 char host[MAXHOSTNAMELEN + 1]; local 45 if (gethostname(host, sizeof (host)) == -1) { 50 ret_val = strdup(host);
|
/osnet-11/usr/src/lib/libsocket/inet/ |
H A D | inet_mkaddr.c | 46 * Formulate an Internet address from network + host. Used in 50 inet_makeaddr(ipaddr_t net, ipaddr_t host) argument 56 addr = (net << IN_CLASSA_NSHIFT) | (host & IN_CLASSA_HOST); 58 addr = (net << IN_CLASSB_NSHIFT) | (host & IN_CLASSB_HOST); 60 addr = (net << IN_CLASSC_NSHIFT) | (host & IN_CLASSC_HOST); 62 addr = net | host;
|
H A D | ether_addr.c | 72 * Given a host's name, this routine finds the corresponding 48 bit 78 const char *host, /* function input */ 89 arg.key.name = host; 103 char *host, /* function output */ 113 NSS_XbyY_INIT(&arg, NULL, host, 0, str2ether); 117 /* memcpy(host, ether_res.host, strlen(ether_res.host)); */ 165 * then do a match for the host key) and happens for "nis" 185 char *host local 77 ether_hostton( const char *host, struct ether_addr *e ) argument 102 ether_ntohost( char *host, const struct ether_addr *e ) argument [all...] |
H A D | getnameinfo.c | 46 static int addzoneid(const struct sockaddr_in6 *sa, char *host, 66 * hostlen - length of caller supplied "host" buffer 72 * NI_NUMERICHOST - Always return numeric form of the host's 83 * host - return the nodename associcated with the IP address in the 84 * buffer pointed to by the "host" argument. 93 char *host, socklen_t hostlen, 134 * fill in "host" buffer that user passed in 139 /* Caller wants the host's numeric address */ 141 host, hostlen) == NULL) 146 /* Caller wants the name of host */ 92 getnameinfo(const struct sockaddr *sa, socklen_t salen, char *host, socklen_t hostlen, char *serv, socklen_t servlen, int flags) argument 282 addzoneid(const struct sockaddr_in6 *sa, char *host, size_t hostlen) argument [all...] |
H A D | ruserpass.c | 53 static void rnetrc(const char *host, char **aname, char **apass); 115 _ruserpass(const char *host, char **aname, char **apass) argument 119 rnetrc(host, aname, apass); 126 host, myname); 139 host, *aname); 147 rnetrc(const char *host, char **aname, char **apass) argument 177 if (token() != ID || strcmp(host, d->tokval))
|
/osnet-11/usr/src/lib/libresolv2/common/irs/ |
H A D | nul_ng.c | 92 ng_next(struct irs_ng *this, const char **host, const char **user, argument 96 UNUSED(host); 105 const char *user, const char *host, const char *domain) 110 UNUSED(host); 104 ng_test(struct irs_ng *this, const char *name, const char *user, const char *host, const char *domain) argument
|
H A D | gen_ng.c | 107 ng_next(struct irs_ng *this, const char **host, const char **user, argument 115 if ((*ng->next)(ng, host, user, domain) == 1) 130 const char *user, const char *host, const char *domain) 140 rval = (*ng->test)(ng, name, user, host, domain); 129 ng_test(struct irs_ng *this, const char *name, const char *user, const char *host, const char *domain) argument
|
H A D | getnetgrent.c | 68 #define INNETGR_ARGS const char *netgroup, const char *host, \ 75 return (innetgr_p(netgroup, host, user, domain, net_data)); 79 getnetgrent(NGR_R_CONST char **host, NGR_R_CONST char **user, argument 90 DE_CONST(ch, *host); 118 innetgr_p(const char *netgroup, const char *host, argument 125 return ((*ng->test)(ng, netgroup, host, user, domain)); 129 getnetgrent_p(const char **host, const char **user, const char **domain, argument 135 return ((*ng->next)(ng, host, user, domain));
|
H A D | irp_ng.c | 158 ng_next(struct irs_ng *this, const char **host, const char **user, argument 182 if (irp_unmarshall_ng(host, user, domain, body) == 0) { 201 const char *host, const char *user, const char *domain) 216 if (irp_marshall_ng(host, user, domain, &body, &bodylen) != 0) { 200 ng_test(struct irs_ng *this, const char *name, const char *host, const char *user, const char *domain) argument
|
H A D | getnameinfo.c | 100 getnameinfo(sa, salen, host, hostlen, serv, servlen, flags) 103 char *host; 190 if (host == NULL || hostlen == 0U) { 192 * rfc2553bis says that host == NULL or hostlen == 0 means that 207 strcpy(host, hp->h_name); 217 if ((error = ip6_parsenumeric(sa, addr, host, 230 strcpy(host, numaddr); 238 ip6_parsenumeric(const struct sockaddr *sa, const char *addr, char *host, argument 256 strcpy(host, numaddr); 271 memcpy(host [all...] |
H A D | getnetgrent_r.c | 45 innetgr_r(const char *netgroup, const char *host, const char *user, argument 50 DE_CONST(host, ho);
|
H A D | irp_ho.c | 66 struct hostent host; member in struct:pvt 141 free_host(&pvt->host); 171 struct hostent *ho = &pvt->host; 224 struct hostent *ho = &pvt->host; 287 struct hostent *ho = &pvt->host; 361 free_host(&pvt->host);
|
/osnet-11/usr/src/lib/libfedfs/common/ |
H A D | list_fsns.c | 45 list_fsns(char *host, int port, char *nce, char ***locations) argument 60 if (host == NULL || nce == NULL || locations == NULL) 66 ld = nsdb_connect(host, port, NULL, NULL);
|
/osnet-11/usr/src/lib/libwrap/ |
H A D | eval.c | 8 * Routines for controlled evaluation of host names, user names, and so on. 43 * host name has the value STRING_PARANOID it means there was a name/address 64 char *eval_hostaddr(host) 65 struct host_info *host; 67 if (host->addr[0] == 0) { 68 strcpy(host->addr, unknown); 69 if (host->request->hostaddr != 0) 70 host->request->hostaddr(host); 72 return (host 133 char *host = eval_hostinfo(request->server); local [all...] |
/osnet-11/usr/src/lib/nsswitch/files/common/ |
H A D | bootparams_getbyname.c | 100 char *p, *host, *limit; local 119 * we need to strip off the host name before returning it. 128 host = p; 136 if (strcasecmp(args->key.name, host) != 0) {
|
/osnet-11/usr/src/lib/pam_modules/rhosts_auth/ |
H A D | rhosts_auth.c | 54 char *host = NULL, *lusername = NULL; local 71 if (pam_get_item(pamh, PAM_RHOST, (void **) &host) != PAM_SUCCESS) 80 if (host == NULL || *host == '\0') 85 "rhosts authenticate: user = %s, host = %s", 86 lusername, host); 98 return (ruserok(host, is_superuser, rusername, lusername)
|
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | rtime_tli.c | 41 * gets time, obtaining value from host 71 rtime_tli(char *host, struct timeval *timep, struct timeval *timeout) argument 95 rpcbind_hs.h_host = host;
|
H A D | clnt_simple.c | 65 char host[MAXHOSTNAMELEN]; /* Servers host */ member in struct:rpc_call_private 84 * the future calls to same prog, vers, host and nettype combination. 89 rpc_call(const char *host, const rpcprog_t prognum, const rpcvers_t versnum, argument 124 strcmp(rcp->host, host) == 0 && 134 rcp->client = clnt_create(host, prognum, versnum, nettype); 151 if ((strlen(host) < (size_t)MAXHOSTNAMELEN) && 153 (void) strcpy(rcp->host, host); [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | dnssrv.c | 46 free(p->host); 65 char host[MAXDNAME]; local 87 krb5int_buf_init_fixed(&buf, host, sizeof(host)); 101 if (len > 0 && host[len - 1] != '.') 108 fprintf (stderr, "sending DNS SRV query for %s\n", host); 111 size = krb5int_dns_init(&ds, host, C_IN, T_SRV); 130 nlen = krb5int_dns_expand(ds, p, host, sizeof(host)); 149 if (asprintf(&srv->host, " [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | import_name.c | 120 char *service, *host; local 133 if ((host = strchr(tmp, '@'))) { 134 *host = '\0'; 135 host++; 138 code = krb5_sname_to_principal(context, host, service, KRB5_NT_SRV_HST,
|
/osnet-11/usr/src/cmd/sendmail/aux/ |
H A D | mconnect.c | 30 * Usage: mconnect [host] 79 char *host = NULL; local 104 case 'h': /* host */ 116 } else if (host == NULL) 117 host = p; 119 if (host == NULL) 120 host = "localhost"; 123 hp = getipnodebyname(host, AF_INET6, AI_DEFAULT|AI_ALL, &err); 126 (void) fprintf(stderr, "mconnect: unknown host %s\r\n", host); [all...] |
/osnet-11/usr/src/cmd/sendmail/libmilter/ |
H A D | example.c | 51 char host[512]; local 67 if (gethostname(host, sizeof host) < 0) 68 snprintf(host, sizeof host, "localhost"); 74 snprintf(hbuf, sizeof hbuf, "%s@%s", p, host);
|
/osnet-11/usr/src/lib/librpcsvc/common/ |
H A D | bootparam_prot.h | 46 char host; member in struct:ip_addr_t
|
/osnet-11/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | ServiceURL.java | 94 private String host = ""; field in class:ServiceURL 172 return host; 214 host + (port != NO_PORT ? (":" + port) : "") + 223 host.hashCode() + 244 host.equals(surl.host) && 384 // Check for separator between transport and host. 396 // Not abstract type, no alternate transport. Get host. 402 if (sAddr.equals("/")) {// no host part 408 host [all...] |
/osnet-11/usr/src/lib/libldap4/common/ |
H A D | open.c | 67 * "host" may be a space-separated list of hosts or IP addresses 75 ldap_open(char *host, int port) argument 80 if ((ld = ldap_init(host, port)) == NULL) { 252 open_ldap_connection(LDAP *ld, Sockbuf *sb, char *host, int defport, argument 266 if (host != NULL) { 267 for (p = host; p != NULL && *p != '\0'; p = q) { 326 * is returned on success, NULL on failure. "host" may be a 381 ldap_ssl_open(char *host, int port, char *keyname) argument 390 ld = ldap_open(host, port);
|