/freebsd-current/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 57 char *eval_hostaddr(struct host_info *host) argument 59 if (host->addr[0] == 0) { 60 strcpy(host->addr, unknown); 61 if (host->request->hostaddr != 0) 62 host->request->hostaddr(host); 64 return (host->addr); 67 /* eval_hostname - look up host nam 69 eval_hostname(struct host_info *host) argument 81 eval_hostinfo(struct host_info *host) argument 121 char *host = eval_hostinfo(request->server); local [all...] |
/freebsd-current/usr.bin/host/ |
H A D | Makefile | 3 LDNSHOSTDIR= ${SRCTOP}/contrib/ldns-host 7 PROG= host 8 SRCS= ldns-host.c 9 MAN= host.1 10 CLEANFILES+= host.1 12 host.1: ldns-host.1
|
/freebsd-current/include/ |
H A D | Makefile.depend | 4 bin/sh.host \ 5 usr.bin/awk.host \ 6 usr.bin/xinstall.host \
|
/freebsd-current/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-current/crypto/openssh/regress/unittests/misc/ |
H A D | test_parse.c | 3 * Regress test for misc user/host/URI parsing functions. 29 char *user, *host, *path; local 32 ASSERT_INT_EQ(parse_user_host_path("someuser@some.host:some/path", 33 &user, &host, &path), 0); 35 ASSERT_STRING_EQ(host, "some.host"); 37 free(user); free(host); free(path); 42 &user, &host, &path), 0); 44 ASSERT_STRING_EQ(host, "1.22.33.144"); 46 free(user); free(host); fre [all...] |
/freebsd-current/lib/ncurses/tinfo/ |
H A D | Makefile.depend | 4 bin/sh.host \ 10 lib/ncurses/tinfo.host \ 11 usr.bin/awk.host \
|
/freebsd-current/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-current/sys/dev/mmc/ |
H A D | mmc_helpers.c | 38 mmc_parse_sd_speed(device_t dev, struct mmc_host *host) argument 49 host->caps |= MMC_CAP_HSPEED; 51 host->caps |= MMC_CAP_UHS_SDR12 | MMC_CAP_SIGNALING_180; 53 host->caps |= MMC_CAP_UHS_SDR25 | MMC_CAP_SIGNALING_180; 55 host->caps |= MMC_CAP_UHS_SDR50 | MMC_CAP_SIGNALING_180; 57 host->caps |= MMC_CAP_UHS_SDR104 | MMC_CAP_SIGNALING_180; 59 host->caps |= MMC_CAP_UHS_DDR50 | MMC_CAP_SIGNALING_180; 63 mmc_parse_mmc_speed(device_t dev, struct mmc_host *host) argument 67 host->caps |= MMC_CAP_HSPEED; 69 host 87 mmc_parse(device_t dev, struct mmc_helper *helper, struct mmc_host *host) argument [all...] |
/freebsd-current/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-current/stand/efi/loader/ |
H A D | Makefile.depend | 4 bin/sh.host \ 7 usr.bin/awk.host \
|
/freebsd-current/lib/librpcsvc/ |
H A D | rstat.c | 44 rstat(char *host, struct statstime *statp) argument 46 return (callrpc(host, RSTATPROG, RSTATVERS_TIME, RSTATPROC_STATS, 52 havedisk(char *host) argument 56 if (callrpc(host, RSTATPROG, RSTATVERS_SWTCH, RSTATPROC_HAVEDISK,
|
H A D | rnusers.c | 45 rusers(char *host, utmpidlearr *up) argument 47 return (callrpc(host, RUSERSPROG, RUSERSVERS_IDLE, RUSERSPROC_NAMES, 53 rnusers(char *host) argument 57 if (callrpc(host, RUSERSPROG, RUSERSVERS_ORIG, RUSERSPROC_NUM,
|
/freebsd-current/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-current/lib/libc/inet/ |
H A D | inet_makeaddr.c | 41 * Formulate an Internet address from network + host. Used in 45 inet_makeaddr(in_addr_t net, in_addr_t host) argument 50 a.s_addr = (net << IN_CLASSA_NSHIFT) | (host & IN_CLASSA_HOST); 52 a.s_addr = (net << IN_CLASSB_NSHIFT) | (host & IN_CLASSB_HOST); 54 a.s_addr = (net << IN_CLASSC_NSHIFT) | (host & IN_CLASSC_HOST); 56 a.s_addr = net | host;
|
/freebsd-current/sbin/ipf/libipf/ |
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-current/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-current/cddl/lib/libdtrace/ |
H A D | Makefile.depend | 4 bin/sh.host \ 16 usr.bin/awk.host \ 17 usr.bin/yacc.host \
|
/freebsd-current/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-current/usr.sbin/arp/ |
H A D | arp.h | 5 struct sockaddr_in *getaddr(char *host); 19 int delete_nl(uint32_t ifindex, char *host); 21 char *host);
|
/freebsd-current/crypto/openssh/ |
H A D | auth-sia.c | 57 const char *host; local 60 host = get_canonical_hostname(options.use_dns); 65 if (sia_ses_init(&ent, saved_argc, saved_argv, host, authctxt->user, 71 authctxt->user, host); 87 const char *host; local 89 host = get_canonical_hostname(options.use_dns); 91 if (sia_ses_init(&ent, saved_argc, saved_argv, host, pw->pw_name, 103 pw->pw_name, host); 107 pw->pw_name, host);
|
/freebsd-current/bin/sh/ |
H A D | Makefile.depend | 4 bin/sh.host \ 11 usr.bin/awk.host \
|
/freebsd-current/usr.bin/awk/ |
H A D | Makefile.depend | 10 usr.bin/awk.host \ 11 usr.bin/yacc.host \
|
/freebsd-current/usr.sbin/ntp/scripts/ |
H A D | ntptrace | 17 $host = shift; 18 $host ||= "127.0.0.1"; 22 $cmd = "$ntpq -n -c rv $host"; 36 $dhost = $host; 39 if ($dodns && $host =~ /^(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})$/) { 40 $iaddr = inet_aton($host); 51 $cmd = "$ntpq -n -c \"pstat $peer\" $host"; 59 $host = $thost;
|