/illumos-gate/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);
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | replica.h | 42 char *host; member in struct:replica
|
/illumos-gate/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;
|
/illumos-gate/usr/src/lib/libbc/libc/net/ |
H A D | getrpcport.c | 35 getrpcport(char *host, int prognum, int versnum, int proto) argument 40 if ((hp = gethostbyname(host)) == NULL)
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | hostname.c | 47 * Code to figure out what host we are on. 57 char host[64]; variable 60 * Initialize the network name of the current host. 71 nstrcpy(host, sizeof (host), fp); 74 nstrcpy(host, sizeof (host), name.nodename); 76 snprintf(domain, sizeof (domain), "%s%s", host, maildomain()); 82 gettext("Cannot find empty slot for dynamic host entry\n")); 85 np->nt_machine = host; [all...] |
/illumos-gate/usr/src/ucblib/librpcsoc/ |
H A D | getrpcport.c | 37 getrpcport(char *host, rpcprog_t prognum, rpcvers_t versnum, rpcprot_t proto) argument 42 if ((hp = gethostbyname(host)) == NULL)
|
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | mountd.h | 46 extern void mntlist_new(char *host, char *path); 47 extern void mntlist_delete(char *host, char *path); 48 extern void mntlist_delete_all(char *host); 81 char *host; member in struct:cln
|
H A D | nfsauth.c | 93 char *host = cln_gethost(&cln); local 94 if (host != NULL) 95 syslog(LOG_ERR, "%s denied access to %s", host,
|
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | bootparams_getbyname.c | 103 char *p, *host, *limit; local 122 * we need to strip off the host name before returning it. 131 host = p; 139 if (strcasecmp(args->key.name, host) != 0) {
|
/illumos-gate/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)
|
/illumos-gate/usr/src/lib/print/libpapi-common/common/ |
H A D | uri.h | 40 * scheme://[[user[:password]@]host[:port]]/path[[#fragment]|[?query]] 47 char *host; member in struct:__anon4324
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | import_name.c | 84 char *service, *host; local 97 if ((host = strchr(tmp, '@'))) { 98 *host = '\0'; 99 host++; 102 code = krb5_sname_to_principal(context, host, service, KRB5_NT_SRV_HST,
|
/illumos-gate/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...] |
/illumos-gate/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
|
/illumos-gate/usr/src/cmd/rexd/ |
H A D | where_main.c | 49 char host[MAXPATHLEN]; local 74 where(pn, host, fsname, within); 77 printf("%s:%s%s\n", host, fsname, within); 93 setproctitle(user, host) 94 char *user, *host; 100 strlen(user)+strlen(host)+3 > (LastArgv - tohere)) 103 sprintf(tohere, "%s@%s", user, host);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_bparam.c | 180 struct in_addr host; local 188 host.S_un.S_un_b.s_b1 = getxdr_char(); 189 host.S_un.S_un_b.s_b2 = getxdr_char(); 190 host.S_un.S_un_b.s_b3 = getxdr_char(); 191 host.S_un.S_un_b.s_b4 = getxdr_char(); 193 return (inet_ntoa(host)); 200 struct in_addr host; local 206 host.S_un.S_un_b.s_b1 = getxdr_char(); 207 host.S_un.S_un_b.s_b2 = getxdr_char(); 208 host [all...] |
/illumos-gate/usr/src/cmd/avs/dscfglockd/ |
H A D | dscfgcli.c | 89 char host[1024]; local 93 (void) gethostname(host, sizeof (host)); 96 (void) printf(":%s: ", host);
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | is_local_host.c | 48 * Given a host name, check to see if it points to the local host. 51 * The strategy is this: translate the host name argument to a list of 53 * network interfaces on this host. 56 is_local_host(char *host) argument 62 if (hp = getipnodebyname((const char *) host, AF_INET, flags, &err)) 65 if (hp = getipnodebyname((const char *) host, AF_INET6, flags, &err))
|
/illumos-gate/usr/src/cmd/tip/ |
H A D | remote.c | 17 * Attributes to be gleened from remote host description 33 getremcap(char *host) argument 41 if ((stat = rgetent(tbuf, host, sizeof (tbuf))) <= 0) { 43 host[0] == '/' && access(DV = host, R_OK | W_OK) == 0) { 48 if (host[0] == '/') 51 HO = host; 65 "tip: unknown host %s\n" : 66 "tip: can't open host description file\n", host); 150 getremote(char *host) argument [all...] |
/illumos-gate/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;
|
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/ |
H A D | Host.java | 26 * Methods associated with a host. 100 public synchronized static void pingHost(String host) argument 108 syscmd.exec("/usr/sbin/ping " + host); 148 Debug.message("SVR: printers.conf NIS host not found."); 149 Debug.message("SVR: Looking for NIS passwd host.");
|
/illumos-gate/usr/src/lib/print/libhttp-core/common/ |
H A D | http-addr.c | 28 * httpAddrLoad() - Load a host entry address into an HTTP address. 90 * 'httpAddrLoad()' - Load a host entry address into an HTTP address. 94 httpAddrLoad(const struct hostent *host, /* I - Host entry */ argument 96 int n, /* I - Index into host entry */ 100 if (host->h_addrtype == AF_INET6) 108 memcpy((char *)&(addr->ipv6.sin6_addr), host->h_addr_list[n], 109 host->h_length); 115 if (host->h_addrtype == AF_LOCAL) 118 strlcpy(addr->un.sun_path, host->h_addr_list[n], sizeof(addr->un.sun_path)); 122 if (host 180 struct hostent *host; /* Host from name service */ local [all...] |
H A D | http-support.c | 69 char *host, /* O - Hostname [1024] */ 73 httpSeparate2(uri, method, 32, username, HTTP_MAX_URI, host, HTTP_MAX_URI, 89 char *host, /* O - Hostname */ 104 if (uri == NULL || method == NULL || username == NULL || host == NULL || 126 uri = http_copy_decode(host, uri, hostlen, ":"); 136 if (strchr(host, '.') != NULL || strchr(host, '/') != NULL || *uri == '\0') 138 if ((ptr = strchr(host, '/')) != NULL) 165 strlcpy(method, host, methodlen); 177 host[ 66 httpSeparate(const char *uri, char *method, char *username, char *host, int *port, char *resource) argument 84 httpSeparate2(const char *uri, char *method, int methodlen, char *username, int usernamelen, char *host, int hostlen, int *port, char *resource, int resourcelen) argument [all...] |
/illumos-gate/usr/src/lib/print/libipp-listener/common/ |
H A D | print-job.c | 53 char *host = NULL; local 103 /* Set "job-originating-host-name" in next block */ 128 "job-originating-host-name", 138 "job-originating-host-name", 144 "job-originating-host-name",
|