/openbsd/gnu/usr.bin/perl/cpan/libnet/lib/Net/ |
H A D | Domain.pm | 32 return $host 43 if (defined($host) && index($host, '.') > 0) { 44 $fqdn = $host; 47 return $host; 59 return $host; 110 $host; 150 unless (defined($host) && $host =~ /\./) { 247 return $fqdn = $host if defined $host and $host =~ /^\d+(\.\d+){3}$/; 249 my @host = defined $host ? split(/\./, $host) : ('localhost'); 280 undef $host; [all …]
|
/openbsd/regress/usr.bin/ssh/ |
H A D | keygen-knownhosts.sh | 9 for x in host-a host-b host-c host-d host-e host-f host-a2 host-b2; do 78 expect_key host-a host-a host-a 2 79 expect_key host-a host-a host-a2 20 84 expect_key host-c host-c host-c 8 CA 89 expect_key host-d host-d host-d 11 REVOKED 128 expect_key host-a host-a host-a 129 expect_key host-a host-a host-a2 134 expect_key host-c host-c host-c "" CA 208 expect_key host-a host-a host-a 209 expect_key host-a host-a host-a2 [all …]
|
H A D | sshcfgparse.sh | 38 f=`${SSH} -GF $OBJ/ssh_config host | awk '/exitonforwardfailure/{print $2}'` 46 f=`${SSH} -GF $OBJ/ssh_config host | awk '/clearallforwardings/{print $2}'` 56 f=`${SSH} -GF $OBJ/ssh_config host | awk '/^user /{print $2}'` 60 f=`${SSH} -GF $OBJ/ssh_config -lbar baz@host user=foo baz@host | awk '/^user /{print $2}'` 62 f=`${SSH} -GF $OBJ/ssh_config baz@host -o user=foo -l bar baz@host | awk '/^user /{print $2}'` 67 f=`${SSH} -GF none host | awk '/^pubkeyacceptedalgorithms /{print $2}'` 71 f=`${SSH} -GF none -opubkeyacceptedalgorithms=ssh-ed25519 host | \ 80 f=`${SSH} -GF none -opubkeyacceptedalgorithms=-ssh-ed25519 host | \ 87 f=`${SSH} -GF none -opubkeyacceptedalgorithms=+ssh-dss-cert* host | \ 91 f=`${SSH} -GF none -opubkeyacceptedalgorithms=+ssh-dss host | \ [all …]
|
H A D | cfginclude.sh | 10 Match host a 17 Match host c 21 Match host m 44 Match host a 47 Match host b 64 Match host a 67 Match host b 70 Match host c 132 Match host x 151 Match host a [all …]
|
H A D | servcfginclude.sh | 7 Match host a 10 Match host b 14 Match host c 18 Match host m 41 Match host a 44 Match host b 47 Match host c 61 Match host a 64 Match host b 138 Match host x [all …]
|
/openbsd/usr.sbin/relayd/ |
H A D | hce.c | 106 struct host *host; in hce_disable_events() local 131 struct host *host; in hce_launch_checks() local 179 host->last_up = host->up; in hce_launch_checks() 180 host->cte.host = host; in hce_launch_checks() 226 if (host->up == HOST_DOWN && host->retry_cnt) { in hce_notify_done() 228 host->conf.name, host->retry_cnt); in hce_notify_done() 229 host->up = host->last_up; in hce_notify_done() 232 host->retry_cnt = host->conf.retry; in hce_notify_done() 249 if (host->up != host->last_up) in hce_notify_done() 272 host->last_up = host->up; in hce_notify_done() [all …]
|
H A D | check_tcp.c | 263 hce_notify_done(cte->host, cte->host->he); in tcp_read_buf() 280 hce_notify_done(cte->host, cte->host->he); in tcp_read_buf() 289 hce_notify_done(cte->host, cte->host->he); in tcp_read_buf() 350 struct host *host; in check_http_code() local 359 host = cte->host; in check_http_code() 361 host->code = 0; in check_http_code() 388 host->code = code; in check_http_code() 391 host->up = HOST_UP; in check_http_code() 401 struct host *host; in check_http_digest() local 410 host = cte->host; in check_http_digest() [all …]
|
H A D | pfe.c | 122 struct host *host; in pfe_dispatch_hce() local 145 host->conf.id, host->up); in pfe_dispatch_hce() 161 st.up, host->conf.id, host->conf.name); in pfe_dispatch_hce() 356 struct host *host; in show() local 378 0, 0, -1, host, sizeof(*host)); in show() 387 0, 0, -1, host, sizeof(*host)); in show() 407 host, sizeof(*host)); in show() 428 0, 0, -1, host, sizeof(*host)); in show() 517 struct host *host; in disable_table() local 551 struct host *host; in enable_table() local [all …]
|
H A D | check_icmp.c | 75 schedule_icmp(struct relayd *env, struct host *host) in schedule_icmp() argument 77 host->last_up = host->up; in schedule_icmp() 118 struct host *host; in icmp_checks_done() local 139 struct host *host; in icmp_checks_timeout() local 150 host->up = HOST_DOWN; in icmp_checks_timeout() 162 struct host *host; in send_icmp() local 223 ttl = host->conf.ttl; in send_icmp() 270 host->up = HOST_DOWN; in send_icmp() 294 struct host *host; in recv_icmp() local 328 if (host == NULL) { in recv_icmp() [all …]
|
H A D | check_script.c | 36 check_script(struct relayd *env, struct host *host) in check_script() argument 47 host->last_up = host->up; in check_script() 50 scr.host = host->conf.id; in check_script() 60 host->flags |= F_CHECK_SENT; in check_script() 66 struct host *host; in script_done() local 68 if ((host = host_find(env, scr->host)) == NULL) in script_done() 72 host->up = HOST_UNKNOWN; in script_done() 74 host->up = HOST_DOWN; in script_done() 76 host->up = HOST_UP; in script_done() 77 host->flags |= F_CHECK_DONE; in script_done() [all …]
|
H A D | check_tls.c | 48 cte->host->up = HOST_DOWN; in check_tls_read() 63 hce_notify_done(cte->host, cte->host->he); in check_tls_read() 67 cte->host->up = HOST_DOWN; in check_tls_read() 70 hce_notify_done(cte->host, cte->host->he); in check_tls_read() 77 cte->host->up = HOST_DOWN; in check_tls_read() 99 cte->host->up = HOST_DOWN; in check_tls_write() 131 cte->host->up = HOST_DOWN; in check_tls_write() 150 cte->host->up = HOST_DOWN; in check_tls_handshake() 159 cte->host->up = HOST_UP; in check_tls_handshake() 182 cte->host->up = HOST_DOWN; in check_tls_handshake() [all …]
|
/openbsd/gnu/usr.bin/perl/ext/Sys-Hostname/ |
H A D | Hostname.pm | 15 our $host; 34 return $host if defined $host; 38 return $host if defined $host; 52 return $host if $host; 57 return $host if $host; 60 $host = ''; 66 chomp($host = `hostname 2> NUL`) unless defined $host; 67 return $host; 105 $host = (POSIX::uname())[1]; 118 $host =~ tr/\0\r\n//d; [all …]
|
/openbsd/regress/lib/libc/getaddrinfo/ |
H A D | answer | 2 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv http 3 ai1: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv 80 4 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv http 5 ai1: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv 80 8 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv 80 9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv tftp 10 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 69 16 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv echo 17 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 7 18 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv 7 [all …]
|
/openbsd/regress/usr.bin/ssh/unittests/misc/ |
H A D | test_parse.c | 25 char *user, *host, *path; in test_parse() local 29 &user, &host, &path), 0); in test_parse() 31 ASSERT_STRING_EQ(host, "some.host"); in test_parse() 33 free(user); free(host); free(path); in test_parse() 38 &user, &host, &path), 0); in test_parse() 42 free(user); free(host); free(path); in test_parse() 47 &user, &host, &path), 0); in test_parse() 51 free(user); free(host); free(path); in test_parse() 56 &user, &host, &path), 0); in test_parse() 65 &user, &host, &path), 0); in test_parse() [all …]
|
/openbsd/gnu/usr.bin/cc/cc_tools/ |
H A D | Makefile.dep | 4 errors.o: bconfig.h auto-host.h 6 genattr.o: bconfig.h auto-host.h \ 11 auto-host.h \ 17 auto-host.h \ 26 auto-host.h 33 auto-host.h \ 42 auto-host.h \ 51 auto-host.h \ 93 auto-host.h \ 121 bconfig.h auto-host.h \ [all …]
|
/openbsd/regress/usr.sbin/syslogd/ |
H A D | args-zulu.pl | 14 (my $host = hostname()) =~ s/\..*//; 63 qr/^$iso $host no time$/ => 1, 64 qr/^$iso $host bsd time$/ => 1, 65 qr/^1985-04-12T23:20:50Z $host iso time$/ => 1, 66 qr/^1985-04-12T23:20:50.52Z $host iso frac$/ => 1, 67 qr/^1985-04-12T19:20:50.52-04:00 $host iso offset$/ => 1, 68 qr/^2003-10-11T22:14:15.003Z $host iso milisec$/ => 1, 69 qr/^2003-08-24T05:14:15.000003-07:00 $host iso full$/ => 1, 71 qr/^$iso $host nil time$/ => 1, 73 qr/^$iso $host 2003-08-24T05:14:15.-07:00 nofrac$/ => 1, [all …]
|
H A D | args-hostname.pl | 13 (my $host = hostname()) =~ s/\..*//; 44 host => "127.0.0.1", 49 host => "127.0.0.1", 68 qr/:\d\d $host client connect proto: udp$/ => 1, 69 qr/:\d\d $host client connect proto: tcp$/ => 1, 70 qr/:\d\d $host client connect proto: tls$/ => 1, 72 qr/:\d\d $host syslogd-.*: client logsock type: native/ => 1, 73 qr/:\d\d $host syslogd-.*: client logsock type: unix/ => 1, 74 qr/:\d\d $host syslogd-.*: client logsock type: udp/ => 1, 75 qr/:\d\d $host syslogd-.*: client logsock type: tcp/ => 1, [all …]
|
/openbsd/regress/sys/netinet/ipsec/ |
H A D | Makefile | 404 ${SUDO} route delete -host ${${host}_${sec}_${mode}_${ipv}} || true 405 .if "${host}" == ECO 407 route delete -host ${${host}_${sec}_${mode}_${ipv}} || true 443 .for host in IPS ECO 690 .for host in IPS ECO 831 .for host in IPS SRC 875 <${${host}_SSH}/hostname.${${host}_${dir}_IF} 876 ssh root@${${host}_SSH} "mv /etc/hostname.${${host}_${dir}_IF}.tmp\ 884 .for host in IPS ECO 905 .for host in IPS ECO [all …]
|
/openbsd/gnu/usr.bin/perl/dist/Net-Ping/t/ |
H A D | 410_syn_host.t | 79 foreach my $host (keys %webs) { 83 is($p->ping($host), 1, "Can reach $host [" . ($p->{bad}->{$host} || "") . "]"); 87 foreach my $host (sort keys %webs) { 88 my $on = $p->ack($host); 90 if ($webs{$host}) { 91 … is($webs{$host}, 1, "ack: supposed to be up http://$host/ [" . ($p->{bad}->{$host} || "") . "]"); 93 ok("TODO ack: supposed to be up: http://$host/ [" . ($p->{bad}->{$host} || "") . "]"); 96 if (!$webs{$host}) { 97 … is($webs{$host}, 0, "supposed to be down: http://$host/ [" . ($p->{bad}->{$host} || "") . "]"); 99 ok("TODO ack: supposed to be down: http://$host/ [" . ($p->{bad}->{$host} || "") . "]"); [all …]
|
/openbsd/gnu/usr.bin/perl/utils/ |
H A D | libnetcfg.PL | 137 my $host; 207 my $host; 214 if(!length($host) || valid_host($host)); 217 if $def eq $host; 228 length $host 229 ? $host 313 my $host; 314 my @host; 318 if(defined($host) && valid_host($host)) 320 return $host [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/Socket/t/ |
H A D | getnameinfo.t | 8 my ( $err, $host, $service ); 10 ( $err, $host, $service ) = getnameinfo( pack_sockaddr_in( 80, inet_aton( "127.0.0.1" ) ), NI_NUMER… 14 is( $host, "127.0.0.1", '$host is 127.0.0.1 for NH/NS' ); 17 ( $err, $host, $service ) = getnameinfo( pack_sockaddr_in( 80, inet_aton( "127.0.0.1" ) ), NI_NUMER… 18 is( $host, undef, '$host is undef for NIx_NOHOST' ); 22 is( $host, "127.0.0.1", '$host is 127.0.0.1 for NIx_NOSERV' ); 25 ( $err, $host, $service ) = getnameinfo( pack_sockaddr_in( 80, inet_aton( "127.0.0.1" ) ), NI_NUMER… 28 # We can't meaningfully compare '$host' with anything specific, all we can be 30 ok( length $host, '$host is nonzero length for NS' ); 32 ( $err, $host, $service ) = getnameinfo( pack_sockaddr_in( 80, inet_aton( "127.0.0.1" ) ), NI_NUMER… [all …]
|
/openbsd/usr.bin/rup/ |
H A D | rup.c | 90 char *host; member 113 return strcmp(d1->host, d2->host); in compare() 144 if ((rup_data[rup_data_idx].host = strdup(host)) == NULL) in remember_rup_data() 155 char *host; in rstat_reply() local 162 host = hp->h_name; in rstat_reply() 164 host = inet_ntoa(raddrp->sin_addr); in rstat_reply() 171 print_rup_data(host, host_stat); in rstat_reply() 238 onehost(char *host) in onehost() argument 248 clnt_spcreateerror(host)); in onehost() 264 print_rup_data(host, &host_stat); in onehost() [all …]
|
/openbsd/gnu/usr.bin/perl/dist/Net-Ping/lib/Net/ |
H A D | Ping.pm | 571 $host = $self->{host} if !defined $host and $self->{host}; 630 $ip = $self->{host} if !defined $ip and $self->{host}; 714 $ip = $self->{host} if !defined $ip and $self->{host}; 890 $ip = $self->{host} if !defined $ip and $self->{host}; 911 $ip = $self->{host} if !defined $ip and $self->{host}; 1181 $host = $self->{host} unless defined $host; 1522 if (my $host = shift or $self->{host}) { 1524 $host = $self->{host} unless defined $host; 1660 if ($host) { 1701 if ($host && $entry->[0] ne $host) { [all …]
|
/openbsd/sys/dev/pci/drm/i915/display/ |
H A D | intel_dsi.c | 89 struct intel_dsi_host *host; in intel_dsi_host_init() local 92 host = kzalloc(sizeof(*host), GFP_KERNEL); in intel_dsi_host_init() 93 if (!host) in intel_dsi_host_init() 96 host->base.ops = funcs; in intel_dsi_host_init() 97 host->intel_dsi = intel_dsi; in intel_dsi_host_init() 98 host->port = port; in intel_dsi_host_init() 109 kfree(host); in intel_dsi_host_init() 113 device->host = &host->base; in intel_dsi_host_init() 114 host->device = device; in intel_dsi_host_init() 116 return host; in intel_dsi_host_init()
|
/openbsd/usr.bin/ftp/ |
H A D | fetch.c | 488 for (host = 1 + strchr(proxyurl + 5, ':'); *host != '@'; in url_get() 489 host++) in url_get() 490 *host = '*'; in url_get() 500 host++; in url_get() 1317 host = url; in auto_fetch() 1364 host++; in auto_fetch() 1369 cp = host; in auto_fetch() 1371 cp = host; in auto_fetch() 1715 host++; in proxy_connect() 1730 host, port, host, port, cookie, HTTP_USER_AGENT); in proxy_connect() [all …]
|