Searched refs:host (Results 1 - 25 of 634) sorted by relevance

1234567891011>>

/freebsd-10-stable/contrib/tcp_wrappers/
H A Deval.c2 * 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...]
H A Dsocket.c4 * it provides methods to map a transport address to a printable host name
7 * The result from the hostname lookup method is STRING_PARANOID when a host
8 * pretends to have someone elses name, or when a host name is available but
50 * Speed up DNS lookups by terminating the host name with a dot. Should be
95 * Look up the client host address. Hal R. Brand <BRAND@addvax.llnl.gov>
96 * suggested how to get the client host info in case of UDP connections:
142 void sock_hostaddr(host)
143 struct host_info *host;
146 struct sockaddr *sin = host->sin;
157 getnameinfo(sin, salen, host
[all...]
/freebsd-10-stable/usr.bin/host/
H A DMakefile4 LDNSHOSTDIR= ${.CURDIR}/../../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-10-stable/contrib/ntp/scripts/deprecated/
H A Dntp-groper3 # 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-10-stable/contrib/netbsd-tests/lib/libc/gen/
H A Dt_sethostname.c41 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-10-stable/lib/libulog/
H A Dutempter.c36 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-10-stable/crypto/openssh/regress/
H A Dkeygen-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
[all...]
/freebsd-10-stable/contrib/ipfilter/lib/
H A Dalist_new.c13 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 Dconnecttcp.c19 struct hostent *host; local
31 host = gethostbyname(server);
32 if (host == NULL)
34 memcpy(&sin.sin_addr, host->h_addr_list[0],
/freebsd-10-stable/lib/libc/inet/
H A Dinet_makeaddr.c45 * Formulate an Internet address from network + host. Used in
49 inet_makeaddr(net, host)
50 in_addr_t net, host;
55 a.s_addr = (net << IN_CLASSA_NSHIFT) | (host & IN_CLASSA_HOST);
57 a.s_addr = (net << IN_CLASSB_NSHIFT) | (host & IN_CLASSB_HOST);
59 a.s_addr = (net << IN_CLASSC_NSHIFT) | (host & IN_CLASSC_HOST);
61 a.s_addr = net | host;
/freebsd-10-stable/share/examples/printing/
H A DpsdfX20 h) host=$OPTARG ;;
28 [ "$host" ] || fail "No host name"
30 ( /u/kelly/freebsd/printing/filters/make-ps-header $login $host "DVI File"
/freebsd-10-stable/contrib/ntp/scripts/ntpsweep/
H A Dntpsweep.in36 (((@_ != 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-10-stable/crypto/openssh/
H A Dauth-sia.c57 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-10-stable/lib/librpcsvc/
H A Drnusers.c50 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 Drstat.c49 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 Drwall.c49 rwall(char *host, char *msg) argument
51 return (callrpc(host, WALLPROG, WALLVERS, WALLPROC_WALL,
/freebsd-10-stable/usr.sbin/ntp/scripts/
H A Dntptrace18 $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-10-stable/contrib/amd/scripts/
H A Dfixrmtab.in29 for host
31 sed -e "/^$host:/s/^./#/" "$RMTAB" > "$TMP" && cp "$TMP" "$RMTAB"
/freebsd-10-stable/contrib/ntp/scripts/ntptrace/
H A Dntptrace.in20 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-10-stable/contrib/sendmail/cf/sh/
H A Dmakeinfo.sh53 host=`hostname`
55 host=`uname -n`
57 echo '#####' built by $user@$host
60 echo "define(\`__HOST__', $host)dnl"
/freebsd-10-stable/libexec/bootpd/
H A Ddovend.h4 extern int dovend_rfc1497(struct host *hp, u_char *buf, int len);
/freebsd-10-stable/usr.sbin/amd/include/
H A Dnewvers.sh10 echo '/* Define name and version of host machine (eg. solaris2.5.1) */'
12 echo '/* Define only name of host machine OS (eg. solaris2) */'
15 echo '/* Define only version of host machine (eg. 2.5.1) */'
20 /* Define name and version of host machine (eg. solaris2.5.1) */
23 /* Define only name of host machine OS (eg. solaris2) */
26 /* Define only version of host machine (eg. 2.5.1) */
34 /* Define name of host */
/freebsd-10-stable/etc/autofs/
H A Dspecial_hosts15 echo "$out" | awk -v host="$1" \
16 '{ printf "\"%s\"\t\"%s:%s\" ", $0, host, $0 } END { printf "\n" }'
/freebsd-10-stable/contrib/opie/libopie/
H A Daccessfile.c52 int opieaccessfile FUNCTION((host), char *host) argument
55 /* Turn host into an IP address and then look it up in the authorization
64 syslog(LOG_DEBUG, "accessfile: host=%s", host);
66 if (!host[0])
69 if (isaddr(host)) {
70 n = inet_addr(host);
73 hp = gethostbyname(host);
75 printf("Unknown host
87 rdnets(host), long host argument
[all...]
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/net/getaddrinfo/
H A Dbasics_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
[all...]

Completed in 210 milliseconds

1234567891011>>