Searched refs:host (Results 326 - 350 of 837) sorted by relevance

<<11121314151617181920>>

/freebsd-13-stable/crypto/heimdal/lib/roken/
H A Dresolve.c137 char host[MAXDNAME]; local
142 status = dn_expand(data, end_data, p, host, sizeof(host));
164 rr->domain = strdup(host);
177 status = dn_expand(data, end_data, p, host, sizeof(host));
182 rr->u.txt = strdup(host);
192 status = dn_expand(data, end_data, p + 2, host, sizeof(host));
202 hostlen = strlen(host);
413 char host[MAXDNAME]; local
[all...]
/freebsd-13-stable/contrib/tcsh/
H A Dtc.who.c211 char *host, *ut_find_host(); local
337 host = ut_find_host(wp->who_tty);
338 if (host)
339 (void) strncpy(wp->who_host, host, UTHOSTLEN);
358 host = ut_find_host(wpnew->who_tty);
359 if (host)
360 (void) strncpy(wpnew->who_host, host, UTHOSTLEN);
558 /* the ':' stuff is for <host>:<display>.<screen> */
631 char *host = NULL; local
637 host
[all...]
/freebsd-13-stable/sys/dev/mmc/host/
H A Ddwmmc.c68 #include <dev/mmc/host/dwmmc_reg.h>
69 #include <dev/mmc/host/dwmmc_var.h>
526 sc->host.f_min = 400000;
527 sc->host.f_max = 200000000;
528 sc->host.host_ocr = MMC_OCR_320_330 | MMC_OCR_330_340;
529 sc->host.caps = MMC_CAP_HSPEED | MMC_CAP_SIGNALING_330;
530 mmc_fdt_parse(sc->dev, node, &sc->mmc_helper, &sc->host);
725 dwmmc_setup_bus(sc, sc->host.f_min);
912 ios = &sc->host.ios;
1124 dwmmc_setup_bus(sc, sc->host
[all...]
/freebsd-13-stable/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-13-stable/contrib/tcp_wrappers/
H A Dtcpdchk.c298 char *host; local
308 if ((host = split_at(cp + 1, '@')) != 0 && check_host(host) > 1) {
309 tcpd_warn("host %s has more than one address", host);
326 char *host; local
336 if (host = split_at(cp + 1, '@')) { /* user@host */
338 check_host(host);
431 /* check_host - criticize host patter
[all...]
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/rpc/
H A Dt_rpc.c44 char host[NI_MAXHOST]; local
49 error = getnameinfo(sock, sock->sa_len, host, sizeof(host), NULL, 0, 0);
53 printf("response from: %s\n", host);
64 onehost(const char *host, const char *transp) argument
80 if ((clnt = clnt_create_timed(host, RPCBPROG, RPCBVERS, transp,
87 if ((clnt = clnt_create(host, RPCBPROG, RPCBVERS, transp)) == NULL)
/freebsd-13-stable/sys/arm64/rockchip/
H A Drk_usb2phy.c342 phandle_t node, host; local
369 /* Only host is supported right now */
371 host = ofw_bus_find_child(node, "host-port");
372 if (host == 0) {
373 device_printf(dev, "Cannot find host-port child node\n");
377 if (!ofw_bus_node_status_okay(host)) {
378 device_printf(dev, "host-port isn't okay\n");
382 regulator_get_by_ofw_property(dev, host, "phy-supply", &sc->phy_supply);
384 phy_init.ofw_node = host;
[all...]
/freebsd-13-stable/crypto/openssh/
H A Dmisc.c468 * Returns a standardized host+port identifier string.
472 put_host_port(const char *host, u_short port) argument
477 return(xstrdup(host));
478 if (asprintf(&hoststr, "[%s]:%d", host, (int)port) < 0)
536 cleanhostname(char *host) argument
538 if (*host == '[' && host[strlen(host) - 1] == ']') {
539 host[strlen(host)
580 char *user = NULL, *host = NULL, *path = NULL; local
649 char *user = NULL, *host = NULL; local
774 char *user = NULL, *host = NULL, *path = NULL; local
[all...]
/freebsd-13-stable/crypto/openssh/regress/
H A Dnetcat.c145 char *host, *uport; local
158 host = NULL;
294 host = argv[0];
300 host = NULL;
302 host = argv[0];
373 s = unix_bind(host);
375 s = unix_listen(host);
381 s = local_listen(host, uport, hints);
443 if ((s = unix_connect(host)) > 0 && !zflag) {
465 s = socks_connect(host, portlis
604 remote_connect(const char *host, const char *port, struct addrinfo hints) argument
708 local_listen(char *host, char *port, struct addrinfo hints) argument
1449 socks_connect(const char *host, const char *port, struct addrinfo hints __attribute__ ((__unused__)), const char *proxyhost, const char *proxyport, struct addrinfo proxyhints, int socksv, const char *proxyuser) argument
[all...]
/freebsd-13-stable/sbin/pfctl/
H A Dparse.y201 struct node_host *host;
396 struct node_host *host;
408 struct node_host *host;
415 struct node_host *host;
497 %type <v.host> ipspec toipspec xhost host dynaddr host_list
498 %type <v.host> redir_host_list redirspec
499 %type <v.host> route_host route_host_list routespec
946 decide_address_family($8.src.host, &r.af);
947 decide_address_family($8.dst.host,
3053 host : STRING { label
[all...]
/freebsd-13-stable/crypto/heimdal/appl/push/
H A Dpush.c205 const char *host,
245 fprintf (stderr, "%s@%s\n", user, host);
264 fprintf (stderr, "%s@%s -> %s\n", user, host, outfilename);
515 do_v5 (const char *host, argument
529 s = do_connect (host, port, 1);
534 host,
563 return doit (s, host, user, filename, header_str, leavep, verbose, forkp);
638 parse_pobox (char *a0, const char **host, const char **user) argument
654 *host = get_pobox (user);
691 *host
204 doit(int s, const char *host, const char *user, const char *outfilename, const char *header_str, int leavep, int verbose, int forkp) argument
701 const char *host, *user, *filename = NULL; local
[all...]
/freebsd-13-stable/sbin/ggate/ggatec/
H A Dggatec.c64 static const char *host = NULL; variable
84 "[-t timeout] [-u unit] <host> <path>\n", getprogname());
86 "[-R rcvbuf] [-S sndbuf] <-u unit> <host> <path>\n", getprogname());
259 serv.sin_addr.s_addr = g_gate_str2ip(host);
261 g_gate_log(LOG_DEBUG, "Invalid IP/host name: %s.", host);
281 g_gate_log(LOG_INFO, "Connected to the server: %s:%d.", host, port);
430 host, path);
433 g_gate_log(LOG_NOTICE, "Connecting [%s %s]...", host,
462 snprintf(ggioc.gctl_info, sizeof(ggioc.gctl_info), "%s:%u %s", host,
[all...]
/freebsd-13-stable/sys/contrib/openzfs/lib/libshare/os/linux/
H A Dnfs.c56 const char *host, const char *security, const char *access, void *cookie);
175 * current share option is a host specification and invokes a callback
176 * function with information about the host.
183 char *host_dup, *host, *next; local
204 host = host_dup;
207 next = strchr(host, ':');
214 udata->sharepath, host, udata->security,
223 host = next;
224 } while (host != NULL);
255 * Converts a Solaris NFS host specificatio
446 nfs_add_entry(const char *filename, const char *sharepath, const char *host, const char *security, const char *access_opts, void *pcookie) argument
[all...]
/freebsd-13-stable/contrib/sendmail/src/
H A Dsm_resolve.c254 char host[MAXHOSTNAMELEN]; local
284 status = dn_expand(data, data + len, p, host, sizeof(host));
287 dr->dns_r_q.dns_q_domain = sm_strdup(host);
305 status = dn_expand(data, data + len, p, host, sizeof(host));
331 (*rr)->rr_domain = sm_strdup(host);
343 status = dn_expand(data, data + len, p, host,
344 sizeof(host));
348 sm_dprintf("parse_dns_reply: type=%s, host
[all...]
/freebsd-13-stable/sys/dev/vnic/
H A Dmrml_bridge.c167 start += sc->ranges[i].host;
169 end += sc->ranges[i].host;
220 sc->ranges[i].host = 0;
222 sc->ranges[i].host <<= 32;
223 sc->ranges[i].host |= base_ranges[j++];
/freebsd-13-stable/crypto/openssh/openbsd-compat/
H A Dport-aix.c283 sys_auth_record_login(const char *user, const char *host, const char *ttynm, argument
290 if (loginsuccess((char *)user, (char *)host, (char *)ttynm, &msg) == 0) {
416 sshaix_getnameinfo(const struct sockaddr *sa, size_t salen, char *host, argument
428 strlcpy(host, "::", hostlen);
433 return getnameinfo(sa, salen, host, hostlen, serv, servlen, flags);
/freebsd-13-stable/crypto/openssl/apps/
H A Ds_socket.c44 * @host: the host name or path (for AF_UNIX) to connect to.
46 * @bindhost: source host or path (for AF_UNIX).
53 * This will create a socket and use it to connect to a host:port, or if
54 * family == AF_UNIX, to the path found in host.
56 * If the host has more than one address, it will try them one by one until
62 int init_client(int *sock, const char *host, const char *port, argument
76 ret = BIO_lookup_ex(host, port, BIO_LOOKUP_CLIENT, family, type, protocol,
189 * @host: the host nam
206 do_server(int *accept_sock, const char *host, const char *port, int family, int type, int protocol, do_server_cb cb, unsigned char *context, int naccept, BIO *bio_s_out) argument
[all...]
/freebsd-13-stable/usr.bin/write/
H A Dwrite.c299 char host[MAXHOSTNAMELEN]; local
315 if (gethostname(host, sizeof(host)) < 0)
316 (void)strcpy(host, "???");
321 login, host, mytty, nows + 11);
/freebsd-13-stable/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-13-stable/usr.bin/ruptime/
H A Druptime.c191 ruptime(const char *host, int aflg, int (*cmp)(const void *, const void *)) argument
230 if (host != NULL && strcasecmp(wd->wd_hostname, host) != 0)
256 if (host == NULL)
259 warnx("host %s not in %s", host, _PATH_RWHODIR);
321 (void)fprintf(stderr, "usage: ruptime [-alrtu] [host ...]\n");
/freebsd-13-stable/sys/nlm/
H A Dnlm_advlock.c78 static int nlm_setlock(struct nlm_host *host, struct rpc_callextra *ext,
82 static int nlm_clearlock(struct nlm_host *host, struct rpc_callextra *ext,
86 static int nlm_getlock(struct nlm_host *host, struct rpc_callextra *ext,
211 struct nlm_host *host; local
258 host = nlm_find_host_by_name(servername, sa, vers);
309 error = nlm_setlock(host, &ext, vers, &timo, retries,
314 error = nlm_clearlock(host, &ext, vers, &timo,
326 error = nlm_setlock(host, &ext, vers,
333 error = nlm_setlock(host, &ext, vers, &timo, retries,
356 error = nlm_clearlock(host,
524 nlm_client_recovery(struct nlm_host *host) argument
761 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
959 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
1034 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-13-stable/lib/libcasper/services/cap_net/
H A Dcap_net.h66 socklen_t salen, char *host, size_t hostlen, char *serv, size_t servlen,
104 #define cap_getnameinfo(chan, sa, salen, host, hostlen, serv, servlen, flags) \
105 getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
/freebsd-13-stable/contrib/apr-util/include/
H A Dapr_memcache.h62 const char *host; /**< Hostname of this Server */ member in struct:apr_memcache_server_t
179 * @param host Hostname of the server
184 const char *host,
207 * @param host hostname of the server
218 const char *host,
/freebsd-13-stable/usr.sbin/wake/
H A Dwake.c65 static int wake(int bpf, const char *host);
76 wake(int bpf, const char *host) argument
80 if (get_ether(host, &macaddr) == -1)
147 warnx("no match for host %s found", text);
/freebsd-13-stable/lib/libfetch/
H A Dfetch.c257 fetchMakeURL(const char *scheme, const char *host, int port, const char *doc, argument
262 if (!scheme || (!host && !doc)) {
287 seturl(host);
346 * [method:/][/[user[:pwd]@]host[:port]/][document]
372 * Only one slash: no host, leave slash as part of document
373 * Two slashes: host follows, strip slashes
417 u->host[i] = tolower((unsigned char)p[i]);
418 u->host[i] = '\0';
472 "host: \"%s\"\n"
476 u->host,
[all...]

Completed in 339 milliseconds

<<11121314151617181920>>