Searched defs:hostname (Results 1 - 25 of 177) sorted by relevance

12345678

/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dhostname.c14 char *hostname(v, ip) function
/illumos-gate/usr/src/cmd/ypcmd/
H A Dstdethers.c44 * 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 Dlookup.c69 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 Dstatus.c69 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 Ddogetethers.c40 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 Dunistd.c36 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 Dmk_req.c60 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 DSLPGetRefreshInterval.c53 char hostname[MAXHOSTNAMELEN]; /* name of this host */ local
65 (void) gethostname(hostname, MAXHOSTNAMELEN);
68 hostname,
/illumos-gate/usr/src/lib/libwrap/
H A Deval.c14 * 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 Dyp_rsvd.c39 __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 Dether_addr.c59 * 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 Dget_names.c63 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 Dgssd_handle.c70 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 Dkwarnd_handle.c63 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 Dglobals.c24 char hostname[FNAME_SIZE]; /* our hostname */ variable
/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dether_addr.c86 char hostname[MAXHOSTNAMELEN]; local
94 argp->buf.buffer = hostname;
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dwkssvc_svc.c74 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 DparseURL.h53 char hostname[URL_MAX_HOSTLEN]; member in struct:__anon2029
/illumos-gate/usr/src/cmd/cmd-inet/common/
H A Daddr_match.c92 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 Dselfcheck.c41 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 Dlogin_audit.c207 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 Dgetbootparams.c99 * 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 Dsn2princ.c30 * 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 Drexec.c75 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 Dstarfire.c157 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);

Completed in 76 milliseconds

12345678