Searched refs:host (Results 26 - 50 of 719) sorted by relevance

1234567891011>>

/freebsd-10.3-release/contrib/tcp_wrappers/
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.3-release/contrib/ntp/libntp/
H A Dis_ip_address.c28 const char * host,
40 REQUIRE(host != NULL);
55 if (inet_pton(AF_INET, host, &in4) == 1) {
63 if (sizeof(tmpbuf) > strlen(host)) {
64 if ('[' == host[0]) {
65 strlcpy(tmpbuf, &host[1], sizeof(tmpbuf));
70 strlcpy(tmpbuf, host, sizeof(tmpbuf));
27 is_ip_address( const char * host, u_short af, sockaddr_u * addr ) argument
/freebsd-10.3-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.3-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.3-release/contrib/netbsd-tests/lib/libc/net/getaddrinfo/
H A Dspec_fam_v4v6.exp1 arg: flags 0x2 family 2 socktype 0 protocol 0 addrlen 0 host localhost serv http
2 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
3 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http
5 arg: flags 0x2 family 24 socktype 0 protocol 0 addrlen 0 host localhost serv http
6 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http
7 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http
H A Dbasics_v4v6.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 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http
11 ai2: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
12 ai3: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host
[all...]
H A Dsock_raw_v4.exp1 arg: flags 0x2 family 0 socktype 3 protocol 0 addrlen 0 host localhost serv (empty)
2 ai1: flags 0x2 family 2 socktype 3 protocol 0 addrlen 16 host 127.0.0.1 serv 0
4 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv (empty)
5 ai1: flags 0x2 family 2 socktype 3 protocol 59 addrlen 16 host 127.0.0.1 serv 0
7 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv 80
9 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv www
11 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host ::1 serv (empty)
12 ai1: flags 0x2 family 24 socktype 3 protocol 59 addrlen 28 host ::1 serv 0
H A Dspec_fam_v4.exp1 arg: flags 0x2 family 2 socktype 0 protocol 0 addrlen 0 host localhost serv http
2 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
3 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http
5 arg: flags 0x2 family 24 socktype 0 protocol 0 addrlen 0 host localhost serv http
H A Dunsup_fam.exp1 arg: flags 0x2 family 99 socktype 0 protocol 0 addrlen 0 host localhost serv (empty)
H A Dno_serv_v4v6.exp1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv (empty)
2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 0
3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv 0
5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv (empty)
6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 0
7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv 0
9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv (empty)
10 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 0
11 ai2: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 0
12 ai3: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host
[all...]
H A Dscoped.exp1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host fe80::1%lo0 serv http
2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host fe80::1%lo0 serv http
3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host fe80::1%lo0 serv http
H A Dno_host_v4v6.exp1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) 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
4 ai3: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http
5 ai4: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http
7 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv echo
8 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv echo
9 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv echo
10 ai3: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv echo
11 ai4: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.
[all...]
/freebsd-10.3-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.3-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...]
/freebsd-10.3-release/usr.bin/whois/
H A Dwhois.c92 static struct addrinfo *gethostinfo(char const *host, int exit_on_error);
100 const char *country, *host; local
108 country = host = qnichost = NULL;
113 host = ANICHOST;
116 host = PNICHOST;
119 host = ABUSEHOST;
125 host = FNICHOST;
128 host = GNICHOST;
131 host = optarg;
134 host
245 gethostinfo(char const *host, int exit_on_error) argument
285 char *buf, *host, *nhost, *p; local
[all...]
/freebsd-10.3-release/gnu/usr.bin/cc/cc_tools/
H A DMakefile.dep3 errors.o: bconfig.h auto-host.h
5 genattr.o: bconfig.h auto-host.h \
10 auto-host.h \
16 auto-host.h \
20 gencheck.o: bconfig.h auto-host.h \
25 auto-host.h
27 gencodes.o: bconfig.h auto-host.h \
32 auto-host.h \
36 genconfig.o: bconfig.h auto-host.h \
41 auto-host
[all...]
/freebsd-10.3-release/crypto/heimdal/
H A Dkrb5.conf6 host = {
7 rcmd = host
/freebsd-10.3-release/crypto/openssh/
H A Dsurvey.sh.in17 host="@host@"
36 echo "host: $host"
/freebsd-10.3-release/usr.sbin/pkg/
H A Ddns_utils.h39 char host[MAXHOSTNAMELEN]; member in struct:dns_srvinfo
/freebsd-10.3-release/contrib/ntp/scripts/lib/NTP/
H A DUtil.pm32 my ($peer, $vars, $host) = @_;
39 $cmd .= " $host" if defined $host;
71 my ($host) = @_;
76 ($err, $res) = getaddrinfo($host, '', {socktype => SOCK_RAW});
85 elsif ($host =~ /^(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})$/) {
86 return gethostbyaddr inet_aton($host), AF_INET;
94 my ($host) = @_;
96 $host ||= '';
97 my $cmd = "$ntpq_path -npw $host |";
[all...]
/freebsd-10.3-release/crypto/heimdal/appl/login/
H A Dutmpx_login.c26 int utmpx_login(char *line, const char *user, const char *host) { return 0; } argument
30 utmpx_update(struct utmpx *ut, char *line, const char *user, const char *host) argument
40 shrink_hostname (host, ut->ut_host, sizeof(ut->ut_host));
42 ut->ut_syslen = strlen(host) + 1;
58 prepare_utmp (&utmp, line, user, host);
68 utmpx_login(char *line, const char *user, const char *host) argument
89 utmpx_update(&save_ut, line, user, host);
99 utmpx_update(&newut, line, user, host);
/freebsd-10.3-release/share/doc/psd/20.ipctut/
H A Ddgramsend.c65 * of the specified host. The port number is taken from the command
70 fprintf(stderr, "%s: unknown host\en", argv[1]);
H A Dstreamwrite.c68 fprintf(stderr, "%s: unknown host\en", argv[1]);
/freebsd-10.3-release/tools/tools/mctest/
H A Dmctest_run.sh63 for host in $*
65 output=$host\_$interface\_$size\_$number\.$now
66 $remote $host $command -r -M $# -b $base -g $group -m $current -n $number -s $size -i $foreign_interface > $output &
/freebsd-10.3-release/contrib/ofed/management/opensm/scripts/
H A Dsldd.sh.in113 for host in ${OSM_HOSTS}
115 # Skip local host update
116 if [ "${host}" == "${local_host}" ]; then
120 if is_alive $host; then
121 stat=$($RSH $host "/bin/mkdir -p ${CACHE_DIR} > /dev/null 2>&1; /bin/rm -f ${CACHE_FILE}.${local_host} > /dev/null 2>&1; echo \$?" | tr -d '[:space:]')
124 echo "Updating $host"
125 logger -i "SLDD: updating $host with ${CACHE_FILE}"
126 $RCP ${CACHE_FILE}.upd ${host}:${CACHE_FILE}.${local_host}
127 /bin/cp ${CACHE_FILE}.upd ${CACHE_FILE}.${host}
130 echo "$RSH to $host faile
[all...]

Completed in 412 milliseconds

1234567891011>>