Searched refs:hostname (Results 151 - 175 of 429) sorted by relevance

1234567891011>>

/freebsd-current/usr.bin/uname/
H A Duname.c76 static char *buildid, *ident, *platform, *hostname, *arch, *release, *sysname, variable
156 CHECK_ENV("n", hostname);
182 PRINT_FLAG(flags, NFLAG, hostname);
232 NATIVE_SYSCTL2_GET(hostname, CTL_KERN, KERN_HOSTNAME) {
/freebsd-current/usr.bin/wall/
H A Dwall.c185 char hostname[MAXHOSTNAMELEN], tmpname[64]; local
203 (void)gethostname(hostname, sizeof(hostname));
217 whom, hostname);
/freebsd-current/sys/nfsclient/
H A Dnfsargs.h60 char *hostname; /* server's name */ member in struct:nfs_args
/freebsd-current/libexec/ftpd/
H A Dextern.h78 extern char *hostname;
/freebsd-current/libexec/getty/
H A Dinit.c62 { "hn", hostname, NULL }, /* host name */
/freebsd-current/lib/libc/rpc/
H A Dnetnamer.c180 * Convert network-name to hostname
183 netname2host(char netname[MAXNETNAMELEN + 1], char *hostname, int hostlen) argument
195 (void) strncpy(hostname, val + 2, hostlen);
211 (void) strncpy(hostname, val, vallen);
212 hostname[vallen] = 0;
/freebsd-current/lib/libc/resolv/
H A Dres_data.c291 local_hostname_length(const char *hostname) { argument
298 len_host = strlen(hostname);
301 !strcasecmp(hostname + len_host - len_domain, statp->defdname) &&
302 hostname[len_host - len_domain - 1] == '.')
/freebsd-current/contrib/telnet/telnet/
H A Dnetwork.c152 perror(hostname);
/freebsd-current/share/man/man7/
H A DMakefile17 hostname.7 \
/freebsd-current/contrib/libxo/libxo/
H A Dxo_syslog.c587 char hostname[HOST_NAME_MAX]; local
588 hostname[0] = '\0';
590 strcpy(hostname, "worker-host");
592 (void) gethostname(hostname, sizeof(hostname));
595 hostname[0] ? hostname : "-");
/freebsd-current/crypto/heimdal/lib/krb5/
H A Dget_for_creds.c85 * Forward credentials for client to host hostname , making them
87 * in out_data. If hostname == NULL, pick it from server.
91 * @param hostname the host to forward the tickets too.
106 const char *hostname,
123 if (hostname == NULL &&
132 hostname = host;
153 hostname,
160 * Gets tickets forwarded to hostname. If the tickets that are
164 * If the ticket have any address, hostname will be used for figure
176 * @param hostname th
104 krb5_fwd_tgt_creds(krb5_context context, krb5_auth_context auth_context, const char *hostname, krb5_principal client, krb5_principal server, krb5_ccache ccache, int forwardable, krb5_data *out_data) argument
187 krb5_get_forwarded_creds(krb5_context context, krb5_auth_context auth_context, krb5_ccache ccache, krb5_flags flags, const char *hostname, krb5_creds *in_creds, krb5_data *out_data) argument
[all...]
/freebsd-current/usr.sbin/cron/cron/
H A Ddo_command.c529 char hostname[MAXHOSTNAMELEN]; local
531 if (gethostname(hostname, MAXHOSTNAMELEN) == -1)
532 hostname[0] = '\0';
533 hostname[sizeof(hostname) - 1] = '\0';
545 usernm, hostname);
551 usernm, first_word(hostname, "."),
/freebsd-current/usr.sbin/rpc.lockd/
H A Dkern.c71 static char hostname[MAXHOSTNAMELEN + 1]; /* Hostname. */ variable
160 (void)gethostname(hostname, sizeof(hostname) - 1);
241 cl->cl_auth = authunix_create(hostname,
272 arg4.alock.caller_name = hostname;
296 arg.alock.caller_name = hostname;
342 arg4.alock.caller_name = hostname;
367 arg.alock.caller_name = hostname;
412 arg4.alock.caller_name = hostname;
433 arg.alock.caller_name = hostname;
[all...]
H A Dlockd_lock.c159 void monitor_lock_host(const char *hostname);
160 void unmonitor_lock_host(char *hostname);
206 void clear_blockingfilelock(const char *hostname);
210 void clear_partialfilelock(const char *hostname);
217 void do_clear(const char *hostname);
1243 clear_blockingfilelock(const char *hostname) argument
1259 if (strncmp(hostname, ifl->client_name, SM_MAXSTRLEN) == 0) {
1610 clear_partialfilelock(const char *hostname) argument
1615 clear_blockingfilelock(hostname);
1632 if (strncmp(hostname, if
1852 do_clear(const char *hostname) argument
2005 monitor_lock_host(const char *hostname) argument
2081 unmonitor_lock_host(char *hostname) argument
2153 notify(const char *hostname, const int state) argument
[all...]
/freebsd-current/libexec/nuageinit/
H A Dnuageinit167 nuage.sethostname(obj["hostname"])
181 local hostname = obj['local-hostname']
182 if not hostname then
183 hostname = obj['hostname']
185 if hostname then
186 nuage.sethostname(hostname)
/freebsd-current/contrib/dma/
H A Dmail.c96 hostname(), VERSION, systemhostname(),
100 bounceq.id, hostname(),
102 VERSION, hostname(),
404 hostname(), VERSION, systemhostname(),
496 hostname());
/freebsd-current/crypto/openssl/apps/lib/
H A Ds_socket.c211 char *hostname = NULL; local
216 && (hostname = BIO_ADDR_hostname_string(info.addr, 1)) != NULL
219 strchr(hostname, ':') == NULL
222 hostname, service) > 0;
227 OPENSSL_free(hostname);
/freebsd-current/lib/libc/gen/
H A Dsyslog.c141 char hostname[MAXHOSTNAMELEN], *stdp, tbuf[MAXLINE], fmt_cpy[MAXLINE], local
195 (void)gethostname(hostname, sizeof(hostname));
197 hostname[0] == '\0' ? NILVALUE : hostname);
/freebsd-current/sbin/ipf/ipmon/
H A Dipmon.c144 #define HOSTNAMEV4(b) hostname(AF_INET, (u_32_t *)&(b))
754 sprintf(t, "%s,%s <- -> ", hostname(family, nl->nl_osrcip.i6),
757 sprintf(t, "%s,%s ", hostname(family, nl->nl_nsrcip.i6),
760 sprintf(t, "[%s,%s] ", hostname(family, nl->nl_odstip.i6),
763 sprintf(t, "%s,%s ", hostname(family, nl->nl_osrcip.i6),
766 sprintf(t, "%s,%s <- -> ", hostname(family, nl->nl_odstip.i6),
769 sprintf(t, "%s,%s ", hostname(family, nl->nl_nsrcip.i6),
772 sprintf(t, "%s,%s ", hostname(family, nl->nl_ndstip.i6),
898 hostname(family, (u_32_t *)&sl->isl_src),
902 hostname(famil
[all...]
/freebsd-current/crypto/openssh/
H A Dauth.c104 const char *hostname = NULL, *ipaddr = NULL; local
145 hostname = auth_get_canonical_hostname(ssh, options.use_dns);
152 r = match_user(pw->pw_name, hostname, ipaddr,
160 pw->pw_name, hostname);
168 r = match_user(pw->pw_name, hostname, ipaddr,
179 "not listed in AllowUsers", pw->pw_name, hostname);
187 "not in any group", pw->pw_name, hostname);
198 pw->pw_name, hostname);
211 "in AllowGroups", pw->pw_name, hostname);
664 * Returns the remote DNS hostname a
[all...]
/freebsd-current/crypto/heimdal/lib/hx509/
H A Dtest_ca.in145 --hostname="www.test.h5l.se" \
146 --hostname="ftp.test.h5l.se" \
150 echo "verify certificate hostname (ok)"
152 --hostname=www.test.h5l.se \
156 echo "verify certificate hostname (fail)"
158 --hostname=www2.test.h5l.se \
162 echo "verify certificate hostname (fail)"
164 --hostname=2www.test.h5l.se \
168 echo "issue certificate (hostname in CN)"
176 echo "verify certificate hostname (o
[all...]
H A Dtest_cert.in70 --hostname=foo.com \
/freebsd-current/crypto/openssl/ssl/
H A Dssl_sess.c182 dest->ext.hostname = NULL;
241 if (src->ext.hostname) {
242 dest->ext.hostname = OPENSSL_strdup(src->ext.hostname);
243 if (dest->ext.hostname == NULL) {
841 OPENSSL_free(ss->ext.hostname);
977 return s->ext.hostname;
980 int SSL_SESSION_set1_hostname(SSL_SESSION *s, const char *hostname) argument
982 OPENSSL_free(s->ext.hostname);
983 if (hostname
[all...]
/freebsd-current/usr.sbin/rpc.tlsservd/
H A Drpc.tlsservd.c156 char hostname[MAXHOSTNAMELEN + 2]; local
182 rpctls_dnsname = rpctls_getdnsname(hostname);
184 strcpy(hostname, "@default.domain");
185 rpctls_dnsname = hostname;
228 hostname[0] = '@';
229 strlcpy(&hostname[1], optarg, MAXHOSTNAMELEN + 1);
230 rpctls_dnsname = hostname;
904 rpctls_getdnsname(char *hostname) argument
911 if (gethostname(hostname, MAXHOSTNAMELEN) == 0) {
912 if ((cp = strchr(hostname, '
[all...]
/freebsd-current/contrib/sendmail/contrib/
H A Dbounce-resender.pl33 chomp($hostname = `hostname`);
75 print STDERR "$0: running on $hostname ($uname)\n";
209 print MSGHDR "HMessage-ID: <$messageid@$hostname>\n"
240 print MSGHDR "HMessage-ID: <$messageid@$hostname>\n"

Completed in 196 milliseconds

1234567891011>>