Home
last modified time | relevance | path

Searched refs:host (Results 1 – 25 of 1639) sorted by relevance

12345678910>>...66

/freebsd-11-stable/crypto/openssh/regress/
HDkeygen-knownhosts.sh9 for x in host-a host-b host-c host-d host-e host-f host-a2 host-b2; do
16 host-a|host-b) printf "$x " ;;
17 host-c) printf "@cert-authority $x " ;;
18 host-d) printf "@revoked $x " ;;
19 host-e) printf "host-e* " ;;
20 host-f) printf "host-f,host-g,host-h " ;;
21 host-a2) printf "host-a " ;;
22 host-b2) printf "host-b " ;;
67 expect_key host-a host-a host-a 2
68 expect_key host-a host-a host-a2 20
[all …]
HDcfginclude.sh10 Match host a
13 Match host b
17 Match host c
21 Match host m
40 Match host xxxxxx
44 Match host a
47 Match host b
50 Match host c
64 Match host a
67 Match host b
[all …]
/freebsd-11-stable/sys/nlm/
HDnlm_prot_impl.c643 struct nlm_host *host = af->af_host; in nlm_cancel_async_lock() local
646 mtx_assert(&host->nh_lock, MA_OWNED); in nlm_cancel_async_lock()
648 mtx_unlock(&host->nh_lock); in nlm_cancel_async_lock()
661 mtx_lock(&host->nh_lock); in nlm_cancel_async_lock()
665 "cancelled\n", af, host->nh_caller_name, host->nh_sysid); in nlm_cancel_async_lock()
671 TAILQ_REMOVE(&host->nh_pending, af, af_link); in nlm_cancel_async_lock()
672 mtx_unlock(&host->nh_lock); in nlm_cancel_async_lock()
674 mtx_lock(&host->nh_lock); in nlm_cancel_async_lock()
681 nlm_check_expired_locks(struct nlm_host *host) in nlm_check_expired_locks() argument
686 mtx_lock(&host->nh_lock); in nlm_check_expired_locks()
[all …]
/freebsd-11-stable/contrib/tcp_wrappers/
HDeval.c58 char *eval_hostaddr(host) in eval_hostaddr() argument
59 struct host_info *host; in eval_hostaddr()
61 if (host->addr[0] == 0) {
62 strcpy(host->addr, unknown);
63 if (host->request->hostaddr != 0)
64 host->request->hostaddr(host);
66 return (host->addr);
71 char *eval_hostname(host) in eval_hostname() argument
72 struct host_info *host; in eval_hostname()
74 if (host->name[0] == 0) {
[all …]
HDscaffold.c50 struct hostent host; member
66 memset((char *) &hb->host, 0, sizeof(hb->host));
67 hb->host.h_length = hp->h_length;
68 hb->host.h_addr_list = hb->addr_list;
69 hb->host.h_addr_list[count] = 0;
70 data = (char *) (hb->host.h_addr_list + count + 1);
73 hb->host.h_addr_list[count] = data + hp->h_length * count;
74 memcpy(hb->host.h_addr_list[count], addr, hp->h_length);
76 return (&hb->host);
83 struct addrinfo *find_inet_addr(host) in find_inet_addr() argument
[all …]
HDsocket.c142 void sock_hostaddr(host) in sock_hostaddr() argument
143 struct host_info *host; in sock_hostaddr()
146 struct sockaddr *sin = host->sin;
157 getnameinfo(sin, salen, host->addr, sizeof(host->addr),
160 struct sockaddr_in *sin = host->sin;
163 STRN_CPY(host->addr, inet_ntoa(sin->sin_addr), sizeof(host->addr));
169 void sock_hostname(host) in sock_hostname() argument
170 struct host_info *host; in sock_hostname()
173 struct sockaddr *sin = host->sin;
214 STRN_CPY(host->name, hname, sizeof(host->name));
[all …]
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/net/getaddrinfo/
HDno_host_v4v6.exp1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv http
2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http
3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http
4 ai3: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
5 ai4: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http
7 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv echo
8 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv echo
9 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv echo
10 ai3: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv echo
11 ai4: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv echo
[all …]
HDbasics_v4v6.exp1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv http
2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http
3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http
5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv http
6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http
9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv http
10 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http
11 ai2: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
12 ai3: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http
[all …]
HDno_host_v4.exp1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv http
2 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
3 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http
5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv echo
6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv echo
7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv echo
9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv tftp
10 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv tftp
11 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv tftp
13 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv 80
[all …]
HDbasics_v4.exp1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv http
2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http
3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http
5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv http
6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http
9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv http
10 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
11 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http
13 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv tftp
[all …]
HDno_serv_v4v6.exp1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv (empty)
2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 0
3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv 0
5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv (empty)
6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 0
7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv 0
9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv (empty)
10 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 0
11 ai2: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 0
12 ai3: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv 0
[all …]
/freebsd-11-stable/contrib/sendmail/contrib/
HDexpn.pl470 local($method,$user,*host,*fall_table,*fellback) = @_;
482 print "U: $user H: $host\n";
485 $us = "$user *** $host";
500 print "Oldhost($host, $us) = " if $debug;
501 $oldhost = $host;
540 $host = $oldhost;
761 local($host,$domain_host,$u) = @_;
765 $host =~ s/\.$//;
772 print "domainify($host,$domain_host) = $host\n" if $debug;
773 return $host;
[all …]
/freebsd-11-stable/contrib/ntp/scripts/ntpsweep/
HDntpsweep.in36 (((@_ != 1) && !$opts->{host} && !@{$opts->{'host-list'}}))) {
51 if ($opts->{host}) {
52 push @hosts, $opts->{host};
75 my $host;
76 for $host (@hosts) {
77 scan_host($host, 0, $host => 1);
99 my ($host, $level, %trace) = @_;
108 if (exists $known_host_info{$host}) {
112 ($offset, $stratum) = ntp_sntp_line($host);
116 my $vars = ntp_read_vars(0, [qw(processor system daemon_version)], $host) || {};
[all …]
/freebsd-11-stable/gnu/usr.bin/cc/cc_tools/
HDMakefile.dep3 OBJS_DEPEND_GUESS.errors.o+= bconfig.h auto-host.h
5 OBJS_DEPEND_GUESS.genattr.o+= bconfig.h auto-host.h \
10 auto-host.h \
16 auto-host.h \
20 OBJS_DEPEND_GUESS.gencheck.o+= bconfig.h auto-host.h \
25 auto-host.h
27 OBJS_DEPEND_GUESS.gencodes.o+= bconfig.h auto-host.h \
32 auto-host.h \
36 OBJS_DEPEND_GUESS.genconfig.o+= bconfig.h auto-host.h \
41 auto-host.h \
[all …]
/freebsd-11-stable/crypto/heimdal/lib/krb5/
HDkrbhst.c290 append_host_hostinfo(struct krb5_krbhst_data *kd, struct krb5_krbhst_info *host) in append_host_hostinfo() argument
295 if(h->proto == host->proto && in append_host_hostinfo()
296 h->port == host->port && in append_host_hostinfo()
297 strcmp(h->hostname, host->hostname) == 0) { in append_host_hostinfo()
298 _krb5_free_krbhst_info(host); in append_host_hostinfo()
301 *kd->end = host; in append_host_hostinfo()
302 kd->end = &host->next; in append_host_hostinfo()
307 const char *host, int def_port, int port) in append_host_string() argument
311 hi = parse_hostspec(context, kd, host, def_port, port); in append_host_string()
324 krb5_krbhst_format_string(krb5_context context, const krb5_krbhst_info *host, in krb5_krbhst_format_string() argument
[all …]
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/
HDt_sethostname.c41 static char host[MAXHOSTNAMELEN]; variable
85 (void)sethostname(host, sizeof(host)); in ATF_TC_BODY()
90 (void)sethostname(host, sizeof(host)); in ATF_TC_CLEANUP()
112 ATF_REQUIRE(sethostname(host, MAXHOSTNAMELEN - 1 ) == 0); in ATF_TC_CLEANUP()
113 ATF_REQUIRE(sethostname(host, MAXHOSTNAMELEN) == -1); in ATF_TC_CLEANUP()
115 (void)sethostname(host, sizeof(host)); in ATF_TC_CLEANUP()
130 ATF_REQUIRE_ERRNO(EPERM, sethostname(host, sizeof(host)) == -1); in ATF_TC_BODY()
135 (void)sethostname(host, sizeof(host)); in ATF_TC_CLEANUP()
141 (void)memset(host, 0, sizeof(host)); in ATF_TP_ADD_TCS()
143 ATF_REQUIRE(gethostname(host, sizeof(host)) == 0); in ATF_TP_ADD_TCS()
/freebsd-11-stable/contrib/amd/scripts/
HDexpn.1480 local($method,$user,*host,*fall_table,*fellback) = @_;
492 print "U: $user H: $host\n";
495 $us = "$user *** $host";
510 print "Oldhost($host, $us) = " if $debug;
511 $oldhost = $host;
550 $host = $oldhost;
771 local($host,$domain_host,$u) = @_;
775 $host =~ s/\.$//;
780 # domain host isn't, keep $host whatever it is
782 print "domainify($host,$domain_host) = $host\n" if $debug;
[all …]
HDexpn.in479 local($method,$user,*host,*fall_table,*fellback) = @_;
491 print "U: $user H: $host\n";
494 $us = "$user *** $host";
509 print "Oldhost($host, $us) = " if $debug;
510 $oldhost = $host;
549 $host = $oldhost;
770 local($host,$domain_host,$u) = @_;
774 $host =~ s/\.$//;
779 # domain host isn't, keep $host whatever it is
781 print "domainify($host,$domain_host) = $host\n" if $debug;
[all …]
/freebsd-11-stable/usr.bin/whois/
HDwhois.c131 static struct addrinfo *gethostinfo(char const *host, int exitnoname);
139 const char *country, *host; in main() local
146 country = host = NULL; in main()
151 host = ANICHOST; in main()
154 host = PNICHOST; in main()
157 host = ABUSEHOST; in main()
163 host = FNICHOST; in main()
166 host = GNICHOST; in main()
169 host = optarg; in main()
172 host = INICHOST; in main()
[all …]
/freebsd-11-stable/contrib/gcc/
HDconfig.host1 # GCC host-specific configuration file.
22 # This is the GCC host-specific configuration file
26 # running autoconf when modifying host-specific information.
28 # This file switches on the shell variable ${host}. As much of this as
35 # host machine.
38 # host machine.
40 # host_xmake_file List of host-specific makefile-fragments.
42 # host_exeext Set to the suffix, if the host machine requires
45 # host_extra_objs List of extra host-dependent objects that should
48 # host_extra_gcc_objs List of extra host-dependent objects that should
[all …]
/freebsd-11-stable/lib/libc/net/
HDgetnameinfo.c114 char *host, size_t hostlen, char *serv, size_t servlen, in getnameinfo() argument
148 return ((*afd->a_func)(afd, sa, salen, host, hostlen, in getnameinfo()
169 char *host, size_t hostlen, char *serv, size_t servlen, in getnameinfo_inet() argument
247 if (host == NULL || hostlen == 0) { in getnameinfo_inet()
267 if ((error = ip6_parsenumeric(sa, addr, host, in getnameinfo_inet()
280 strlcpy(host, numaddr, hostlen); in getnameinfo_inet()
303 strlcpy(host, hp->h_name, hostlen); in getnameinfo_inet()
314 if ((error = ip6_parsenumeric(sa, addr, host, in getnameinfo_inet()
322 if (inet_ntop(afd->a_af, addr, host, in getnameinfo_inet()
335 char *host, size_t hostlen, int flags) in ip6_parsenumeric() argument
[all …]
/freebsd-11-stable/contrib/opie/libopie/
HDaccessfile.c53 int opieaccessfile FUNCTION((host), char *host)
65 syslog(LOG_DEBUG, "accessfile: host=%s", host);
67 if (!host[0])
70 if (isaddr(host)) {
71 n = inet_addr(host);
74 hp = gethostbyname(host);
76 printf("Unknown host %s\n", host);
88 int rdnets FUNCTION((host), long host)
120 …syslog(LOG_DEBUG, "accessfile: %08x & %08x == %08x (%s)", host, mask, pattern, ((host & mask) == p…
122 if ((host & mask) == pattern) {
[all …]
/freebsd-11-stable/contrib/dma/
HDnet.c319 h->host, h->addr, h->pref); in open_connection()
324 h->host, h->addr); in open_connection()
330 h->host, h->addr); in open_connection()
352 deliver_to_host(struct qitem *it, struct mx_hostentry *host) in deliver_to_host() argument
364 fd = open_connection(host); in deliver_to_host()
372 host->host, host->addr, c, neterr); \ in deliver_to_host()
374 host->host, host->addr, c, neterr); \ in deliver_to_host()
379 host->host, host->addr, c, neterr); \ in deliver_to_host()
414 if (strcmp(a->host, host->host) == 0) { in deliver_to_host()
430 snprintf(errmsg, sizeof(errmsg), "SMTP login to %s failed", host->host); in deliver_to_host()
[all …]
/freebsd-11-stable/contrib/amd/fixmount/
HDfixmount.c58 extern int fixmount_check_mount(char *host, struct in_addr hostaddr, char *path);
152 remove_mount(CLIENT *client, char *host, mountlist ml, int fixit) in remove_mount() argument
161 printf("%s: bogus mount %s:%s\n", host, ml->ml_hostname, ml->ml_directory); in remove_mount()
164 printf("%s: removing %s:%s\n", host, ml->ml_hostname, ml->ml_directory); in remove_mount()
178 host, ml->ml_directory); in remove_mount()
192 fix_rmtab(CLIENT *client, char *host, mountlist mp, int fixit, int force) in fix_rmtab() argument
201 if ((he = gethostbyname(host))) { in fix_rmtab()
209 if (force || !fixmount_check_mount(host, hostaddr, p->ml_directory)) in fix_rmtab()
210 remove_mount(client, host, p, fixit); in fix_rmtab()
220 remove_all(CLIENT *client, char *host) in remove_all() argument
[all …]
/freebsd-11-stable/contrib/ntp/scripts/lib/NTP/
HDUtil.pm32 my ($peer, $vars, $host) = @_;
39 $cmd .= " $host" if defined $host;
71 my ($host) = @_;
76 ($err, $res) = getaddrinfo($host, '', {socktype => SOCK_RAW});
85 elsif ($host =~ /^(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})$/) {
86 return gethostbyaddr inet_aton($host), AF_INET;
94 my ($host) = @_;
96 $host ||= '';
97 my $cmd = "$ntpq_path -npw $host |";
115 $r->{remote} = $r->{tally} . $r->{host};
[all …]

12345678910>>...66