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

1234567891011>>

/freebsd-9.3-release/crypto/heimdal/lib/roken/
H A Dgetnameinfo.c46 char *host, size_t hostlen,
50 if (host != NULL) {
52 if (inet_ntop (af, addr, host, hostlen) == NULL)
59 strlcpy (host, hostent_find_fqdn(he), hostlen);
61 char *dot = strchr (host, '.');
67 } else if (inet_ntop (af, addr, host, hostlen) == NULL)
99 char *host, size_t hostlen,
110 host, hostlen,
120 host, hostlen,
42 doit(int af, const void *addr, size_t addrlen, int port, char *host, size_t hostlen, char *serv, size_t servlen, int flags) argument
98 getnameinfo(const struct sockaddr *sa, socklen_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags) argument
H A Dgetnameinfo_verified.c51 char *host, size_t hostlen,
60 if (host == NULL)
68 ret = getnameinfo (sa, salen, host, hostlen, serv, servlen,
75 ret = getaddrinfo (host, serv, &hints, &ai);
89 ret = getnameinfo (sa, salen, host, hostlen, serv, servlen,
50 getnameinfo_verified(const struct sockaddr *sa, socklen_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags) argument
/freebsd-9.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-9.3-release/libexec/ulog-helper/
H A Dulog-helper.c52 const char *line, *user, *host; local
65 host = argc == 3 ? argv[2] : NULL;
67 ulog_login(line, user, host);
/freebsd-9.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
1746 nlm_get_vfs_state(struct nlm_host *host, struct svc_req *rqstp, fhandle_t *fhp, struct vfs_state *vs, accmode_t accmode) argument
1855 struct nlm_host *host, *bhost; local
1953 struct nlm_host *host; local
2142 struct nlm_host *host; local
2232 struct nlm_host *host; local
2293 struct nlm_host *host; local
2336 struct nlm_host *host = NULL; local
2395 struct nlm_host *host, *thost; local
[all...]
/freebsd-9.3-release/crypto/heimdal/
H A Dkrb5.conf6 host = {
7 rcmd = host
/freebsd-9.3-release/crypto/openssh/
H A Dsurvey.sh.in17 host="@host@"
36 echo "host: $host"
H A Dauth-rhosts.c60 char buf[1024]; /* Must not be larger than host, user, dummy below. */
84 char hostbuf[1024], userbuf[1024], dummy[1024], *host, *user, *cp; local
113 /* Got both host and user name. */
123 host = hostbuf;
127 /* Process negated host names, or positive netgroups. */
128 if (host[0] == '-') {
130 host++;
131 } else if (host[0] == '+')
132 host++;
140 /* Check for empty host/use
[all...]
/freebsd-9.3-release/usr.sbin/pkg/
H A Ddns_utils.h39 char host[MAXHOSTNAMELEN]; member in struct:dns_srvinfo
/freebsd-9.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-9.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-9.3-release/crypto/heimdal/tests/gss/
H A Dcheck-context.in78 ${kadmin} add -p p1 --use-defaults host/lucid.test.h5l.se@${R} || exit 1
79 ${kadmin} ext -k ${keytab} host/lucid.test.h5l.se@${R} || exit 1
80 ${kadmin} add -p p1 --use-defaults host/lucid@${R} || exit 1
81 ${kadmin} ext -k ${keytab} host/lucid@${R} || exit 1
110 ${context} --name-type=hostbased-service host@lucid.test.h5l.se || \
113 ${context} --name-type=krb5-principal-name host/lucid.test.h5l.se@${R} || \
116 ${context} --name-type=krb5-principal-name host/lucid.test.h5l.se || \
119 #${context} --dns-canon host@lucid.test.h5l.se || \
122 ${context} --no-dns-canon host@lucid.test.h5l.se || \
125 ${context} --no-dns-canon host
[all...]
H A Dcheck-ntlm.in72 GSSAPI_SPNEGO_NAME=host@host.test.h5l.se
89 ${kadmin} add -p p1 --use-defaults host/host.test.h5l.se@${R} || exit 1
90 ${kadmin} ext -k ${keytab} host/host.test.h5l.se@${R} || exit 1
140 host@host.test.h5l.se 2> /dev/null && \
151 host@host
[all...]
/freebsd-9.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-9.3-release/contrib/gcc/config/i386/
H A Dx-mingw3210 host-mingw32.o : $(srcdir)/config/i386/host-mingw32.c $(CONFIG_H) $(SYSTEM_H) \
13 $(srcdir)/config/i386/host-mingw32.c
/freebsd-9.3-release/contrib/ipfilter/lib/
H A Dalist_new.c12 alist_new(int v, char *host) argument
26 slash = strchr(host, '/');
33 sscanf(host, "%d.%d.%d.%d", &a, &b, &c, &d);
50 if (*host == '!') {
52 host++;
55 if (gethost(host, &al->al_addr) == -1) {
/freebsd-9.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-9.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...]
/freebsd-9.3-release/usr.bin/tip/tip/
H A Dremote.c57 * Attributes to be gleened from remote host description
77 getremcap(char *host) argument
93 if ((stat = cgetent(&bp, db_array, host)) < 0) {
95 (host[0] == '/' && access(DV = host, R_OK | W_OK) == 0)) {
97 HO = host;
107 fprintf(stderr, "%s: unknown host %s\n", __progname,
108 host);
112 "%s: can't open host description file\n",
117 "%s: possible reference loop in host descriptio
212 getremote(char *host) argument
[all...]
/freebsd-9.3-release/crypto/heimdal/lib/krb5/
H A Dtest_hostname.c44 expand_hostname(krb5_context context, const char *host) argument
49 ret = krb5_expand_hostname(context, host, &h);
51 krb5_err(context, 1, ret, "krb5_expand_hostname(%s)", host);
56 printf("hostname: %s -> %s\n", host, h);
58 ret = krb5_expand_hostname_realms(context, host, &h, &r);
60 krb5_err(context, 1, ret, "krb5_expand_hostname_realms(%s)", host);
65 printf("hostname: %s -> %s\n", host, h);
H A Dtest_plugin.c91 char host[MAXHOSTNAMELEN]; local
114 while(krb5_krbhst_next_as_string(context, handle, host, sizeof(host)) == 0){
116 if (strcmp(host, "127.0.0.2") != 0)
117 krb5_errx(context, 1, "wrong address: %s", host);
120 krb5_errx(context, 1, "failed to find host");
H A Dkrbhst.c266 append_host_hostinfo(struct krb5_krbhst_data *kd, struct krb5_krbhst_info *host) argument
271 if(h->proto == host->proto &&
272 h->port == host->port &&
273 strcmp(h->hostname, host->hostname) == 0) {
274 _krb5_free_krbhst_info(host);
277 *kd->end = host;
278 kd->end = &host->next;
283 const char *host, int def_port, int port)
287 hi = parse_hostspec(context, kd, host, def_port, port);
296 * return a readable representation of `host' i
282 append_host_string(krb5_context context, struct krb5_krbhst_data *kd, const char *host, int def_port, int port) argument
300 krb5_krbhst_format_string(krb5_context context, const krb5_krbhst_info *host, char *hostname, size_t hostlen) argument
341 krb5_krbhst_get_addrinfo(krb5_context context, krb5_krbhst_info *host, struct addrinfo **ai) argument
360 get_next(struct krb5_krbhst_data *kd, krb5_krbhst_info **host) argument
421 char *host; local
483 char host[NI_MAXHOST], port[NI_MAXSERV]; local
555 kdc_get_next(krb5_context context, struct krb5_krbhst_data *kd, krb5_krbhst_info **host) argument
614 admin_get_next(krb5_context context, struct krb5_krbhst_data *kd, krb5_krbhst_info **host) argument
662 kpasswd_get_next(krb5_context context, struct krb5_krbhst_data *kd, krb5_krbhst_info **host) argument
716 krb524_get_next(krb5_context context, struct krb5_krbhst_data *kd, krb5_krbhst_info **host) argument
851 krb5_krbhst_next(krb5_context context, krb5_krbhst_handle handle, krb5_krbhst_info **host) argument
873 krb5_krbhst_info *host; local
913 char host[MAXHOSTNAMELEN]; local
[all...]
/freebsd-9.3-release/contrib/ntp/sntp/tests/
H A DpacketHandling.c210 sockaddr_u host; local
214 ZERO(host);
216 TEST_ASSERT_EQUAL(-1, handle_pkt(rpktl, &rpkt, &host, ""));
224 sockaddr_u host; local
228 ZERO(host);
230 TEST_ASSERT_EQUAL(1, handle_pkt(rpktl, &rpkt, &host, ""));
238 sockaddr_u host; local
242 ZERO(host);
244 TEST_ASSERT_EQUAL(1, handle_pkt(rpktl, &rpkt, &host, ""));
254 sockaddr_u host; local
279 sockaddr_u host; local
293 sockaddr_u host; local
[all...]
/freebsd-9.3-release/contrib/ipfilter/ipsend/
H A Dlarp.c28 * lookup host and return
32 int resolve(host, address)
33 char *host, *address;
38 add = inet_addr(host);
41 if (!(hp = gethostbyname(host)))
43 fprintf(stderr, "unknown host: %s\n", host);

Completed in 226 milliseconds

1234567891011>>