/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | hostname.c | 14 char *hostname(v, ip) function
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | stdethers.c | 44 * The hostname buffer must be at least as large as the line buffer 48 char line[MAXHOSTNAMELEN + 256], *lf, hostname[sizeof (line)]; local 68 if (ether_line(line, &e, hostname) == 0) { 70 hostname);
|
/illumos-gate/usr/src/cmd/fs.d/smbclnt/smbutil/ |
H A D | lookup.c | 69 char *hostname; local 103 hostname = argv[argc - 1]; 104 error = nbns_resolvename(hostname, ctx, &sap); 106 smb_error(gettext("unable to resolve %s"), error, hostname); 111 printf(gettext("IP address of %s: %s\n"), hostname,
|
H A D | status.c | 69 char *hostname; local 96 hostname = argv[argc - 1]; 97 error = nb_resolvehost_in(hostname, &ina); 100 "unable to resolve DNS hostname %s"), error, hostname); 113 gettext("unable to get status from %s"), error, hostname); 131 printf(gettext("usage: smbutil status hostname\n"));
|
/illumos-gate/usr/src/cmd/getent/ |
H A D | dogetethers.c | 40 putethers(const char *hostname, const struct ether_addr *e, FILE *fp) argument 42 if (hostname == NULL || e == NULL) 45 if (fprintf(fp, "%-20s %s\n", hostname, ether_ntoa(e)) == EOF) 64 char hostname[MAXHOSTNAMELEN + 1]; local 69 hp = hostname;
|
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | unistd.c | 36 static char hostname[MAXHOSTNAMELEN] = "UNKNOWN"; variable 39 * Get system hostname 44 (void) strlcpy(name, hostname, MIN(namelen, MAXHOSTNAMELEN)); 49 * Set system hostname 54 (void) strlcpy(hostname, name, MIN(namelen + 1, MAXHOSTNAMELEN));
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | mk_req.c | 60 krb5_flags ap_req_options, char *service, char *hostname, 68 retval = krb5_sname_to_principal(context, hostname, service, 59 krb5_mk_req(krb5_context context, krb5_auth_context *auth_context, krb5_flags ap_req_options, char *service, char *hostname, krb5_data *in_data, krb5_ccache ccache, krb5_data *outbuf) argument
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | SLPGetRefreshInterval.c | 53 char hostname[MAXHOSTNAMELEN]; /* name of this host */ local 65 (void) gethostname(hostname, MAXHOSTNAMELEN); 68 hostname,
|
/illumos-gate/usr/src/lib/libwrap/ |
H A D | eval.c | 14 * results are really needed. Examples are hostname lookups and double 16 * given the value "unknown" ("paranoid" in case of hostname problems). 18 * When ALWAYS_HOSTNAME is off, hostname lookup is done only when required by 82 if (host->request->hostname != 0) 83 host->request->hostname(host); 93 char *hostname; local 99 hostname = eval_hostname(host); 100 if (HOSTNAME_KNOWN(hostname)) {
|
/illumos-gate/usr/src/lib/libnsl/yp/ |
H A D | yp_rsvd.c | 39 __yp_clnt_create_rsvdport_netid_req(const char *hostname, rpcprog_t prog, argument 57 return (clnt_create(hostname, prog, vers, nt)); 78 if (!rpcb_getaddr(prog, vers, nconf, svcaddr, hostname)) { 99 __yp_clnt_create_rsvdport(const char *hostname, rpcprog_t prog, argument 105 ret = __yp_clnt_create_rsvdport_netid_req(hostname, prog, 108 ret = __yp_clnt_create_rsvdport_netid_req(hostname, 112 return (__yp_clnt_create_rsvdport_netid_req(hostname, prog,
|
/illumos-gate/usr/src/lib/libbc/libc/net/ |
H A D | ether_addr.c | 59 * hostname: hosts name to be set 62 ether_line(char *s, struct ether_addr *e, char *hostname) argument 68 &t[0], &t[1], &t[2], &t[3], &t[4], &t[5], hostname);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/ |
H A D | get_names.c | 63 char hostname[HOST_NAME_LENGTH + 1]; local 102 (void) sysinfo(SI_HOSTNAME, hostname, name_length); 103 my_machine_name = hostname;
|
/illumos-gate/usr/src/cmd/gss/gssd/ |
H A D | gssd_handle.c | 70 static char *hostname; local 84 if ((hostname = strdup(u.nodename)) == (char *)NULL) 91 clnt = clnt_tp_create(hostname, 106 clnt = clnt_tp_create(hostname, GSSPROG, GSSVERS, tpconf);
|
/illumos-gate/usr/src/cmd/krb5/kwarn/ |
H A D | kwarnd_handle.c | 63 static char *hostname; local 81 if ((hostname = strdup(u.nodename)) == (char *)NULL) { 90 kwarn_clnt = clnt_tp_create(hostname, 105 kwarn_clnt = clnt_tp_create(hostname, KWARNPROG, KWARNVERS,
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | globals.c | 24 char hostname[FNAME_SIZE]; /* our hostname */ variable
|
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | ether_addr.c | 86 char hostname[MAXHOSTNAMELEN]; local 94 argp->buf.buffer = hostname;
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | wkssvc_svc.c | 74 char hostname[MAXHOSTNAMELEN]; local 86 if ((rc = smb_getnetbiosname(hostname, MAXHOSTNAMELEN)) == 0) { 87 name = NDR_STRDUP(mxa, hostname);
|
/illumos-gate/usr/src/common/net/wanboot/ |
H A D | parseURL.h | 53 char hostname[URL_MAX_HOSTLEN]; member in struct:__anon2029
|
/illumos-gate/usr/src/cmd/cmd-inet/common/ |
H A D | addr_match.c | 92 char *hostname, 96 * We have to check for spoofing. So take hostname, look up its 107 if (getaddrinfo(hostname, NULL, &hints, &res) == 0) { 114 "the same IP address.", prog, printable_addr, hostname); 115 (void) strlcpy(hostname, printable_addr, hostsize); 87 check_address(const char *prog, const struct sockaddr_storage *fromp, const struct sockaddr_in *sin, const struct sockaddr_in6 *sin6, const char *printable_addr, char *hostname, size_t hostsize) argument
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | selfcheck.c | 41 self_check(char *hostname) argument 68 if ((hostinfo = getipnodebyname(hostname, family, flags, 74 hostname); 77 "self_check: unknown host: %s\n", hostname);
|
/illumos-gate/usr/src/cmd/login/ |
H A D | login_audit.c | 207 const char *hostname, const char *ttyname, char *optional_text) 228 * ignore hostname. (If no remote host and ttyname is NULL, 231 if (*hostname == '\0') 234 (void) adt_load_hostname(hostname, &p_tid); 206 audit_failure(uint_t event_id, int failure_code, struct passwd *pwd, const char *hostname, const char *ttyname, char *optional_text) argument
|
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | getbootparams.c | 99 * adds hostname as a boot param and it should be filtered. 138 char hostname[3 * MAXHOSTNAMELEN]; local 144 if (_ldap_filter_name(hostname, argp->key.name, sizeof (hostname)) != 0) 148 _F_GETBOOTPARAMBYNAME, hostname); 153 _F_GETBOOTPARAMBYNAME_SSD, hostname);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | sn2princ.c | 30 * Convert a hostname and service name to a principal in the "standard" 85 krb5_sname_to_principal(krb5_context context, const char *hostname, const char *sname, krb5_int32 type, krb5_principal *ret_princ) argument 94 printf("krb5_sname_to_principal(host=%s, sname=%s, type=%d)\n",hostname,sname,type); 100 /* if hostname is NULL, use local hostname */ 101 if (! hostname) { 108 hostname = localname; 115 /* copy the hostname into non-volatile storage */ 139 KRB5_LOG(KRB5_INFO, "krb5_sname_to_principal() hostname %s", 140 hostname); [all...] |
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | rexec.c | 75 static char hostname[MAXHOSTNAMELEN]; local 101 (void) strlcpy(hostname, res->ai_canonname, MAXHOSTNAMELEN); 102 *ahost = hostname;
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/starfire/common/ |
H A D | starfire.c | 157 char hostname[128]; /* used for starfire output */ local 168 * Get hostname from system Banner 171 strcpy(hostname, uts_buf.nodename); 182 "on the SSP."), hostname, 0);
|