/freebsd-current/usr.bin/uname/ |
H A D | uname.c | 76 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 D | wall.c | 185 char hostname[MAXHOSTNAMELEN], tmpname[64]; local 203 (void)gethostname(hostname, sizeof(hostname)); 217 whom, hostname);
|
/freebsd-current/sys/nfsclient/ |
H A D | nfsargs.h | 60 char *hostname; /* server's name */ member in struct:nfs_args
|
/freebsd-current/libexec/ftpd/ |
H A D | extern.h | 78 extern char *hostname;
|
/freebsd-current/libexec/getty/ |
H A D | init.c | 62 { "hn", hostname, NULL }, /* host name */
|
/freebsd-current/lib/libc/rpc/ |
H A D | netnamer.c | 180 * 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 D | res_data.c | 291 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 D | network.c | 152 perror(hostname);
|
/freebsd-current/share/man/man7/ |
H A D | Makefile | 17 hostname.7 \
|
/freebsd-current/contrib/libxo/libxo/ |
H A D | xo_syslog.c | 587 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 D | get_for_creds.c | 85 * 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 D | do_command.c | 529 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 D | kern.c | 71 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 D | lockd_lock.c | 159 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 D | nuageinit | 167 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 D | mail.c | 96 hostname(), VERSION, systemhostname(), 100 bounceq.id, hostname(), 102 VERSION, hostname(), 404 hostname(), VERSION, systemhostname(), 496 hostname());
|
/freebsd-current/crypto/openssl/apps/lib/ |
H A D | s_socket.c | 211 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 D | syslog.c | 141 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 D | ipmon.c | 144 #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 D | auth.c | 104 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 D | test_ca.in | 145 --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 D | test_cert.in | 70 --hostname=foo.com \
|
/freebsd-current/crypto/openssl/ssl/ |
H A D | ssl_sess.c | 182 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 D | rpc.tlsservd.c | 156 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 D | bounce-resender.pl | 33 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"
|