/illumos-gate/usr/src/lib/print/libpapi-lpd/common/ |
H A D | lpd-job.c | 160 char host[BUFSIZ]; local 173 gethostname(host, sizeof (host)); 175 "job-originating-host-name", &h1) == PAPI_OK) { 177 "job-host", h1); 179 add_lpd_control_line(metadata, 'H', host); 181 "job-originating-host-name", host); 488 char host[BUFSIZ]; local 512 gethostname(host, sizeo [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | name.c | 189 * node is present, then node will represent the host. If the host is 191 * the first commponnet since we want host name that are relative to 244 * the host from the node. If node is not present we assume 245 * we're the local host. 251 * We only want the host part of a qualfied host name. We 262 * If node is null, assume local host. If domain is 305 char *host = strchr(input, '@'); local 309 /* If no host retur [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | hst_realm.c | 35 Figures out the Kerberos realm names for host, filling in a 38 If host is NULL, the local host's realms are determined. 40 If there are no known realms for the host, the filled-in pointer is set 52 * this implementation only provides one realm per host, using the same 55 * Given a fully-qualified domain-style primary host name, 56 * return the name of the Kerberos realm for the host. 68 * host names should be in the usual form (e.g. FOO.BAR.BAZ) 96 char host[MAXDNAME], *h; local 105 if (strlen (prefix) >= sizeof(host) 200 krb5_get_host_realm(krb5_context context, const char *host, char ***realmsp) argument 346 char local_host[MAXDNAME+1], host[MAXDNAME+1]; local 420 krb5int_clean_hostname(krb5_context context, const char *host, char *local_host, size_t lhsize) argument [all...] |
/illumos-gate/usr/src/lib/libnsl/rpc/ |
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 | 204 * Make sure this is the local host. 248 * likely to be unable to translate a host 250 * meaningful error than ``unknown host 269 * translation failed'' or ``unknown host name'' 283 * host. This routine bypasses rpcbind and can be use to construct a client 293 clnt_create_service_timed(const char *host, const char *service, argument 337 * Sinct host, and service are const 339 if (host == NULL || (hostname = strdup(host)) == NULL) { 341 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));
|
/illumos-gate/usr/src/lib/librdc/common/ |
H A D | netaddrs.c | 187 * host. 255 struct hostent *host; local 260 host = getipnodebyname(fromhost, AF_INET6, AI_DEFAULT, &errnum); 261 if (host == NULL) { 264 "Could not find host %s"), fromhost); 268 for (j = 0; j < host->h_length; j++) 269 fromnetaddr[j] = host->h_addr[j]; 270 freehostent(host); 272 host = gethostbyname(fromhost); 273 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) &&
|
/illumos-gate/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
|
/illumos-gate/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...] |
/illumos-gate/usr/src/cmd/utmp_update/ |
H A D | utmp_update.c | 81 #define MAX_SYSLEN 257 /* From utmpx.h host length + nul */ 229 *exitstatus, *xtime, *session, *pad, *syslen, *host; local 247 host = argv[13]; 289 (void) strlcpy(entryx->ut_host, host, sizeof (entryx->ut_host)); 392 * was in the host field, but now just clears those so
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | rpc_bootstrap.c | 58 static struct hostent host; variable in typeref:struct:hostent 339 /* print s_addr (and port) in host byte order */ 445 host.h_addr_list = host_addrs; 457 bcopy(addr, host.h_addr_list[0], len); 458 host.h_length = len; 459 host.h_addrtype = af; 462 host.h_name = cp; 463 q = host.h_aliases = host_aliases; 479 return (&host);
|
H A D | yppoll.c | 41 * yppoll [-h <host>] [-d <domainname>] mapname 43 * If the host is ommitted, the local host will be used. If host is specified 67 static char *host = NULL; variable 72 yppoll [ -h host ] [ -d domainname ] mapname\n\n"; 83 "Ill-formed response returned from ypserv on host %s.\n"; 114 if (!host) { 144 host = *argv; 147 if ((int)strlen(host) > 25 [all...] |
/illumos-gate/usr/src/lib/auditd_plugins/remote/ |
H A D | audit_remote.h | 76 struct hostent *host; member in struct:hostlist_s
|
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/ |
H A D | DoPrinterNS.c | 44 const char *host, 60 const char *host, 79 const char *host; local 90 host = (*env)->GetStringUTFChars(env, jhost, 0); 96 ret = _dorexec(host, user, passwd, cmd, locale); 227 const char *host = NULL; local 244 host = (*env)->GetStringUTFChars(env, jhost, 0); 266 ret = _updateldap(action, host, binddn, passwd, printername,
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | kerberos5.c | 229 "host", KRB5_NT_SRV_HST, &creds.server))) { 584 krb5_profile_get_options(char *host, char *realm, argument 601 err = krb5_get_host_realm(telnet_context, host, &realms); 605 host, error_message(err)); 646 "host", KRB5_NT_SRV_HST, &server);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | whois.c | 80 static struct addrinfo *gethostinfo(char const *host, int exit_on_error); 88 const char *country, *host; local 92 country = host = qnichost = NULL; 97 host = ANICHOST; 100 host = PNICHOST; 103 host = ABUSEHOST; 109 host = FNICHOST; 112 host = GNICHOST; 115 host = optarg; 118 host 219 gethostinfo(char const *host, int exit_on_error) argument 266 char *host, *nhost, *p; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ntp.c | 408 struct in_addr host; local 419 host.s_addr = refid; 421 inet_ntoa(host), 422 addrtoname(AF_INET, &host));
|
/illumos-gate/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);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/ |
H A D | socks.c | 68 * Convert string representation of host (h) and service/port (p) into 70 * Indicate whether the host address is IPv4 (v4only) and numeric. 151 socks_connect(const char *host, const char *port, const char *proxyhost, argument 184 if (decode_addrport(host, port, (struct sockaddr *)&addr, 208 hlen = strlen(host); 210 errx(1, "host name too long for SOCKS5"); 216 (void) memcpy(buf + 5, host, hlen); 267 (void) decode_addrport(host, port, (struct sockaddr *)&addr, 295 if (strcspn(host, "\r\n\t []:") != strlen(host)) [all...] |
/illumos-gate/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,
|
/illumos-gate/usr/src/cmd/krb5/kadmin/server/ |
H A D | ipropd_svc.c | 490 * Get the host base service name for the kiprop principal. Returns 502 char *host; local 504 if (ret = kadm5_get_master(context, realm, &host)) 507 name = malloc(strlen(KIPROP_SVC_NAME)+ strlen(host) + 2); 509 free(host); 512 (void) sprintf(name, "%s@%s", KIPROP_SVC_NAME, host); 513 free(host);
|
/illumos-gate/usr/src/cmd/tcpd/ |
H A D | tcpdchk.c | 296 char *host; local 306 if ((host = split_at(cp + 1, '@')) != 0 && check_host(host) > 1) { 307 tcpd_warn("host %s has more than one address", host); 324 char *host; local 334 if (host = split_at(cp + 1, '@')) { /* user@host */ 336 check_host(host); 400 /* check_host - criticize host patter [all...] |
/illumos-gate/usr/src/uts/common/inet/ilb/ |
H A D | ilb_alg_hash.c | 158 del_server(hash_server_t *tbl, size_t hash_size, ilb_server_t *host) argument 163 if (tbl[i].server == host) { 180 hash_server_del(ilb_server_t *host, void *alg_data) argument 187 ret = del_server(hash_alg->hash_tbl, hash_alg->hash_servers, host); 196 hash_alg->hash_enabled_servers, host); 201 ILB_SERVER_REFRELE(host); 224 hash_server_add(ilb_server_t *host, void *alg_data) argument 241 hash_alg->hash_tbl[hash_alg->hash_servers].server = host; 242 hash_alg->hash_tbl[hash_alg->hash_servers].enabled = host->iser_enabled; 245 if (!host 272 hash_server_enable(ilb_server_t *host, void *alg_data) argument 326 hash_server_disable(ilb_server_t *host, void *alg_data) argument [all...] |