Searched refs:host (Results 226 - 250 of 905) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/ipfilter/ipsend/
H A Diptest.c73 char *name = argv[0], host[MAXHOSTNAMELEN + 1]; local
129 gethostname(host, sizeof(host));
130 host[sizeof(host) - 1] = '\0';
131 src = host;
/freebsd-11-stable/contrib/opie/libopie/
H A Dlogwtmp.c115 VOIDRET opielogwtmp FUNCTION((line, name, host), char *line AND char *name AND char *host AND char *id)
156 strncpy(ut.ut_host, host, sizeof(ut.ut_host));
172 strncpy(utx.ut_host, host, sizeof(utx.ut_host));
/freebsd-11-stable/crypto/openssh/
H A Dsshlogin.c7 * easily use something like login -p -h host -f user, because there are
70 * The host the user logged in from will be returned in buf.
128 const char *host, struct sockaddr *addr, socklen_t addrlen)
135 li = login_alloc_entry(pid, user, host, tty);
144 const char *host, struct sockaddr *addr, socklen_t addrlen)
148 li = login_alloc_entry(pid, user, host, ttyname);
127 record_login(pid_t pid, const char *tty, const char *user, uid_t uid, const char *host, struct sockaddr *addr, socklen_t addrlen) argument
143 record_utmp_only(pid_t pid, const char *ttyname, const char *user, const char *host, struct sockaddr *addr, socklen_t addrlen) argument
H A Dscp.c123 int do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout);
124 int do_cmd2(char *host, char *remuser, char *cmd, int fdin, int fdout);
226 * given host. This returns < 0 if execution fails, and >= 0 otherwise. This
231 do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout) argument
237 "Executing: program %s host %s, user %s, command %s\n",
238 ssh_program, host,
262 /* Fork a child to execute the command on the remote host using ssh. */
279 addargs(&args, "%s", host);
305 do_cmd2(char *host, char *remuser, char *cmd, int fdin, int fdout) argument
312 "Executing: 2nd program %s host
588 char *bp, *host, *src, *suser, *thost, *tuser, *arg; local
708 char *bp, *host, *src, *suser; local
[all...]
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Droken_gethostby.c87 split_spec(const char *spec, char **host, int *port, char **path, int def_port) argument
90 *host = strdup(spec);
91 p = strchr(*host, ':');
98 p = strchr(p ? p : *host, '/');
148 return NULL; /* no configured host */
256 char host[MAXHOSTNAMELEN];
264 strncpy(host, he->h_name, sizeof(host));
265 host[sizeof(host)
[all...]
/freebsd-11-stable/etc/rc.d/
H A Dhostname43 # If we are not inside a jail, set the host name.
44 # If we are inside a jail, set the host name if it is permitted.
55 -n "`/bin/kenv dhcp.host-name 2> /dev/null`" ]; then
56 hostname=`/bin/kenv dhcp.host-name`
/freebsd-11-stable/usr.bin/finger/
H A Dfinger.h62 char host[sizeof ((struct utmpx *)0)->ut_host]; /* host name */ member in struct:where
/freebsd-11-stable/sys/dev/fdt/
H A Dsimplebus.h39 uint64_t host; member in struct:simplebus_range
/freebsd-11-stable/usr.bin/rusers/
H A Drusers.c102 char *host; local
116 host = hp->h_name;
118 host = inet_ntoa(raddrp->sin_addr);
121 printf("%-*s ", HOST_WIDTH, host);
160 HOST_WIDTH, host, LINE_WIDTH, LINE_WIDTH,
175 onehost(char *host) argument
183 hp = gethostbyname(host);
185 errx(1, "unknown host \"%s\"", host);
187 rusers_clnt = clnt_create(host, RUSERSPRO
[all...]
/freebsd-11-stable/contrib/amd/fsinfo/
H A Dfsi_data.h51 typedef struct host host; typedef in typeref:struct:host
82 * A host
84 struct host { struct
90 char *h_hostname; /* The full name of the host */
91 char *h_lochost; /* The name of the host with local domains stripped */
92 char *h_hostpath; /* The filesystem path to the host (cf
135 host *d_host;
/freebsd-11-stable/contrib/netbsd-tests/net/mcast/
H A Dmcast.c187 getsocket(const char *host, const char *port, argument
198 e = getaddrinfo(host, port, &hints, &ai0);
200 ERRX(EXIT_FAILURE, "Can't resolve %s:%s (%s)", host, port,
267 sender(const int fd, const char *host, const char *port, size_t n, bool conn, argument
276 s = getsocket(host, port, conn ? connect : connector, &slen, bug);
310 receiver(const int fd, const char *host, const char *port, size_t n, bool conn, argument
320 s = getsocket(host, port, bind, &slen, bug);
346 run(const char *host, const char *port, size_t n, bool conn, bool bug) argument
358 receiver(syncfds[0], host, port, n, conn, bug);
363 error = sender(syncfds[1], host, por
410 const char *host, *port; local
[all...]
/freebsd-11-stable/crypto/openssh/regress/
H A Dsshcfgparse.sh12 f=`${SSH} -GF $OBJ/ssh_config host | awk '/exitonforwardfailure/{print $2}'`
20 f=`${SSH} -GF $OBJ/ssh_config host | awk '/clearallforwardings/{print $2}'`
/freebsd-11-stable/tests/sys/mac/portacl/
H A Dmisc.sh17 local host idtype name proto port udpflag
19 host="127.0.0.1"
31 ( echo -n | su -m ${name} -c "nc ${udpflag} -l -w 10 $host $port" 2>&1 ) &
40 echo | nc ${udpflag} -w 10 $host $port >/dev/null 2>&1
/freebsd-11-stable/usr.sbin/periodic/
H A Dperiodic.sh24 *) pipe="mail -E -s '$host ${2}${2:+ }${1##*/} run output' $output";;
40 host=`hostname`
41 export host
61 echo "$host ${arg##*/} prior run still in progress" | \
/freebsd-11-stable/usr.sbin/arp/
H A Darp.c90 static int delete(char *host);
93 static int get(char *host);
98 static struct sockaddr_in *getaddr(char *host);
267 * the address of the host and returns a pointer to the
271 getaddr(char *host) argument
279 reply.sin_addr.s_addr = inet_addr(host);
281 if (!(hp = gethostbyname(host))) {
282 xo_warnx("%s: %s", host, hstrerror(h_errno));
325 char *host = argv[0], *eaddr = argv[1]; local
335 dst = getaddr(host);
431 get(char *host) argument
465 delete(char *host) argument
602 const char *host; local
[all...]
/freebsd-11-stable/lib/libfetch/
H A Dcommon.c252 const char *host, *service; local
269 /* see if we need to copy the host name */
279 host = hbuf;
281 host = hb;
304 if ((err = getaddrinfo(host, service, &hints, &res)) != 0) {
338 * Establish a TCP connection to the specified port on the specified host.
341 fetch_connect(const char *host, int port, int af, int verbose) argument
348 DEBUGF("---> %s:%d\n", host, port);
352 fetch_info("resolving server address: %s:%d", host, port);
353 if ((sais = fetch_resolve(host, por
576 char *host; local
692 fetch_ssl_verify_cn(X509_NAME *subject, const char *host, struct addrinfo *ip) argument
730 fetch_ssl_verify_hname(X509 *cert, const char *host) argument
1475 fetch_no_proxy_match(const char *host) argument
[all...]
/freebsd-11-stable/sys/arm/at91/
H A Dat91_mci.c100 * you have the USB host device and OHCI driver enabled will fail. Even
105 * that the usb host controller uses so much ASB bandwidth that sometimes the
152 struct mmc_host host; member in struct:at91_mci_softc
347 device_set_desc(dev, "MCI mmc/sd host bridge");
453 sc->host.f_min = 375000;
454 sc->host.f_max = at91_master_clock / 2;
455 if (sc->host.f_max > 25000000)
456 sc->host.f_max = 25000000;
457 sc->host.host_ocr = MMC_OCR_320_330 | MMC_OCR_330_340;
458 sc->host
[all...]
/freebsd-11-stable/contrib/sendmail/contrib/
H A Dexpn.pl22 # disconnect & reconnect after 25 commands to the same sendmail 8.8.* host
112 $0 = "$av0 - lookup host FQDN and IP addr";
116 $usage = "Usage: $av0 [-1avwd] user[\@host] [user2[host2] ...]";
160 # do we already have an mx record for this host?
434 # there is another host to redirect to!
463 # %fallback{"$user *** $host"} tracks what is able to fallback
464 # %fellback{"$user *** $host"} tracks what has fallen back
470 local($method,$user,*host,*fall_table,*fellback) = @_;
482 print "U: $user H: $host\n";
485 $us = "$user *** $host";
[all...]
/freebsd-11-stable/contrib/tnftp/src/
H A Dfetch.c292 * <type>://[<user>[:<password>]@]<host>[:<port>][/<path>]
304 * host and the URL-path removed, but any additional leading slashes
311 * "http://host" "/"
312 * "http://host/" "/"
313 * "http://host/path" "/path"
314 * "file://host/dir/file" "dir/file"
315 * "ftp://host" ""
316 * "ftp://host/" ""
317 * "ftp://host//" "/"
318 * "ftp://host/di
322 parse_url(const char *url, const char *desc, url_t *utype, char **uuser, char **pass, char **host, char **port, in_port_t *portnum, char **path) argument
502 char *uuser, *pass, *host, *port, *path; local
1373 char *host, *path, *dir, *file, *uuser, *pass; local
[all...]
/freebsd-11-stable/contrib/ncurses/
H A Dconvert_configure.pl101 s/^(host|build)=NONE$/$1=x86-emx-os2/; # Make default host/build
106 s/^\s*host=`.*\$ac_config_sub \$host_alias`/$&\nif test -z "\$host"; then host=\$host_alias; fi/;
119 00/10 : new syntax for host=`...` line
/freebsd-11-stable/contrib/binutils/ld/emulparams/
H A Delf32bmipn32-defs.sh22 if test `echo "$host" | sed -e s/64//` = `echo "$target" | sed -e s/64//`; then
H A Delf32ppccommon.sh36 # Treat a host that matches the target with the possible exception of "64"
38 if test `echo "$host" | sed -e s/64//` = `echo "$target" | sed -e s/64//`; then
H A Delf64_s390.sh16 # Treat a host that matches the target with the possible exception of "x"
18 if test `echo "$host" | sed -e s/390x/390/` \
H A Delf64_sparc.sh26 # Treat a host that matches the target with the possible exception of "64"
28 if test `echo "$host" | sed -e 's/64//;s/v[789]//'` \
H A Delf64ppc.sh37 # Treat a host that matches the target with the possible exception of "64"
39 if test `echo "$host" | sed -e s/64//` = `echo "$target" | sed -e s/64//`; then

Completed in 323 milliseconds

1234567891011>>