/illumos-gate/usr/src/lib/libast/common/uwin/ |
H A D | rcmd.c | 124 2, "unknown host")); 126 fprintf(stderr, "%s: unknown host\n", *ahost); 410 /* enable all host for + entry */ 418 /* disable all host for - entry */ 428 /* disable host from -hostname entry */ 432 /* disable host from -@netgroup entry for host */ 444 /* enable host from +@netgroup entry for host */ 509 char *host, *use local 541 char *host, *user, *domain; local [all...] |
/illumos-gate/usr/src/cmd/lp/lib/papi/ |
H A D | lpsched-jobs.c | 66 "job-class", "job-hold-until", "job-host", "job-name", 71 "requesting-user-name", "job-originating-host-name", 133 char *host = NULL; local 140 "job-originating-host-name", &host); 142 "job-host", &host); 149 (host ? "@" : ""), (host ? host 373 char *host = strrchr(user, '@'); local [all...] |
/illumos-gate/usr/src/cmd/lp/model/ |
H A D | lp.tsol_separator.c | 75 static void ParseUsername(char *input, char *user, char *host); 208 char host[MAXHOSTLEN + 1]; local 211 ParseUsername(ArgUser, user, host); 212 (void) printf("\t/Job_Host (%s) def\n", host); 299 * Parse input "host!user" to separate host and user names. 303 ParseUsername(char *input, char *user, char *host) argument 308 /* user@host */ 309 (void) strlcpy(host, cp + 1, MAXHOSTLEN + 1); 314 /* host!use [all...] |
/illumos-gate/usr/src/lib/libresolv/ |
H A D | res_gethost.c | 52 static struct hostent host; variable in typeref:struct:hostent 115 host.h_name = bp; 131 host.h_aliases = host_aliases; 134 host.h_addr_list = h_addr_ptrs; 165 host.h_name = bp; 166 return (&host); 178 if (n != host.h_length) { 187 host.h_length = n; 189 host.h_addrtype = (class == C_IN) ? AF_INET : AF_UNSPEC; 191 host [all...] |
/illumos-gate/usr/src/lib/libadutils/common/ |
H A D | adutils_impl.h | 116 char *host; member in struct:adutils_host
|
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | rmtab.c | 108 mntlist_contains(char *host, char *path) argument 112 m.m_host = host; 126 mntlist_insert(char *host, char *path) argument 128 if (!mntlist_contains(host, path)) { 133 m->m_host = exstrdup(host); 135 m->m_pos = rmtab_insert(host, path); 141 mntlist_new(char *host, char *path) argument 144 mntlist_insert(host, path); 153 mntlist_delete(char *host, char *path) argument 157 mm.m_host = host; 182 mntlist_delete_all(char *host) argument 353 char *host; local 483 rmtab_insert(char *host, char *path) argument [all...] |
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | ldap_common.c | 558 chophostdomain(char *string, char *host, char *domain) argument 569 (void) strcpy(host, string);
|
/illumos-gate/usr/src/lib/print/libpapi-ipp/common/ |
H A D | job.c | 145 * Add job-originating-host-name to attributes 151 "job-originating-host-name", &hostname); 154 char host[BUFSIZ]; local 156 if (gethostname(host, sizeof (host)) == 0) 158 "job-originating-host-name", host);
|
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/ |
H A D | lpd-port.c | 108 sock_connect(int sock, char *host, int timeout) argument 122 * Get the host address and port number to connect to. 124 if (host == NULL) { 132 if ((hp = getipnodebyname(host, AF_INET6, AI_DEFAULT, 140 if ((hp = gethostbyname(host)) == NULL) { 300 char host[BUFSIZ]; local 303 if (gethostname(host, sizeof (host)) != 0) 314 if (strncmp(++ptr, host, strlen(host)) ! 455 char *host = NULL; local 686 char *host = NULL, *queue = NULL; local [all...] |
/illumos-gate/usr/src/lib/print/libprint/common/ |
H A D | ns.h | 131 char *host; member in struct:ns_cred
|
/illumos-gate/usr/src/lib/print/mod_ipp/ |
H A D | mod_ipp.c | 258 "originating-host", (char *)s); 264 char *host = (char *)apr_table_get(r->headers_in, "Host"); local 266 if ((host == NULL) || (host[0] == '\0')) 267 host = (char *)ap_get_server_name(r); 270 "uri-host", host); 568 NULL, /* [#3] check access by host address */
|
/illumos-gate/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);
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | open.c | 412 * "host" may be a space-separated list of hosts or IP addresses 421 ldap_open( const char *host, int port ) argument 427 if (( ld = ldap_init( host, port )) == NULL ) { 627 * Return the first host and port in hostlist (setting *hostp and *portp). 629 * Note that a NULL or zero-length hostlist causes the host "127.0.0.1" to 665 * Return the next host and port in hostlist (setting *hostp and *portp). 695 /* copy host into *hostp */ 705 } else { /* last host */
|
/illumos-gate/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 );
|
/illumos-gate/usr/src/cmd/vscan/vscand/ |
H A D | vs_eng.c | 120 vs_props_se_t vse_cfg; /* host, port, maxconn */ 187 * If a scan engine has been reconfigured (different host or port) 190 * If the host/port has changed, the engine has been disabled 244 * If the host/port has changed, the engine has been disabled 335 * If the engine identified in conn (host, port) matches the 698 vs_eng_connect(char *host, int port) argument 707 hp = getipnodebyname(host, AF_INET, 0, &err_num); 837 * compare host and port with that stored for engine idx 842 vs_eng_compare(int idx, char *host, int port) argument 847 if (strcmp(vs_engines[idx].vse_cfg.vep_host, host) ! [all...] |
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypwhich.c | 42 * ypwhich [-d domain] [-m [mname] [-t] | [-Vn] host] 49 * bind process on the named host, or to the local ypbind process if no host 81 static char *host = NULL; variable 95 ypwhich [-d domain] [[-t] -m [mname] | [-Vn] host]\n\ 99 host if specified, is the machine whose NIS server is to be found.\n\ 171 if (!host) 284 host = *argv; 287 if ((int)strlen(host) > 256) { 335 host [all...] |
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | in.lpd.c | 171 * use the host as known by us, not by them 174 * "job-originating-host-name", ++entry); 379 /* use the host as known by us, not by them */ 380 char *host = remote_host_name(ifp); local 382 if (host != NULL) { 384 "job-originating-host-name", host); 385 free(host); 602 if ((uri == NULL) || (uri->scheme == NULL) || (uri->host == NULL)) { 613 /* is it the local host 754 char *host = remote_host_name(ifp); local [all...] |
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/ |
H A D | NS.c | 55 char *host = THOSTNAME; local 60 result = _updateldap("add", host, user, passwd, 66 result = _updateldap("delete", host, user, passwd, 72 result = _updateldap("delete", host, user, passwd, TPRINTERNAME, 78 result = _updateldap("delete", host, user, passwd, "_default", 84 result = _updateldap("add", host, user, passwd, TPRINTERNAME, 90 result = _updateldap("modify", host, user, passwd, TPRINTERNAME, 96 result = _updateldap("modify", host, user, passwd, TPRINTERNAME, 110 const char *host, 134 fd = rexec((char **)&host, hton 109 _dorexec( const char *host, const char *user, const char *passwd, const char *cmd, const char *locale) argument 239 char *host; member in struct:ns_cred 289 char *host = NULL; local 445 _updateldap( const char *action, const char *host, const char *binddn, const char *passwd, const char *printername, const char *printserver, const char *extensions, const char *comment, const char *isdefault) argument [all...] |
/illumos-gate/usr/src/cmd/rexd/ |
H A D | mount_nfs.c | 104 char host[256]; local 137 errprintf(error, "No host name in %s\n", fsname); 141 strcpy(host, fsname); 153 printf("\t\tgethostbyname host == %s\n", host); 159 if ((hp = gethostbyname(host)) == NULL) { 161 fsname, host); 187 if (pingnfs(host, &nfsvers) != RPC_SUCCESS) { 188 errprintf(error, "host %s not responding to ping\n", host); [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | main.c | 45 char host[32]; /* host name */ variable 124 gethostname(host, sizeof (host)); 409 "[-k realm] [-f distfile] [-d var=value] [-m host] [file ...]\n"));
|
/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | rusers.c | 55 #define HMAX 16 /* "Logged in" host name. */ 71 static int hflag; /* host: sort by machine name */ 97 * rusers [-ahilu] [host...] 245 char host[MACHINELEN + 1]; local 256 (void) sprintf(host, "%.*s", MACHINELEN, 259 (void) sprintf(host, "%.*s", MACHINELEN, 283 if (strcmp(entryp->machine, host) == 0) 286 return (print_info((struct utmpidlearr *)resultsp, host)); 294 char host[MACHINELEN + 1]; local 298 (void) sprintf(host, " 371 char host[MACHINELEN + 1]; local 420 char host[MACHINELEN + 1]; local 534 putline_2(char *host, struct utmpidle *uip) argument 577 putline_3(char *host, rusers_utmp *rup) argument [all...] |
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | mci.c | 57 ** Vixie. It is based on the long term host status code in KJS 294 ** MCI_GET -- get information about a particular host 297 ** host -- host to look for. 301 ** mci for this host (might be new). 305 mci_get(host, m) 306 char *host; 322 s = stab(host, ST_MCI + m->m_mno, ST_ENTER); 349 host, m->m_name); 359 host, 1237 char host[MAXHOSTNAMELEN]; local [all...] |
/illumos-gate/usr/src/cmd/backup/lib/ |
H A D | rmtlib.c | 104 rmthost(char *host, uint_t blocksize) argument 126 rmtpeer = rmtpeer_malloc = strdup(host); 144 print(dgettext(domainname, "Lost connection to remote host.\n")); 157 char *tuser, *host, *device; local 176 host = strchr(rmtpeer, '@'); 177 if (host) { 179 *host++ = 0; 180 rmtpeer = host; 184 host = rmtpeer; 188 device = strchr(host, ' [all...] |
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | dsr.c | 514 char *host, *path; local 527 host = cur_hostname(minor, kc); 528 if (host) { 529 if (*host) { 530 path = cur_special(host, cp); 532 len = strlen(host); 537 "%s:%s", host, path); 544 free(host);
|
/illumos-gate/usr/src/cmd/last/ |
H A D | last.c | 458 want(struct utmpx *bp, char **host, char **user) argument 464 *host = zerostr; *user = zerostr; 468 *host = bp->ut_host; 473 *host = bp->ut_host; 478 * /var/adm/wtmpx with these values, so the user and host
|