Searched refs:host (Results 201 - 225 of 581) sorted by relevance

1234567891011>>

/freebsd-9.3-release/contrib/pf/pfctl/
H A Dparse.y194 struct node_host *host;
379 struct node_host *host;
391 struct node_host *host;
398 struct node_host *host;
478 %type <v.host> ipspec toipspec xhost host dynaddr host_list
479 %type <v.host> redir_host_list redirspec
480 %type <v.host> route_host route_host_list routespec
887 decide_address_family($8.src.host, &r.af);
888 decide_address_family($8.dst.host,
2807 host : STRING { label
[all...]
/freebsd-9.3-release/contrib/tcp_wrappers/
H A Dtcpdchk.c301 char *host; local
311 if ((host = split_at(cp + 1, '@')) != 0 && check_host(host) > 1) {
312 tcpd_warn("host %s has more than one address", host);
329 char *host; local
339 if (host = split_at(cp + 1, '@')) { /* user@host */
341 check_host(host);
434 /* check_host - criticize host patter
[all...]
/freebsd-9.3-release/crypto/openssh/
H A Dssh.c152 /* forward stdio to remote host and port */
166 * Name of the host we are connecting to. This is the name given on the
170 char *host; variable
172 /* socket address the host resolves to */
175 /* Private host keys. */
204 " [-L [bind_address:]port:host:hostport] [-l login_name] [-m mac_spec]\n"
207 " [-R [bind_address:]port:host:hostport] [-S ctl_path] [-W host:port]\n"
237 * Attempt to resolve a host name / port to a set of addresses and
268 error("%s: host \"
[all...]
H A Dssh-keyscan.c209 /* host key */
280 char *host = c->c_output_name ? c->c_output_name : c->c_name; local
284 if (hash_hosts && (host = host_hash(host, NULL, 0)) == NULL)
287 fprintf(stdout, "%s ", host);
293 tcpconnect(char *host) argument
303 if ((gaierr = getaddrinfo(host, strport, &hints, &aitop)) != 0)
304 fatal("getaddrinfo %s: %s", host, ssh_gai_strerror(gaierr));
315 error("connect (`%s'): %s", host, strerror(errno));
426 error("%s: Connection closed by remote host",
574 do_host(char *host) argument
[all...]
/freebsd-9.3-release/lib/libcompat/4.3/
H A Drexec.c136 ruserpass(host, aname, apass, aacct)
137 char *host, **aname, **apass, **aacct;
172 * Allow match either for user's input host name
174 * incompletely-specified host in local domain.
176 if (strcasecmp(host, tokval) == 0)
178 if ((tmp = strchr(host, '.')) != NULL &&
180 strncasecmp(host, tokval, tmp - host) == 0 &&
181 tokval[tmp - host] == '\0')
/freebsd-9.3-release/contrib/amd/amd/
H A Dinfo_ldap.c116 char *host; member in struct:he_ent
135 XFREE(h->host);
163 old->host = strdup(p);
166 old->host = strdup(p);
272 dlog("Trying for %s:%d\n", aldh->hostent->host, aldh->hostent->port);
278 dlog("Bound to %s:%d\n", aldh->hostent->host, aldh->hostent->port);
313 if ((ld = ldap_open(h->host, h->port)) == NULL) {
314 plog(XLOG_WARNING, "Unable to ldap_open to %s:%d\n", h->host, h->port);
332 h->host, h->port, c->who);
H A Damfs_nfsx.c58 * the remote host.
116 plog(XLOG_USER, "amfs_nfsx: no remote host specified");
182 * host:/prefix/path,sub,sub,sub
194 char *host; local
199 host = strchr(info, ':');
200 if (!host) {
204 pref = host + 1;
205 host = info;
244 xinfo = str3cat(xinfo, host, *path == '/' ? "" : "/", path);
/freebsd-9.3-release/sbin/ggate/ggatec/
H A Dggatec.c61 static const char *host = NULL; variable
81 "[-t timeout] [-u unit] <host> <path>\n", getprogname());
83 "[-R rcvbuf] [-S sndbuf] <-u unit> <host> <path>\n", getprogname());
255 serv.sin_addr.s_addr = g_gate_str2ip(host);
257 g_gate_log(LOG_DEBUG, "Invalid IP/host name: %s.", host);
277 g_gate_log(LOG_INFO, "Connected to the server: %s:%d.", host, port);
426 host, path);
429 g_gate_log(LOG_NOTICE, "Connecting [%s %s]...", host,
457 snprintf(ggioc.gctl_info, sizeof(ggioc.gctl_info), "%s:%u %s", host,
[all...]
/freebsd-9.3-release/crypto/openssl/apps/
H A Ds_socket.c112 static int do_accept(int acc_sock, int *sock, char **host);
234 int init_client(int *sock, char *host, int port, int type) argument
239 if (!host_ip(host, &(ip[0]))) {
388 static int do_accept(int acc_sock, int *sock, char **host) argument
440 if (host == NULL)
452 *host = NULL;
455 if ((*host = (char *)OPENSSL_malloc(strlen(h1->h_name) + 1)) == NULL) {
459 BUF_strlcpy(*host, h1->h_name, strlen(h1->h_name) + 1);
461 h2 = GetHostByName(*host);
/freebsd-9.3-release/contrib/bind9/lib/irs/
H A Dgetnameinfo.c53 * *host. The maximum length of the hostname is 1025 bytes: #NI_MAXHOST.
68 * instead of a host name.
146 getnameinfo(const struct sockaddr *sa, socklen_t salen, char *host, argument
241 if (host == NULL || hostlen == 0U) {
245 * "||" here: RFC3493 says that host == NULL or hostlen == 0
276 strcpy(host, numaddr);
391 snprintf(host, hostlen, "%.*s",
402 strcpy(host, numaddr);
/freebsd-9.3-release/contrib/bind9/lib/lwres/
H A Dgetnameinfo.c63 * hostlen and is returned via *host. The maximum length of the hostname
79 * instead of a host name.
161 lwres_getnameinfo(const struct sockaddr *sa, size_t salen, char *host, argument
262 if (host == NULL || hostlen == 0U) {
296 strcpy(host, numaddr);
325 strcpy(host, by->realname);
335 strcpy(host, numaddr);
/freebsd-9.3-release/crypto/heimdal/appl/rsh/
H A Drsh.c205 * Send forward information on `s' for host `hostname', them being
307 "host",
878 "[login@]host [command]");
899 char *host = NULL; local
916 host = argv[host_index = 1];
1010 if (host == NULL) {
1014 host = argv[host_index = argindex++];
1017 if((tmp = strchr(host, '@')) != NULL) {
1019 user = host;
1020 host
[all...]
/freebsd-9.3-release/crypto/openssh/openbsd-compat/
H A Dport-aix.c275 sys_auth_record_login(const char *user, const char *host, const char *ttynm, argument
282 if (loginsuccess((char *)user, (char *)host, (char *)ttynm, &msg) == 0) {
408 sshaix_getnameinfo(const struct sockaddr *sa, size_t salen, char *host, argument
420 strlcpy(host, "::", hostlen);
425 return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags);
/freebsd-9.3-release/usr.bin/ruptime/
H A Druptime.c175 ruptime(const char *host, int aflg, int (*cmp)(const void *, const void *)) argument
200 if (host != NULL) {
202 if (strcasecmp(hostname, host) != 0)
233 if (host == NULL)
236 warnx("host %s not in %s", host, _PATH_RWHODIR);
297 (void)fprintf(stderr, "usage: ruptime [-alrtu] [host ...]\n");
/freebsd-9.3-release/usr.bin/write/
H A Dwrite.c248 char path[MAXPATHLEN], host[MAXHOSTNAMELEN]; local
267 if (gethostname(host, sizeof(host)) < 0)
268 (void)strcpy(host, "???");
273 login, host, mytty, nows + 11);
/freebsd-9.3-release/usr.sbin/ppp/
H A Dncpaddr.c307 ncpaddr_getsa(const struct ncpaddr *addr, struct sockaddr_storage *host) argument
309 struct sockaddr_in *host4 = (struct sockaddr_in *)host;
311 struct sockaddr_in6 *host6 = (struct sockaddr_in6 *)host;
314 memset(host, '\0', sizeof(*host));
332 host->ss_family = AF_UNSPEC;
338 ncpaddr_setsa(struct ncpaddr *addr, const struct sockaddr *host) argument
340 const struct sockaddr_in *host4 = (const struct sockaddr_in *)host;
342 const struct sockaddr_in6 *host6 = (const struct sockaddr_in6 *)host;
345 switch (host
697 ncprange_setsa(struct ncprange *range, const struct sockaddr *host, const struct sockaddr *mask) argument
740 ncprange_getsa(const struct ncprange *range, struct sockaddr_storage *host, struct sockaddr_storage *mask) argument
[all...]
/freebsd-9.3-release/sys/nlm/
H A Dnlm_advlock.c76 static int nlm_setlock(struct nlm_host *host, struct rpc_callextra *ext,
80 static int nlm_clearlock(struct nlm_host *host, struct rpc_callextra *ext,
84 static int nlm_getlock(struct nlm_host *host, struct rpc_callextra *ext,
209 struct nlm_host *host; local
253 host = nlm_find_host_by_name(servername, sa, vers);
304 error = nlm_setlock(host, &ext, vers, &timo, retries,
309 error = nlm_clearlock(host, &ext, vers, &timo,
321 error = nlm_setlock(host, &ext, vers,
328 error = nlm_setlock(host, &ext, vers, &timo, retries,
351 error = nlm_clearlock(host,
517 nlm_client_recovery(struct nlm_host *host) argument
718 nlm_setlock(struct nlm_host *host, struct rpc_callextra *ext, rpcvers_t vers, struct timeval *timo, int retries, struct vnode *vp, int op, struct flock *fl, int flags, int svid, size_t fhlen, void *fh, off_t size, bool_t reclaim) argument
917 nlm_clearlock(struct nlm_host *host, struct rpc_callextra *ext, rpcvers_t vers, struct timeval *timo, int retries, struct vnode *vp, int op, struct flock *fl, int flags, int svid, size_t fhlen, void *fh, off_t size) argument
992 nlm_getlock(struct nlm_host *host, struct rpc_callextra *ext, rpcvers_t vers, struct timeval *timo, int retries, struct vnode *vp, int op, struct flock *fl, int flags, int svid, size_t fhlen, void *fh, off_t size) argument
[all...]
/freebsd-9.3-release/sys/dev/sdhci/
H A Dsdhci.c131 struct mmc_host host; /* Host parameters */ member in struct:sdhci_slot
138 uint8_t hostctrl; /* Current host control register */
743 slot->host.f_min = slot->max_clk / 256;
744 slot->host.f_max = slot->max_clk;
745 slot->host.host_ocr = 0;
747 slot->host.host_ocr |= MMC_OCR_320_330 | MMC_OCR_330_340;
749 slot->host.host_ocr |= MMC_OCR_290_300 | MMC_OCR_300_310;
751 slot->host.host_ocr |= MMC_OCR_LOW_VOLTAGE;
752 if (slot->host.host_ocr == 0) {
756 slot->host
[all...]
/freebsd-9.3-release/crypto/heimdal/lib/krb5/
H A Dprincipal.c734 { "rcmd", "host" },
752 "v4_name_convert", "host", name, NULL);
755 "v4_name_convert", "host", name, NULL);
803 char host[MAXHOSTNAMELEN]; local
807 `v4_name_convert:host' part, is assumed to be a `host' type
898 snprintf(host, sizeof(host), "%s.%s", instance, realm);
899 strlwr(host);
900 ret = krb5_make_principal(context, &pr, realm, name, host, NUL
1188 char **realms, *host = NULL; local
[all...]
/freebsd-9.3-release/bin/rcp/
H A Drcp.c198 if ((targ = colon(argv[argc - 1]))) /* Dest is remote host. */
201 tolocal(argc, argv); /* Dest is local host. */
212 char *bp, *host, *src, *suser, *thost, *tuser; local
219 /* user@host */
237 host = strchr(argv[i], '@');
238 if (host) {
239 *host++ = 0;
249 _PATH_RSH, host, suser, cmd, src,
267 host = thost;
268 rem = rcmd_af(&host, por
294 char *bp, *host, *src, *suser; local
[all...]
/freebsd-9.3-release/contrib/ofed/management/infiniband-diags/scripts/
H A Dcheck_lft_balance.pl54 my $host = undef;
225 # Are all the host ports identical?
233 # If all host ports are identical, maybe its directly
234 # connected to a host.
236 push(@switch_maybe_directly_connected_hosts, $host);
291 $host = $2;
/freebsd-9.3-release/usr.sbin/wake/
H A Dwake.c63 static int wake(int bpf, const char *host);
74 wake(int bpf, const char *host) argument
78 if (get_ether(host, &macaddr) == -1)
145 warnx("no match for host %s found", text);
/freebsd-9.3-release/contrib/amd/conf/transp/
H A Dtransp_sockets.c54 * find the IP address that can be used to connect to the local host
375 int check_pmap_up(char *host, struct sockaddr_in* sin) argument
389 "check_pmap_up: cannot create connection to contact portmapper on host \"%s\"%s",
390 host, clnt_spcreateerror(""));
409 "check_pmap_up: failed to contact portmapper on host \"%s\": %s",
410 host, clnt_sperrno(clnt_stat));
418 * Find the best NFS version for a host and protocol.
421 get_nfs_version(char *host, struct sockaddr_in *sin, u_long nfs_version, const char *proto) argument
480 (int) nfs_version, proto, host, errstr);
494 plog(XLOG_INFO, "get_nfs_version: returning NFS(%d,%s) on host
[all...]
/freebsd-9.3-release/lib/libfetch/
H A Dfetch.c253 fetchMakeURL(const char *scheme, const char *host, int port, const char *doc, argument
258 if (!scheme || (!host && !doc)) {
282 seturl(host);
336 * [method:/][/[user[:pwd]@]host[:port]/][document]
359 * Only one slash: no host, leave slash as part of document
360 * Two slashes: host follows, strip slashes
392 strncpy(u->host, ++p, i);
398 u->host[i++] = *p;
448 "host: [%s]\n"
452 u->host,
[all...]
/freebsd-9.3-release/usr.sbin/bootparamd/bootparamd/
H A Dbootparamd.c56 255 & whoami->client_address.bp_address_u.ip_addr.host,
62 255 & whoami->client_address.bp_address_u.ip_addr.host,
71 if (debug) warnx("this is host %s", he->h_name);
72 if (dolog) syslog(LOG_NOTICE,"This is host %s\n", he->h_name);
91 255 & res.router_address.bp_address_u.ip_addr.host,
99 255 & res.router_address.bp_address_u.ip_addr.host,
161 255 & res.server_address.bp_address_u.ip_addr.host,
168 255 & res.server_address.bp_address_u.ip_addr.host,
181 of the file, e g "host:/export/root/client" if it can be found.
182 If the host i
[all...]

Completed in 336 milliseconds

1234567891011>>