/openbsd-current/gnu/usr.bin/perl/ext/Sys-Hostname/ |
H A D | Hostname.pm | 15 our $host; 34 return $host if defined $host; 37 $host = ghname() if defined &ghname; 38 return $host if defined $host; 43 eval { local $SIG{__DIE__}; $host = (gethostbyname('me'))[0] }; 44 if ($@) { return $host = $ENV{'SYS$NODE'}; } 48 # there any other logicals which TCP/IP stacks use for the host name?) 49 $host [all...] |
/openbsd-current/regress/usr.sbin/syslogd/ |
H A D | args-client-native.pl | 12 (my $host = hostname()) =~ s/\..*//; 19 loggrep => qr/ $host syslogd-regress\[\d+\]: /. get_testgrep(),
|
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, 70 qr/^$iso $host 2003-08-24T05:14:15.000000003-07:00 invalid$/ => 1, 71 qr/^$iso $host ni [all...] |
H A D | args-client-unix.pl | 12 (my $host = hostname()) =~ s/\..*//; 32 loggrep => qr/ $host syslogd-regress\[\d+\]: /.get_testlog().qr/ $/,
|
H A D | args-client-tcp-nodns.pl | 14 logsock => { type => "tcp", host => "127.0.0.1", port => 514 },
|
H A D | args-maxhostlen.pl | 3 # The syslogd does not pass it via a too long host name. 14 qr/syslogd\[\d+\]: host too long "\@X+/ => 1,
|
/openbsd-current/lib/libc/net/ |
H A D | inet_makeaddr.c | 35 * Formulate an Internet address from network + host. Used in 39 inet_makeaddr(in_addr_t net, in_addr_t host) argument 44 addr = (net << IN_CLASSA_NSHIFT) | (host & IN_CLASSA_HOST); 46 addr = (net << IN_CLASSB_NSHIFT) | (host & IN_CLASSB_HOST); 48 addr = (net << IN_CLASSC_NSHIFT) | (host & IN_CLASSC_HOST); 50 addr = net | host;
|
/openbsd-current/regress/usr.bin/ssh/unittests/misc/ |
H A D | test_parse.c | 3 * Regress test for misc user/host/URI parsing functions. 25 char *user, *host, *path; local 28 ASSERT_INT_EQ(parse_user_host_path("someuser@some.host:some/path", 29 &user, &host, &path), 0); 31 ASSERT_STRING_EQ(host, "some.host"); 33 free(user); free(host); free(path); 38 &user, &host, &path), 0); 40 ASSERT_STRING_EQ(host, "1.22.33.144"); 42 free(user); free(host); fre [all...] |
/openbsd-current/usr.sbin/relayd/ |
H A D | hce.c | 106 struct host *host; local 110 TAILQ_FOREACH(host, &table->hosts, entry) { 111 host->he = HCE_ABORT; 112 if (event_initialized(&host->cte.ev)) { 113 event_del(&host->cte.ev); 114 close(host->cte.s); 131 struct host *host; local 140 TAILQ_FOREACH(host, 194 hce_notify_done(struct host *host, enum host_error he) argument 288 struct host *host; local [all...] |
H A D | check_tcp.c | 57 switch (cte->host->conf.ss.ss_family) { 59 ((struct sockaddr_in *)&cte->host->conf.ss)->sin_port = 63 ((struct sockaddr_in6 *)&cte->host->conf.ss)->sin6_port = 68 len = ((struct sockaddr *)&cte->host->conf.ss)->sa_len; 70 if ((s = socket(cte->host->conf.ss.ss_family, 85 if (cte->host->conf.ttl > 0) 86 switch (cte->host->conf.ss.ss_family) { 89 &cte->host->conf.ttl, sizeof(int)) == -1) 94 &cte->host->conf.ttl, sizeof(int)) == -1) 100 if (connect(s, (struct sockaddr *)&cte->host 350 struct host *host; local 401 struct host *host; local [all...] |
H A D | check_script.c | 36 check_script(struct relayd *env, struct host *host) argument 41 if ((host->flags & (F_CHECK_SENT|F_CHECK_DONE)) == F_CHECK_SENT) 44 if ((table = table_find(env, host->conf.tableid)) == NULL) 47 host->last_up = host->up; 48 host->flags &= ~(F_CHECK_SENT|F_CHECK_DONE); 50 scr.host = host->conf.id; 51 if ((strlcpy(scr.name, host 66 struct host *host; local [all...] |
/openbsd-current/gnu/usr.bin/perl/ext/Amiga-ARexx/__examples/ |
H A D | simplehost.pl | 9 my $host = Amiga::ARexx->new('HostName' => "TESTSCRIPT"); 15 $host->wait(); 16 my $msg = $host->getmsg(); 42 $msg = $host->getmsg();
|
/openbsd-current/gnu/usr.bin/perl/ext/Amiga-Exec/__examples/ |
H A D | simplehost.pl | 9 my $host = Amiga::ARexx->new('HostName' => "TESTSCRIPT"); 15 $host->wait(); 16 my $msg = $host->getmsg(); 42 $msg = $host->getmsg();
|
/openbsd-current/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 16 host-a|host [all...] |
H A D | sshfp-connect.sh | 32 # Set RSA host key to match fingerprints above. 34 $SUDO cp $SRC/rsa_openssh.prv $OBJ/host.ssh-rsa 35 $SUDO chmod 600 $OBJ/host.ssh-rsa 36 sed -e "s|$OBJ/ssh-rsa|$OBJ/host.ssh-rsa|" \ 48 host="${n}.dtucker.net" 51 host="${n}.${TEST_SSH_SSHFP_DOMAIN}" 52 SSH_CONNECTION=`${SSH} $opts $host 'echo $SSH_CONNECTION'` 61 host="${n}-bad.${TEST_SSH_SSHFP_DOMAIN}" 62 if ${SSH} $opts ${host} true; then
|
/openbsd-current/gnu/usr.bin/perl/cpan/libnet/lib/Net/ |
H A D | Domain.pm | 24 my ($host, $domain, $fqdn) = (undef, undef, undef); 32 return $host 33 if (defined $host); 40 $host = gethostbyaddr($a, Socket::AF_INET()); 41 last if defined $host; 43 if (defined($host) && index($host, '.') > 0) { 44 $fqdn = $host; 45 ($host, $domain) = $fqdn =~ /^([^.]+)\.(.*)$/; 47 return $host; [all...] |
/openbsd-current/gnu/usr.bin/perl/ext/Sys-Hostname/t/ |
H A D | Hostname.t | 18 $host = hostname; 21 if $@ =~ /Cannot get host name/; 22 isnt($host, undef, "got a hostname");
|
/openbsd-current/etc/examples/ |
H A D | dhcpd.conf | 21 host static-client { 26 host pxe-client {
|
/openbsd-current/usr.sbin/lpr/common_source/ |
H A D | common_vars.c | 45 char host[HOST_NAME_MAX+1 + 1]; /* host machine name */ variable 46 char *from = host; /* client's machine name */
|
/openbsd-current/regress/lib/libpthread/netdb/ |
H A D | netdb.c | 64 struct hostent *host; local 67 CHECKhn(host = gethostbyname("localhost")); 68 memcpy(&addr, host->h_addr, sizeof(addr)); 75 struct hostent *host; local 77 CHECKhn(host = gethostbyname("127.0.0.1"));
|
/openbsd-current/gnu/usr.bin/binutils/gdb/ |
H A D | stop-gdb.c | 49 char *host; local 61 /* Allow the user to specify a remote host. */ 62 host = strchr (argv[1], '@'); 63 if (host) 64 *(host++) = '\0'; 66 host = (char *) ""; 82 kr = netname_look_up (name_server_port, host, name, &gdb_port); 84 kr = netname_look_up (name_server_port, host, argv[1], &gdb_port);
|
/openbsd-current/sys/dev/pci/drm/i915/display/ |
H A D | intel_dsi.c | 89 struct intel_dsi_host *host; local 92 host = kzalloc(sizeof(*host), GFP_KERNEL); 93 if (!host) 96 host->base.ops = funcs; 97 host->intel_dsi = intel_dsi; 98 host->port = port; 101 * We should call mipi_dsi_host_register(&host->base) here, but we don't 102 * have a host->dev, and we don't have OF stuff either. So just use the 109 kfree(host); [all...] |
/openbsd-current/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 \ 21 gencheck.o: bconfig.h auto-host.h \ 26 auto-host.h 28 gencodes.o: bconfig.h auto-host.h \ 33 auto-host.h \ 37 genconfig.o: bconfig.h auto-host.h \ 42 auto-host [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/cpp/ |
H A D | cpp.exp | 20 if [is_remote host] { 22 remote_download host $header
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/cpp/trad/ |
H A D | trad.exp | 20 if [is_remote host] { 22 remote_download host $header
|