Home
last modified time | relevance | path

Searched refs:host (Results 1 – 25 of 3390) sorted by relevance

12345678910>>...136

/netbsd-src/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dsend_to_kdc.c290 struct host;
293 krb5_error_code (*prepare)(krb5_context, struct host *, const krb5_data *);
294 krb5_error_code (*send_fn)(krb5_context, struct host *);
295 krb5_error_code (*recv_fn)(krb5_context, struct host *, krb5_data *);
299 struct host { struct
312 debug_host(krb5_context context, int level, struct host *host, const char *fmt, ...) argument
316 debug_host(krb5_context context, int level, struct host *host, const char *fmt, ...) in debug_host() argument
334 if (host->hi->proto == KRB5_KRBHST_HTTP) in debug_host()
336 else if (host->hi->proto == KRB5_KRBHST_TCP) in debug_host()
338 else if (host->hi->proto == KRB5_KRBHST_UDP) in debug_host()
[all …]
H A Dkrbhst.c326 append_host_hostinfo(struct krb5_krbhst_data *kd, struct krb5_krbhst_info *host) in append_host_hostinfo() argument
331 if(h->proto == host->proto && in append_host_hostinfo()
332 h->port == host->port && in append_host_hostinfo()
333 strcmp(h->hostname, host->hostname) == 0) { in append_host_hostinfo()
334 _krb5_free_krbhst_info(host); in append_host_hostinfo()
337 *kd->end = host; in append_host_hostinfo()
338 kd->end = &host->next; in append_host_hostinfo()
343 const char *host, int def_port, int port) in append_host_string() argument
347 hi = parse_hostspec(context, kd, host, def_port, port); in append_host_string()
360 krb5_krbhst_format_string(krb5_context context, const krb5_krbhst_info *host, in krb5_krbhst_format_string() argument
[all …]
/netbsd-src/sys/fs/nfs/nlm/
H A Dnlm_prot_impl.c651 struct nlm_host *host = af->af_host; in nlm_cancel_async_lock() local
654 mtx_assert(&host->nh_lock, MA_OWNED); in nlm_cancel_async_lock()
656 mtx_unlock(&host->nh_lock); in nlm_cancel_async_lock()
669 mtx_lock(&host->nh_lock); in nlm_cancel_async_lock()
673 "cancelled\n", af, host->nh_caller_name, host->nh_sysid); in nlm_cancel_async_lock()
679 TAILQ_REMOVE(&host->nh_pending, af, af_link); in nlm_cancel_async_lock()
680 mtx_unlock(&host->nh_lock); in nlm_cancel_async_lock()
682 mtx_lock(&host->nh_lock); in nlm_cancel_async_lock()
689 nlm_check_expired_locks(struct nlm_host *host) in nlm_check_expired_locks() argument
694 mtx_lock(&host->nh_lock); in nlm_check_expired_locks()
[all …]
/netbsd-src/external/ibm-public/postfix/dist/src/global/
H A Ddict_pgsql.c367 static int dict_pgsql_check_stat(HOST *host, unsigned stat, unsigned type, in dict_pgsql_check_stat() argument
370 if ((host->stat & stat) && (!type || host->type & type)) { in dict_pgsql_check_stat()
372 if (host->stat == STATFAIL && host->ts > 0 && host->ts >= t) in dict_pgsql_check_stat()
413 HOST *host; in dict_pgsql_get_active() local
417 if ((host = dict_pgsql_find_host(PLDB, STATACTIVE, TYPEUNIX)) != NULL || in dict_pgsql_get_active()
418 (host = dict_pgsql_find_host(PLDB, STATACTIVE, TYPEINET)) != NULL || in dict_pgsql_get_active()
419 (host = dict_pgsql_find_host(PLDB, STATACTIVE, TYPECONNSTRING)) != NULL) { in dict_pgsql_get_active()
422 host->hostname); in dict_pgsql_get_active()
423 return host; in dict_pgsql_get_active()
432 ((host = dict_pgsql_find_host(PLDB, STATUNTRIED | STATFAIL, in dict_pgsql_get_active()
[all …]
H A Ddict_mysql.c340 static int dict_mysql_check_stat(HOST *host, unsigned stat, unsigned type, in dict_mysql_check_stat() argument
343 if ((host->stat & stat) && (!type || host->type & type)) { in dict_mysql_check_stat()
345 if (host->stat == STATFAIL && host->ts > 0 && host->ts >= t) in dict_mysql_check_stat()
386 HOST *host; in dict_mysql_get_active() local
390 if ((host = dict_mysql_find_host(PLDB, STATACTIVE, TYPEUNIX)) != NULL || in dict_mysql_get_active()
391 (host = dict_mysql_find_host(PLDB, STATACTIVE, TYPEINET)) != NULL) { in dict_mysql_get_active()
394 host->hostname); in dict_mysql_get_active()
395 return host; in dict_mysql_get_active()
404 ((host = dict_mysql_find_host(PLDB, STATUNTRIED | STATFAIL, in dict_mysql_get_active()
406 (host = dict_mysql_find_host(PLDB, STATUNTRIED | STATFAIL, in dict_mysql_get_active()
[all …]
/netbsd-src/external/mpl/bind/dist/bin/tests/system/host/
H A Dtests.sh25 $HOST -p ${PORT} a-only.example.net 10.53.0.1 2>host.err${n} >host.out${n} || ret=1
26 lines=$(wc -l <host.err${n})
28 lines=$(grep -c "Address:" host.out${n})
30 lines=$(grep -c a-only.example.net host.out${n})
32 grep "1.2.3.4" host.out${n} >/dev/null || ret=1
39 $HOST -p ${PORT} aaaa-only.example.net 10.53.0.1 2>host.err${n} >host.out${n} || ret=1
40 lines=$(wc -l <host.err${n})
42 lines=$(grep -c "Address:" host.out${n})
44 lines=$(grep -c aaaa-only.example.net host.out${n})
46 grep "2001::ffff" host.out${n} >/dev/null || ret=1
[all …]
/netbsd-src/tests/lib/libc/net/getaddrinfo/
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.0.0.1 serv echo
[all …]
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 ::1 serv http
[all …]
H A Dno_host_v4.exp1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) 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 0 socktype 0 protocol 0 addrlen 0 host (empty) serv echo
6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv echo
7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv echo
9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv tftp
10 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv tftp
11 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv tftp
13 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv 80
[all …]
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 ::1 serv tftp
[all …]
/netbsd-src/lib/libwrap/
H A Deval.c66 eval_hostaddr(struct host_info *host) in eval_hostaddr() argument
68 if (host->addr[0] == 0) { in eval_hostaddr()
69 (void)strlcpy(host->addr, unknown, sizeof(host->addr)); in eval_hostaddr()
70 if (host->request->hostaddr != 0) in eval_hostaddr()
71 host->request->hostaddr(host); in eval_hostaddr()
73 return (host->addr); in eval_hostaddr()
79 eval_hostname(struct host_info *host) in eval_hostname() argument
81 if (host->name[0] == 0) { in eval_hostname()
82 (void)strlcpy(host->name, unknown, sizeof(host->name)); in eval_hostname()
83 if (host->request->hostname != 0) in eval_hostname()
[all …]
H A Dsocket.c138 sock_hostaddr(struct host_info *host) in sock_hostaddr() argument
140 struct sockaddr *sa = host->sin; in sock_hostaddr()
144 host->addr[0] = '\0'; in sock_hostaddr()
145 getnameinfo(sa, sa->sa_len, host->addr, sizeof(host->addr), in sock_hostaddr()
152 sock_hostname(struct host_info *host) in sock_hostname() argument
154 struct sockaddr *sa = host->sin; in sock_hostname()
179 if (getnameinfo(sa, sa->sa_len, host->name, sizeof(host->name), NULL, 0, in sock_hostname()
190 if (getaddrinfo(append_dot(host->name), "0", &hints, &res0) == 0) in sock_hostname()
192 if (getaddrinfo(host->name, "0", &hints, &res0) == 0) in sock_hostname()
198 (void)strlcpy(host->name, paranoid, sizeof(host->name)); in sock_hostname()
[all …]
/netbsd-src/crypto/external/bsd/heimdal/dist/tests/gss/
H A Dcheck-context.in86 ${kadmin} add -p p1 --use-defaults host/lucid.test.h5l.se@${R} || exit 1
87 ${kadmin} ext -k ${keytab} host/lucid.test.h5l.se@${R} || exit 1
89 ${kadmin} add -p p1 --use-defaults host/ok-delegate.test.h5l.se@${R} || exit 1
90 ${kadmin} mod --attributes=+ok-as-delegate host/ok-delegate.test.h5l.se@${R} || exit 1
91 ${kadmin} ext -k ${keytab} host/ok-delegate.test.h5l.se@${R} || exit 1
94 ${kadmin} add -p p1 --use-defaults host/short@${R} || exit 1
95 ${kadmin} mod --alias=host/long.test.h5l.se@${R} host/short@${R} || exit 1
97 ${kadmin} ext -k ${keytab} host/short@${R} || exit 1
98 ${ktutil} -k ${keytab} rename --no-delete host/short@${R} host/long.test.h5l.se@${R} || exit 1
105 ${kadmin} add -p p1 --use-defaults host/no-aes.test.h5l.se@${R} || exit 1
[all …]
H A Dcheck-basic.in90 ${kadmin} add -p p1 --use-defaults host/host.test.h5l.se@${R} || exit 1
91 ${kadmin} ext -k ${keytab} host/host.test.h5l.se@${R} || exit 1
114 --acquire-name=host@host.test.h5l.se || exit 1
119 --acquire-name=host@host || exit 1
128 --acquire-name=host@host2.test.h5l.se 2>/dev/null && exit 1
133 --acquire-name=host@host.test.h5l.se > /dev/null || exit 1
139 --acquire-name=host@host.test.h5l.se > /dev/null || exit 1
145 --target=host@host.test.h5l.se \
146 --acquire-name=host@host.test.h5l.se > /dev/null || exit 1
153 --acquire-name=host@host.test.h5l.se > /dev/null || exit 1
[all …]
H A Dcheck-spnego.in74 GSSAPI_SPNEGO_NAME=host@host.test.h5l.se
91 ${kadmin} add -p p1 --use-defaults host/host.test.h5l.se@${R} || exit 1
92 ${kadmin} ext -k ${keytab} host/host.test.h5l.se@${R} || exit 1
125 --name-type=hostbased-service host@host.test.h5l.se || \
134 host@host.test.h5l.se || \
139 --name-type=hostbased-service host@host.test.h5l.se 2> /dev/null && \
143 --name-type=hostbased-service host@host.test.h5l.se 2> /dev/null && \
163 host@host.test.h5l.se || \
173 host@host.test.h5l.se || \
184 host@host.test.h5l.se || \
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/
H A DBIO_parse_hostserv.pod7 - utility routines to parse a standard host and service string
16 int BIO_parse_hostserv(const char *hostserv, char **host, char **service,
23 back via B<host> and B<service>. Those will need to be freed after
30 host + ':' + service
31 host + ':' + '*'
32 host + ':'
35 host
38 The host part can be a name or an IP address. If it's a IPv6
46 host + ':' + service => *host = "host", *service = "service"
47 host + ':' + '*' => *host = "host", *service = NULL
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/doc/man3/
H A DBIO_parse_hostserv.pod7 - utility routines to parse a standard host and service string
16 int BIO_parse_hostserv(const char *hostserv, char **host, char **service,
23 back via B<host> and B<service>. Those will need to be freed after
30 host + ':' + service
31 host + ':' + '*'
32 host + ':'
35 host
38 The host part can be a name or an IP address. If it's a IPv6
47 host + ':' + service => *host = "host", *service = "service"
48 host + ':' + '*' => *host = "host", *service = NULL
[all …]
/netbsd-src/tests/lib/libc/gen/
H A Dt_sethostname.c41 static char host[MAXHOSTNAMELEN]; variable
71 (void)sethostname(host, sizeof(host)); in ATF_TC_BODY()
76 (void)sethostname(host, sizeof(host)); in ATF_TC_CLEANUP()
97 (void)sethostname(host, sizeof(host)); in ATF_TC_CLEANUP()
112 ATF_REQUIRE_ERRNO(EPERM, sethostname(host, sizeof(host)) == -1); in ATF_TC_BODY()
117 (void)sethostname(host, sizeof(host)); in ATF_TC_CLEANUP()
123 (void)memset(host, 0, sizeof(host)); in ATF_TP_ADD_TCS()
125 ATF_REQUIRE(gethostname(host, sizeof(host)) == 0); in ATF_TP_ADD_TCS()
/netbsd-src/lib/libc/net/
H A Dgetnameinfo.c126 char *host, socklen_t hostlen, in getnameinfo() argument
140 return getnameinfo_atalk(sa, salen, host, hostlen, in getnameinfo()
144 return getnameinfo_inet(sa, salen, host, hostlen, in getnameinfo()
147 return getnameinfo_link(sa, salen, host, hostlen, in getnameinfo()
150 return getnameinfo_local(sa, salen, host, hostlen, in getnameinfo()
164 char *host, socklen_t hostlen, char *serv, socklen_t servlen, in getnameinfo_atalk() argument
180 n = snprintf(host, hostlen, "%u.%u", in getnameinfo_atalk()
189 n = snprintf(host+m, hostlen-m, " phase %u", in getnameinfo_atalk()
198 n = snprintf(host+m, hostlen-m, " range %u - %u", in getnameinfo_atalk()
211 if (host && hostlen>0) in getnameinfo_atalk()
[all …]
/netbsd-src/external/mpl/dhcp/dist/server/
H A Domapi.c424 if (lease -> host) in dhcp_lease_get_value()
427 ((omapi_object_t *)lease -> host), MDL); in dhcp_lease_get_value()
510 if (lease->host) in dhcp_lease_destroy()
511 host_dereference (&lease->host, file, line); in dhcp_lease_destroy()
626 if (lease -> host) { in dhcp_lease_stuff_values()
632 lease -> host); in dhcp_lease_stuff_values()
936 struct host_decl *host; in dhcp_host_set_value() local
941 host = (struct host_decl *)h; in dhcp_host_set_value()
946 if (host -> name) in dhcp_host_set_value()
950 host -> name = dmalloc (value -> u.buffer.len + 1, in dhcp_host_set_value()
[all …]
/netbsd-src/crypto/external/bsd/heimdal/dist/tests/kdc/
H A Dcheck-canon.in84 ${kadmin} add -p foo --use-defaults host/t1@${R1} || exit 1
85 ${kadmin} add -p foo --use-defaults host/t2@${R2} || exit 1
86 ${kadmin} add -p foo --use-defaults host/t3@${R3} || exit 1
87 ${kadmin} add -p foo --use-defaults host/t11.test1.h5l.se@${R1} || exit 1
88 ${kadmin} add -p foo --use-defaults host/t12.test1.h5l.se@${R2} || exit 1
89 ${kadmin} add -p foo --use-defaults host/t22.test2.h5l.se@${R2} || exit 1
90 ${kadmin} add -p foo --use-defaults host/t23.test2.h5l.se@${R3} || exit 1
91 ${kadmin} add -p foo --use-defaults host/t33.test3.h5l.se@${R3} || exit 1
114 for host in t1 t2 t3 t11 t12 t22 t33 ; do
115 echo " $host"
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dconfig.host1 # GCC host-specific configuration file.
20 # This is the GCC host-specific configuration file
24 # running autoconf when modifying host-specific information.
26 # This file switches on the shell variable ${host}. As much of this as
33 # host machine.
36 # host machine.
38 # host_xmake_file List of host-specific makefile-fragments.
40 # host_exeext Set to the suffix, if the host machine requires
43 # host_extra_objs List of extra host-dependent objects that should
46 # host_extra_gcc_objs List of extra host-dependent objects that should
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dconfig.host1 # GCC host-specific configuration file.
20 # This is the GCC host-specific configuration file
24 # running autoconf when modifying host-specific information.
26 # This file switches on the shell variable ${host}. As much of this as
33 # host machine.
36 # host machine.
38 # host_xmake_file List of host-specific makefile-fragments.
40 # host_exeext Set to the suffix, if the host machine requires
43 # host_extra_objs List of extra host-dependent objects that should
46 # host_extra_gcc_objs List of extra host-dependent objects that should
[all …]
/netbsd-src/external/bsd/am-utils/dist/fixmount/
H A Dfixmount.c60 extern int fixmount_check_mount(char *host, struct in_addr hostaddr, char *path);
154 remove_mount(CLIENT *client, char *host, mountlist ml, int fixit) in remove_mount() argument
163 printf("%s: bogus mount %s:%s\n", host, ml->ml_hostname, ml->ml_directory); in remove_mount()
166 printf("%s: removing %s:%s\n", host, ml->ml_hostname, ml->ml_directory); in remove_mount()
180 host, ml->ml_directory); in remove_mount()
194 fix_rmtab(CLIENT *client, char *host, mountlist mp, int fixit, int force) in fix_rmtab() argument
203 if ((he = gethostbyname(host))) { in fix_rmtab()
211 if (force || !fixmount_check_mount(host, hostaddr, p->ml_directory)) in fix_rmtab()
212 remove_mount(client, host, p, fixit); in fix_rmtab()
222 remove_all(CLIENT *client, char *host) in remove_all() argument
[all …]
/netbsd-src/crypto/external/bsd/netpgp/dist/src/hkpclient/
H A Dtst3 host=localhost
8 host=$2
18 ./hkpclient.lua -s ${host} agc@netbsd.org
19 ./hkpclient.lua -s ${host} --mr 0xc0596823
20 ./hkpclient.lua -s ${host} 0xc0596823
21 ./hkpclient.lua --op index -s ${host} 0xc0596823
22 ./hkpclient.lua -o index -s ${host} --mr 0xc0596823
23 ./hkpclient.lua -o index -s ${host} --mr 0xc0596823
24 ./hkpclient.lua -o vindex -s ${host} --mr agc@
25 ./hkpclient.lua -o index -s ${host} dhklsbcldshjkcdlsjhcvdsljhvcdsljhcvdjlshvcdsc

12345678910>>...136