| /onnv/onnv-gate/usr/src/cmd/fs.d/nfs/lib/ |
| replica.h | 42 char *host; member in struct:replica
|
| /onnv/onnv-gate/usr/src/lib/libfsmgt/common/ |
| sys_info.c | 41 char host[MAXHOSTNAMELEN + 1]; local 45 if (gethostname(host, sizeof (host)) == -1) { 50 ret_val = strdup(host);
|
| /onnv/onnv-gate/usr/src/cmd/mailx/ |
| 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...] |
| /onnv/onnv-gate/usr/src/cmd/ssh/sshd/ |
| auth-sia.c | 55 const char *host; local 58 host = get_canonical_hostname(options.verify_reverse_mapping); 63 if (sia_ses_init(&ent, saved_argc, saved_argv, host, user, NULL, 0, 68 error("Couldn't authenticate %s from %s", user, host); 84 const char *host; local 86 host = get_canonical_hostname (options.verify_reverse_mapping); 88 if (sia_ses_init(&ent, saved_argc, saved_argv, host, user, tty, 0, 105 host); 114 fatal("Couldn't launch session for %s from %s", user, host);
|
| auth-options.c | 207 "host (host=%.200s, ip=%.200s).", 209 auth_debug_add("Your host '%.200s' is not " 216 /* Host name matches. */ 221 char host[256], sport[6]; local 247 if (sscanf(patterns, "%255[^:]:%5[0-9]", host, sport) != 2 && 248 sscanf(patterns, "%255[^/]/%5[0-9]", host, sport) != 2) { 265 channel_add_permitted_opens(host, port);
|
| auth-rhosts.c | 44 char buf[1024]; /* Must not be larger than host, user, dummy below. */ 53 char hostbuf[1024], userbuf[1024], dummy[1024], *host, *user, *cp; local 78 /* Host name only. */ 82 /* Got both host and user name. */ 92 host = hostbuf; 96 /* Process negated host names, or positive netgroups. */ 97 if (host[0] == '-') { 99 host++; 100 } else if (host[0] == '+') 101 host++ [all...] |
| /onnv/onnv-gate/usr/src/cmd/avs/dscfglockd/ |
| dscfgcli.c | 89 char host[1024]; local 93 (void) gethostname(host, sizeof (host)); 96 (void) printf(":%s: ", host);
|
| /onnv/onnv-gate/usr/src/lib/pam_modules/rhosts_auth/ |
| 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)
|
| /onnv/onnv-gate/usr/src/lib/mms/pg/common/ |
| pg_host_ident.c | 46 char host[MMS_HOST_IDENT_LEN+1]; local 79 /* find ident (ip address), host_str is a host name or ip address */ 80 if ((ident = mms_host_ident(host_str, host, ip)) == NULL) {
|
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
| 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.S_un.S_un_b.s_b3 = getxdr_char() [all...] |
| /onnv/onnv-gate/usr/src/cmd/rexd/ |
| 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);
|
| /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
| import_name.c | 82 char *service, *host; local 95 if ((host = strchr(tmp, '@'))) { 96 *host = '\0'; 97 host++; 100 code = krb5_sname_to_principal(context, host, service, KRB5_NT_SRV_HST,
|
| /onnv/onnv-gate/usr/src/lib/libwrap/ |
| 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->addr) 133 char *host = eval_hostinfo(request->server); local [all...] |
| /onnv/onnv-gate/usr/src/lib/nsswitch/files/common/ |
| 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) {
|
| /onnv/onnv-gate/usr/src/lib/print/libhttp-core/common/ |
| 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 */ 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)) 180 struct hostent *host; \/* Host from name service *\/ local [all...] |
| /onnv/onnv-gate/usr/src/lib/print/libpapi-common/common/ |
| uri.h | 40 * scheme://[[user[:password]@]host[:port]]/path[[#fragment]|[?query]] 47 char *host; member in struct:__anon4441
|
| uri.c | 60 * scheme://[[user[:password]@]host[:port]]/path[[#fragment]|[?query]] 89 char *end = NULL, *user = NULL, *host = NULL, *path = NULL; local 98 for (host = string; host < end; host ++) 99 if (*host == '@') { 100 /* string to host is the user part */ 101 u->user_part = strndup(string, host-string); 102 /* host+1 to end is the host part * [all...] |
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.bin/ |
| whois.c | 58 char *host = NICHOST; local 65 host = *argv++; 69 (void) fprintf(stderr, "usage: whois [ -h host ] name\n"); 77 rv = getaddrinfo(host, "whois", &hints, &ai_head); 79 (void) fprintf(stderr, "whois: %s: %s\n", host,
|
| /onnv/onnv-gate/usr/src/common/openssl/crypto/ocsp/ |
| ocsp_lib.c | 162 /* Parse a URL and split it up into host, port and path components and whether 170 char *host, *port; local 206 host = p; 224 if ((p = strchr(host, ':'))) 239 *phost = BUF_strdup(host);
|
| /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
| dnssrv.c | 44 free(p->host); 63 char host[MAXDNAME], *h; local 87 sprintf(host, "%s.%s.%.*s", service, protocol, (int) realm->length, 99 h = host + strlen (host); 100 if ((h[-1] != '.') && ((h - host + 1) < sizeof(host))) 104 fprintf (stderr, "sending DNS SRV query for %s\n", host); 107 size = krb5int_dns_init(&ds, host, C_IN, T_SRV); 126 nlen = krb5int_dns_expand(ds, p, host, sizeof(host)) [all...] |
| /onnv/onnv-gate/usr/src/lib/libnsl/rpc/ |
| 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, 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...] |
| /onnv/onnv-gate/usr/src/lib/pam_modules/dhkeys/ |
| key_call_uid.c | 54 char host[MAX_MACHINE_NAME + 1]; local 57 if (gethostname(host, sizeof (host) - 1) == -1) { 62 host[MAX_MACHINE_NAME] = '\0'; 64 res = authsys_create(host, uid, gid, 0, (gid_t *)NULL);
|
| /onnv/onnv-gate/usr/src/lib/print/libipp-listener/common/ |
| 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",
|
| /onnv/onnv-gate/usr/src/cmd/fs.d/nfs/mountd/ |
| nfsauth.c | 60 char *host = NULL; local 80 host = &tmp[0]; 94 clnames = anon_client(host);
|
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
| gettable.c | 69 char *host; local 85 fprintf(stderr, "usage: gettable [-v] host [ file ]\n"); 93 host = *argv; 95 sintmp.sin_addr.s_addr = inet_addr(host); 99 hp = gethostbyname(host); 101 fprintf(stderr, "gettable: %s: host unknown\n", host); 105 host = hp->h_name; 129 fprintf(stderr, "Connection to %s opened.\n", host); 183 fprintf(stderr, "Host table received.\n") [all...] |