/freebsd-10.0-release/usr.sbin/rpc.lockd/ |
H A D | kern.c | 72 static char hostname[MAXHOSTNAMELEN + 1]; /* Hostname. */ variable 162 (void)gethostname(hostname, sizeof(hostname) - 1); 245 cl->cl_auth = authunix_create(hostname, 276 arg4.alock.caller_name = hostname; 300 arg.alock.caller_name = hostname; 346 arg4.alock.caller_name = hostname; 371 arg.alock.caller_name = hostname; 416 arg4.alock.caller_name = hostname; 437 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); 1267 clear_blockingfilelock(const char *hostname) argument 1283 if (strncmp(hostname, ifl->client_name, SM_MAXSTRLEN) == 0) { 1632 clear_partialfilelock(const char *hostname) argument 1637 clear_blockingfilelock(hostname); 1654 if (strncmp(hostname, if 1874 do_clear(const char *hostname) argument 2027 monitor_lock_host(const char *hostname) argument 2103 unmonitor_lock_host(char *hostname) argument 2175 notify(const char *hostname, const int state) argument [all...] |
/freebsd-10.0-release/usr.sbin/timed/timed/ |
H A D | timed.c | 199 if (gethostname(hostname, sizeof(hostname) - 1) < 0) 209 add_good_host(hostname,1); 471 (void)strcpy(msg.tsp_name, hostname); 488 (void)strcpy(resp.tsp_name, hostname); 561 (void)strcpy(conflict.tsp_name, hostname); 785 if (!innetgr(goodgroup, &hostname[0], 0,0)) { 788 &hostname[0], goodgroup); 793 &hostname[0], goodgroup); 829 if (!strcasecmp(name,hostname)) /* trus [all...] |
H A D | slave.c | 147 (void)strcpy(to.tsp_name, hostname); 407 (void)strcpy(to.tsp_name, hostname); 418 (void)strcpy(to.tsp_name, hostname); 437 (void)strcpy(to.tsp_name, hostname); 471 (void)strcpy(to.tsp_name, hostname); 511 if (!strcmp(msg->tsp_name, hostname)) { 531 (void)strcpy(to.tsp_name, hostname); 584 (void)strcpy(to.tsp_name, hostname); 665 (void)strcpy(to.tsp_name, hostname);
|
/freebsd-10.0-release/contrib/ntp/util/ |
H A D | ntp-keygen.c | 4 * This program generates files "ntpkey_<type>_<hostname>.<filestamp>", 5 * where <type> is the file type, <hostname> is the generating host and 19 * ntpkey_MD5key_<hostname>.<filestamp> 23 * ntpkey_RSAkey_<hostname>.<filestamp> 24 * ntpkey_host_<hostname> (RSA) link 28 * ntpkey_DSAkey_<hostname>.<filestamp> 29 * ntpkey_sign_<hostname> (RSA or DSA) link 33 * ntpkey_IFFpar_<hostname>.<filestamp> 34 * ntpkey_iff_<hostname> (IFF server/client) link 35 * ntpkey_iffkey_<hostname> (IF 170 char *hostname; /* host name (subject name) */ variable [all...] |
/freebsd-10.0-release/release/picobsd/tinyware/login/ |
H A D | pico-login.c | 50 * login -h hostname (for telnetd, etc.) 141 char *term, *envinit[1], *hostname, *tty, *username; variable 213 "hostname size", optarg); 240 optarg = "invalid hostname"; 244 hostname = optarg; 464 if (hostname) { 507 if (login_access(pwd->pw_name, hostname ? full_hostname : tty) == 0) 512 ulog_login(tty, username, hostname); 518 if (hostname) 519 (void)strncpy(utmp.ut_host, hostname, sizeo [all...] |
/freebsd-10.0-release/contrib/ipfilter/tools/ |
H A D | ipmon.c | 162 #define HOSTNAMEV4(b) hostname(AF_INET, (u_32_t *)&(b)) 798 sprintf(t, "%s,%s <- -> ", hostname(family, nl->nl_osrcip.i6), 801 sprintf(t, "%s,%s ", hostname(family, nl->nl_nsrcip.i6), 804 sprintf(t, "[%s,%s] ", hostname(family, nl->nl_odstip.i6), 807 sprintf(t, "%s,%s ", hostname(family, nl->nl_osrcip.i6), 810 sprintf(t, "%s,%s <- -> ", hostname(family, nl->nl_odstip.i6), 813 sprintf(t, "%s,%s ", hostname(family, nl->nl_nsrcip.i6), 816 sprintf(t, "%s,%s ", hostname(family, nl->nl_ndstip.i6), 944 hostname(family, (u_32_t *)&sl->isl_src), 948 hostname(famil [all...] |
/freebsd-10.0-release/crypto/heimdal/lib/ntlm/ |
H A D | ntlm.c | 524 if (data->hostname) 525 free(data->hostname); 535 struct sec_buffer domain, hostname; local 555 CHECK(ret_sec_buffer(in, &hostname), 0); 565 CHECK(ret_sec_string(in, 0, &hostname, &data->hostname), 0); 593 struct sec_buffer domain, hostname; local 604 if (type1->hostname) { 620 hostname.offset = domain.allocated + domain.offset; 621 if (type1->hostname) { [all...] |
/freebsd-10.0-release/crypto/openssh/ |
H A D | auth.c | 101 const char *hostname = NULL, *ipaddr = NULL, *passwd = NULL; local 185 hostname = get_canonical_hostname(options.use_dns); 192 if (match_user(pw->pw_name, hostname, ipaddr, 196 pw->pw_name, hostname); 203 if (match_user(pw->pw_name, hostname, ipaddr, 209 "not listed in AllowUsers", pw->pw_name, hostname); 217 "not in any group", pw->pw_name, hostname); 228 pw->pw_name, hostname); 241 "in AllowGroups", pw->pw_name, hostname);
|
/freebsd-10.0-release/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-10.0-release/lib/libc/net/ |
H A D | getaddrinfo.c | 44 * when globbing NULL hostname (to loopback, or wildcard). Is it the right 48 * (1) what should we do against numeric hostname (2) what should we do 49 * against NULL hostname (3) what is AI_ADDRCONFIG itself. AF not ready? 364 getaddrinfo(const char *hostname, const char *servname, argument 399 if (hostname == NULL && servname == NULL) 474 * NULL hostname, or numeric hostname. 488 if (hostname == NULL) { 499 error = explore_numeric_scope(pai, hostname, servname, 504 * families that do not match that of hostname 1167 explore_numeric(const struct addrinfo *pai, const char *hostname, const char *servname, struct addrinfo **res, const char *canonname) argument 1232 explore_numeric_scope(const struct addrinfo *pai, const char *hostname, const char *servname, struct addrinfo **res) argument 1623 char *hostname; local 1796 explore_fqdn(const struct addrinfo *pai, const char *hostname, const char *servname, struct addrinfo **res) argument 2141 const char *hostname; local [all...] |
/freebsd-10.0-release/contrib/ntp/scripts/ |
H A D | ntpsweep.in | 55 <file>|[--host <hostname>] 68 Specify hosts file. File format is one hostname or ip number per line. 70 --host <hostname> 104 # translate IP to hostname if possible
|
/freebsd-10.0-release/contrib/traceroute/ |
H A D | traceroute.c | 334 char *hostname; variable 684 hostname = argv[optind]; 685 hi = gethostinfo(hostname); 690 prog, hostname, inet_ntoa(to->sin_addr)); 691 hostname = hi->name; 944 prog, hostname, inet_ntoa(to->sin_addr)); 1229 prog, hostname, packlen, cc); 1612 gethostinfo(register char *hostname) argument 1620 if (strlen(hostname) >= MAXHOSTNAMELEN) { 1621 Fprintf(stderr, "%s: hostname \" 1679 getaddr(register u_int32_t *ap, register char *hostname) argument [all...] |
/freebsd-10.0-release/contrib/ipfilter/lib/ |
H A D | printstatefields.c | 224 PRINTF("%s", hostname(sp->is_v, &sp->is_src.in4)); 228 PRINTF("%s", hostname(sp->is_v, &sp->is_dst.in4));
|
/freebsd-10.0-release/contrib/ntp/ |
H A D | build | 4 IAM=`hostname || uname -n`
|
/freebsd-10.0-release/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"
|
/freebsd-10.0-release/contrib/serf/auth/ |
H A D | auth_spnego_gss.c | 151 const char *hostname, 167 bufdesc.value = apr_pstrcat(scratch_pool, service, "@", hostname, NULL); 149 serf__spnego_init_sec_context(serf__spnego_context_t *ctx, const char *service, const char *hostname, serf__spnego_buffer_t *input_buf, serf__spnego_buffer_t *output_buf, apr_pool_t *result_pool, apr_pool_t *scratch_pool ) argument
|
/freebsd-10.0-release/contrib/tcpdump/ |
H A D | print-pptp.c | 108 u_char hostname[64]; member in struct:pptp_msg_sccrq 120 u_char hostname[64]; member in struct:pptp_msg_sccrp 252 2 u_char hostname[64]; 412 pptp_hostname_print(const u_char *hostname) argument 414 printf(" HOSTNAME(%.64s)", hostname); 604 TCHECK(ptr->hostname); 605 pptp_hostname_print(&ptr->hostname[0]); 634 TCHECK(ptr->hostname); 635 pptp_hostname_print(&ptr->hostname[0]);
|
/freebsd-10.0-release/crypto/heimdal/lib/krb5/ |
H A D | verify_krb5_conf.c | 147 char hostname[128]; local 191 if(strsep_copy(&p, ":", hostname, sizeof(hostname)) < 0) { 194 hostname[strcspn(hostname, "/")] = '\0'; 206 ret = getaddrinfo(hostname, service, &hints, &ai); 209 ret = getaddrinfo(hostname, service, &hints, &ai); 212 krb5_warnx(context, "%s: %s (%s)", path, gai_strerror(ret), hostname);
|
/freebsd-10.0-release/crypto/openssh/openbsd-compat/ |
H A D | bsd-cray.c | 177 record_failed_login(const char *user, const char *hostname, const char *ttyname) argument 206 char hostname[MAXHOSTNAMELEN]; local 225 hostname[0] = '\0'; 226 strlcpy(hostname, 269 usent.host = hostname; 391 fsent.host = hostname; 427 fsent.host = hostname; 471 ssent.host = hostname;
|
/freebsd-10.0-release/etc/mail/ |
H A D | Makefile | 68 SENDMAIL_MC!= hostname 76 SENDMAIL_SUBMIT_MC!= hostname
|
/freebsd-10.0-release/usr.bin/login/ |
H A D | login.c | 52 * login -h hostname (for telnetd, etc.) 128 static char *hostname; /* hostname from command line */ variable 209 "hostname size", optarg); 211 hostname = optarg; 308 pam_err = pam_set_item(pamh, PAM_RHOST, hostname); 492 hostname, tty, pwd->pw_name); 505 username, tty, hostname); 796 (void)fprintf(stderr, "usage: login [-fp] [-h hostname] [username]\n"); 892 failures, failures > 1 ? "S" : "", hostname); [all...] |
/freebsd-10.0-release/usr.sbin/bsdinstall/scripts/ |
H A D | auto | 65 bsdinstall hostname || error 203 "Hostname" "Set system hostname" \ 220 bsdinstall hostname
|
/freebsd-10.0-release/usr.sbin/crunch/examples/ |
H A D | fixit.conf | 16 progs cat chmod cp date dd df echo ed expr hostname kill ln ls mkdir
|