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

1234567891011>>

/freebsd-10.0-release/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...]
H A Dscaffold.c53 struct hostent host; member in struct:hostent_block
69 memset((char *) &hb->host, 0, sizeof(hb->host));
70 hb->host.h_length = hp->h_length;
71 hb->host.h_addr_list = hb->addr_list;
72 hb->host.h_addr_list[count] = 0;
73 data = (char *) (hb->host.h_addr_list + count + 1);
76 hb->host.h_addr_list[count] = data + hp->h_length * count;
77 memcpy(hb->host.h_addr_list[count], addr, hp->h_length);
79 return (&hb->host);
[all...]
/freebsd-10.0-release/contrib/ntp/scripts/
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.0-release/usr.bin/host/
H A DMakefile4 LDNSHOSTDIR= ${.CURDIR}/../../contrib/ldns-host
8 PROG= host
9 SRCS= ldns-host.c
10 MAN= host.1
12 host.1: ldns-host.1
/freebsd-10.0-release/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.0-release/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.0-release/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.0-release/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.0-release/contrib/amd/scripts/
H A Dfixrmtab.in20 for host in $*
22 sed -e '/^'$host':/s/^./#/' $RMTAB > $TMP && cp $TMP $RMTAB
/freebsd-10.0-release/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.0-release/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.0-release/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.0-release/usr.bin/whois/
H A Dwhois.c89 static struct addrinfo *gethostinfo(char const *host, int exit_on_error);
97 const char *country, *host; local
105 country = host = qnichost = NULL;
110 host = ANICHOST;
113 host = PNICHOST;
116 host = ABUSEHOST;
122 host = FNICHOST;
125 host = GNICHOST;
128 host = optarg;
131 host
240 gethostinfo(char const *host, int exit_on_error) argument
280 char *buf, *host, *nhost, *p; local
[all...]
/freebsd-10.0-release/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.0-release/libexec/bootpd/
H A Ddovend.h4 extern int dovend_rfc1497(struct host *hp, u_char *buf, int len);
/freebsd-10.0-release/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.0-release/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.0-release/contrib/gdb/gdb/
H A Dstop-gdb.c49 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);
/freebsd-10.0-release/crypto/heimdal/lib/roken/
H A Dgetnameinfo.c43 char *host, size_t hostlen,
47 if (host != NULL) {
49 if (inet_ntop (af, addr, host, hostlen) == NULL)
56 strlcpy (host, hostent_find_fqdn(he), hostlen);
58 char *dot = strchr (host, '.');
64 } else if (inet_ntop (af, addr, host, hostlen) == NULL)
96 char *host, size_t hostlen,
107 host, hostlen,
117 host, hostlen,
39 doit(int af, const void *addr, size_t addrlen, int port, char *host, size_t hostlen, char *serv, size_t servlen, int flags) argument
95 getnameinfo(const struct sockaddr *sa, socklen_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags) argument
/freebsd-10.0-release/contrib/amd/conf/checkmount/
H A Dcheckmount_bsd44.c50 int fixmount_check_mount(char *host, struct in_addr hostaddr, char *path);
53 fixmount_check_mount(char *host, struct in_addr hostaddr, char *path) argument
71 is_same_host(mntp->f_mntfromname, host, hostaddr))
/freebsd-10.0-release/sys/nlm/
H A Dnlm_prot_impl.c69 * If a host is inactive (and holds no locks) for this amount of
75 * We check the host list for idle every few seconds.
177 * A lock to protect the host list and waiting lock list.
207 * nh_pending list of the NLM host.
210 TAILQ_ENTRY(nlm_async_lock) af_link; /* (l) host's list of locks */
215 struct nlm_host *af_host; /* (c) host which is locking */
223 * NLM host.
241 char nh_caller_name[MAXNAMELEN]; /* (c) printable name of host */
244 struct sockaddr_storage nh_addr; /* (s) remote address of host */
247 rpcvers_t nh_vers; /* (s) NLM version of host */
643 struct nlm_host *host = af->af_host; local
681 nlm_check_expired_locks(struct nlm_host *host) argument
712 nlm_host_destroy(struct nlm_host *host) argument
734 struct nlm_host *host = (struct nlm_host *) arg; local
758 nlm_host_notify(struct nlm_host *host, int newstate) argument
810 struct nlm_host *host; local
824 struct nlm_host *host; local
838 struct nlm_host *host; local
943 struct nlm_host *host; local
982 struct nlm_host *host; local
1059 struct nlm_host *host; local
1117 struct nlm_host *host; local
1129 nlm_host_release(struct nlm_host *host) argument
1143 nlm_host_unmonitor(struct nlm_host *host) argument
1188 nlm_host_monitor(struct nlm_host *host, int state) argument
1256 nlm_host_get_rpc(struct nlm_host *host, bool_t isserver) argument
1311 nlm_host_get_sysid(struct nlm_host *host) argument
1318 nlm_host_get_state(struct nlm_host *host) argument
1530 struct nlm_host *host, *nhost; local
1721 struct nlm_host *host; local
1745 nlm_get_vfs_state(struct nlm_host *host, struct svc_req *rqstp, fhandle_t *fhp, struct vfs_state *vs, accmode_t accmode) argument
1852 struct nlm_host *host, *bhost; local
1950 struct nlm_host *host; local
2139 struct nlm_host *host; local
2229 struct nlm_host *host; local
2290 struct nlm_host *host; local
2333 struct nlm_host *host = NULL; local
2392 struct nlm_host *host, *thost; local
[all...]

Completed in 364 milliseconds

1234567891011>>