/freebsd-11-stable/contrib/tcp_wrappers/ |
H A D | scaffold.h | 10 extern struct addrinfo *find_inet_addr(char *host); 12 extern struct hostent *find_inet_addr(char *host); 14 extern int check_dns(char *host);
|
H A D | eval.c | 2 * Routines for controlled evaluation of host names, user names, and so on. 37 * host name has the value STRING_PARANOID it means there was a name/address 58 char *eval_hostaddr(host) 59 struct host_info *host; 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 127 char *host = eval_hostinfo(request->server); local [all...] |
/freebsd-11-stable/usr.bin/host/ |
H A D | Makefile | 1 # $FreeBSD: stable/11/usr.bin/host/Makefile 319186 2017-05-30 04:27:05Z ngie $ 4 LDNSHOSTDIR= ${SRCTOP}/contrib/ldns-host 8 PROG= host 9 SRCS= ldns-host.c 10 MAN= host.1 11 CLEANFILES+= host.1 13 host.1: ldns-host.1
|
/freebsd-11-stable/contrib/ntp/scripts/deprecated/ |
H A D | ntp-groper | 3 # ntpgroper host ... 7 # the host is named "dumbo.hp.com": 31 for host in $* 33 # echo "Trying $host." 35 gethost $host > /dev/null 2>&1 38 echo "$host not registered in DNS" 42 ping $host 64 1 > /dev/null 2>&1 45 echo "$host not responding to ping" 53 ntpq -c "ntpversion $version" -p $host > $ntpqlog 2>&1 57 echo "$host refuse [all...] |
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_sethostname.c | 41 static char host[MAXHOSTNAMELEN]; variable 62 atf_tc_skip("screws up the test host's hostname on FreeBSD"); 85 (void)sethostname(host, sizeof(host)); 90 (void)sethostname(host, sizeof(host)); 96 atf_tc_set_md_var(tc, "descr", "Too long host name errors out?"); 112 ATF_REQUIRE(sethostname(host, MAXHOSTNAMELEN - 1 ) == 0); 113 ATF_REQUIRE(sethostname(host, MAXHOSTNAMELEN) == -1); 115 (void)sethostname(host, sizeo [all...] |
/freebsd-11-stable/lib/libulog/ |
H A D | utempter.c | 36 utempter_add_record(int fd, const char *host) argument 39 ulog_login_pseudo(fd, host); 66 addToUtmp(const char *pty __unused, const char *host, int fd) argument 69 utempter_add_record(fd, host);
|
/freebsd-11-stable/crypto/openssh/regress/ |
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...] |
/freebsd-11-stable/contrib/ipfilter/lib/ |
H A D | alist_new.c | 13 alist_new(int family, char *host) argument 21 if (strchr(host, ':') != NULL) 35 while (ISSPACE(*host)) 36 host++; 38 if (*host == '!') { 40 host++; 41 while (ISSPACE(*host)) 42 host++; 46 slash = strchr(host, '/'); 57 sscanf(host, " [all...] |
H A D | connecttcp.c | 19 struct hostent *host; local 31 host = gethostbyname(server); 32 if (host == NULL) 34 memcpy(&sin.sin_addr, host->h_addr_list[0],
|
/freebsd-11-stable/share/examples/printing/ |
H A D | psdfX | 20 h) host=$OPTARG ;; 28 [ "$host" ] || fail "No host name" 30 ( /u/kelly/freebsd/printing/filters/make-ps-header $login $host "DVI File"
|
/freebsd-11-stable/contrib/ntp/scripts/ntpsweep/ |
H A D | ntpsweep.in | 36 (((@_ != 1) && !$opts->{host} && !@{$opts->{'host-list'}}))) { 51 if ($opts->{host}) { 52 push @hosts, $opts->{host}; 56 push @hosts, @{$opts->{'host-list'}}; 75 my $host; 76 for $host (@hosts) { 77 scan_host($host, 0, $host => 1); 99 my ($host, [all...] |
/freebsd-11-stable/lib/librpcsvc/ |
H A D | rnusers.c | 50 rusers(char *host, utmpidlearr *up) argument 52 return (callrpc(host, RUSERSPROG, RUSERSVERS_IDLE, RUSERSPROC_NAMES, 58 rnusers(char *host) argument 62 if (callrpc(host, RUSERSPROG, RUSERSVERS_ORIG, RUSERSPROC_NUM,
|
H A D | rstat.c | 49 rstat(char *host, struct statstime *statp) argument 51 return (callrpc(host, RSTATPROG, RSTATVERS_TIME, RSTATPROC_STATS, 57 havedisk(char *host) argument 61 if (callrpc(host, RSTATPROG, RSTATVERS_SWTCH, RSTATPROC_HAVEDISK,
|
H A D | rwall.c | 49 rwall(char *host, char *msg) argument 51 return (callrpc(host, WALLPROG, WALLVERS, WALLPROC_WALL,
|
/freebsd-11-stable/crypto/openssh/ |
H A D | auth-sia.c | 57 const char *host; local 59 host = get_canonical_hostname(options.use_dns); 64 if (sia_ses_init(&ent, saved_argc, saved_argv, host, authctxt->user, 70 authctxt->user, host); 86 const char *host; local 88 host = get_canonical_hostname(options.use_dns); 90 if (sia_ses_init(&ent, saved_argc, saved_argv, host, pw->pw_name, 102 pw->pw_name, host); 106 pw->pw_name, host);
|
/freebsd-11-stable/usr.sbin/ntp/scripts/ |
H A D | ntptrace | 18 $host = shift; 19 $host ||= "127.0.0.1"; 23 $cmd = "$ntpq -n -c rv $host"; 37 $dhost = $host; 40 if ($dodns && $host =~ /^(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})$/) { 41 $iaddr = inet_aton($host); 52 $cmd = "$ntpq -n -c \"pstat $peer\" $host"; 60 $host = $thost;
|
/freebsd-11-stable/contrib/amd/scripts/ |
H A D | fixrmtab.in | 29 for host 31 sed -e "/^$host:/s/^./#/" "$RMTAB" > "$TMP" && cp "$TMP" "$RMTAB"
|
/freebsd-11-stable/contrib/ntp/scripts/ntptrace/ |
H A D | ntptrace.in | 20 my $host = shift || $opts->{host}; 26 my %info = get_info($host); 29 my $dhost = $host; 31 my $name = do_dns($host); 45 my $next_host = get_next_host($info{peer}, $host); 49 $host = $next_host; 55 my ($host) = @_; 58 $info = ntp_read_vars(0, [], $host); 70 my ($peer, $host) [all...] |
/freebsd-11-stable/share/sendmail/ |
H A D | Makefile.depend | 5 usr.bin/xinstall.host \
|
/freebsd-11-stable/share/zoneinfo/ |
H A D | Makefile.depend | 5 usr.bin/xinstall.host \
|
/freebsd-11-stable/contrib/sendmail/cf/sh/ |
H A D | makeinfo.sh | 53 host=`hostname` 55 host=`uname -n` 57 echo '#####' built by $user@$host 60 echo "define(\`__HOST__', $host)dnl"
|
/freebsd-11-stable/libexec/bootpd/ |
H A D | dovend.h | 4 extern int dovend_rfc1497(struct host *hp, u_char *buf, int len);
|
/freebsd-11-stable/share/colldef/ |
H A D | Makefile.depend | 5 usr.bin/localedef.host \
|
/freebsd-11-stable/etc/autofs/ |
H A D | special_hosts | 15 echo "$out" | awk -v host="$1" \ 16 '{ printf "\"%s\"\t\"%s:%s\" ", $0, host, $0 } END { printf "\n" }'
|
/freebsd-11-stable/include/ |
H A D | Makefile.depend | 5 usr.bin/xinstall.host \
|