Searched refs:hostname (Results 251 - 275 of 429) sorted by relevance

<<1112131415161718

/freebsd-9.3-release/sbin/ping/
H A Dping.c165 char *hostname; variable
560 hostname = target;
572 hostname = hnamebuf;
742 (void)printf("PING %s (%s)", hostname,
755 hostname, sweepmin, sweepmax);
757 (void)printf("PING %s: %d data bytes\n", hostname, datalen);
995 hostname, i, cc);
1370 (void)printf("--- %s ping statistics ---\n", hostname);
1598 * a hostname.
/freebsd-9.3-release/share/examples/netgraph/
H A Dvirtual.chain268 jail -c vnet name=${1} host.hostname=${1} \
H A Dvirtual.lan187 jail -c vnet name=${NODE_NAME} host.hostname=${NODE_NAME} \
/freebsd-9.3-release/sys/compat/freebsd32/
H A Dfreebsd32.h196 uint32_t hostname; member in struct:jail32_v0
203 uint32_t hostname; member in struct:jail32
/freebsd-9.3-release/sys/sys/
H A Djail.h37 char *hostname; member in struct:jail_v0
45 char *hostname; member in struct:jail
184 char pr_hostname[MAXHOSTNAMELEN]; /* (p) jail hostname */
200 #define PR_HOST 0x00000002 /* Virtualize hostname et al */
/freebsd-9.3-release/usr.sbin/timed/timed/
H A Dreadmsg.c236 syslog(LOG_NOTICE, "hostname field not NUL terminated "
276 if (!strcmp(msgin.tsp_name, hostname)
412 (void)strcpy(resp.tsp_name, hostname);
/freebsd-9.3-release/contrib/ntp/
H A DMakefile.am149 BHOST=`(hostname || uname -n)`
/freebsd-9.3-release/crypto/heimdal/lib/kadm5/
H A Dipropd_master.c221 char hostname[128]; local
238 strlcpy(hostname, master_hostname, sizeof(hostname));
240 gethostname(hostname, sizeof(hostname));
242 ret = krb5_sname_to_principal (context, hostname, IPROP_NAME,
727 { "hostname", 0, arg_string, &master_hostname,
728 "hostname of master (if not same as hostname)", "hostname" },
[all...]
/freebsd-9.3-release/lib/libfetch/
H A Dcommon.c396 fetch_ssl_hname_is_only_numbers(const char *hostname, size_t len) argument
401 if (!((hostname[i] >= '0' && hostname[i] <= '9') ||
402 hostname[i] == '.'))
427 /* hostname should not be just dots and numbers */
444 /* hostname must contain a dot and not be the 1st char */
450 * host part of hostname must be at least as long as
484 fetch_ssl_get_numeric_addrinfo(const char *hostname, size_t len) argument
490 memcpy(host, hostname, len);
635 * hostname
[all...]
/freebsd-9.3-release/sbin/mount_nfs/
H A Dmount_nfs.c156 char hostname[MAXHOSTNAMELEN + 1], *gssname, gssn[MAXHOSTNAMELEN + 50]; local
401 gethostname(hostname, MAXHOSTNAMELEN) == 0) {
403 hostname);
495 .hostname = NULL,
650 if (findopt(iov, iovlen, "hostname", &args.hostname,
653 if (args.hostname == NULL) {
654 errx(1, "Invalid hostname");
835 build_iovec(iov, iovlen, "hostname", nam, (size_t)-1);
/freebsd-9.3-release/usr.sbin/nfsd/
H A Dnfsd.c932 char hostname[MAXHOSTNAMELEN + 1], *cp; local
937 gethostname(hostname, sizeof (hostname));
938 snprintf(principal, sizeof (principal), "nfs@%s", hostname);
939 if ((cp = strchr(hostname, '.')) == NULL ||
944 error = getaddrinfo(hostname, NULL, &hints, &aip);
/freebsd-9.3-release/usr.sbin/traceroute6/
H A Dtraceroute6.c346 char *hostname; variable
359 int lflag; /* print both numerical address & hostname */
627 hostname = res->ai_canonname ? strdup(res->ai_canonname) : *argv;
628 if (!hostname) {
637 "addresses; using %s\n", hostname, hbuf);
896 fprintf(stderr, " to %s (%s)", hostname, hbuf);
1092 hostname, datalen, i);
/freebsd-9.3-release/contrib/ntp/sntp/libevent/
H A Dhttp.c197 const char *hostname);
1597 const char *hostname; local
1747 hostname = evhttp_uri_get_host(req->uri_elems);
1750 hostname &&
1751 !evhttp_find_vhost(req->evcon->http_server, NULL, hostname))
2238 * Although this interface accepts a hostname, it is intended to take
3190 matching hostname. If a match is found, and outhttp is non-null,
3196 const char *hostname)
3203 if (!evutil_ascii_strcasecmp(alias->alias, hostname)) {
3213 if (evhttp_find_alias(vhost, outhttp, hostname))
3195 evhttp_find_alias(struct evhttp *http, struct evhttp **outhttp, const char *hostname) argument
3232 evhttp_find_vhost(struct evhttp *http, struct evhttp **outhttp, const char *hostname) argument
3265 const char *hostname; local
4006 char *hostname = NULL, *portname = NULL; local
[all...]
/freebsd-9.3-release/contrib/amd/scripts/
H A Dexpn.117 # must have 'nslookup' and 'hostname' programs.
78 # expanded "foo" or maybe "foo@bar" and $server is the hostname
111 $0 = "$av0 - running hostname";
112 chop($name = `hostname || uname -n`);
115 ($hostname,$aliases,$type,$len,$thisaddr) = gethostbyname($name);
126 &expn(&parse($a,$hostname,undef,1));
188 || die "bind $hostname,0: $!";
238 &ps("helo $hostname");
957 # follow mx records, return a hostname
1253 .IR user [@ hostname ]
[all...]
H A Dexpn.in16 # must have 'nslookup' and 'hostname' programs.
77 # expanded "foo" or maybe "foo@bar" and $server is the hostname
110 $0 = "$av0 - running hostname";
111 chop($name = `hostname || uname -n`);
114 ($hostname,$aliases,$type,$len,$thisaddr) = gethostbyname($name);
125 &expn(&parse($a,$hostname,undef,1));
187 || die "bind $hostname,0: $!";
237 &ps("helo $hostname");
956 # follow mx records, return a hostname
1252 .IR user [@ hostname ]
[all...]
/freebsd-9.3-release/sbin/dhclient/
H A Ddhclient.c1538 char hostname[_POSIX_HOST_NAME_MAX+1]; local
1540 if (gethostname(hostname, sizeof(hostname)) == 0) {
1542 char* posDot = strchr(hostname, '.');
1544 len = posDot - hostname;
1546 len = strlen(hostname);
1548 options[DHO_HOST_NAME]->value = hostname;
1662 char hostname[_POSIX_HOST_NAME_MAX+1]; local
1664 if (gethostname(hostname, sizeof(hostname))
[all...]
/freebsd-9.3-release/crypto/heimdal/appl/ftp/ftp/
H A Dftp.c80 hostname = hostnamebuf;
138 printf ("Connected to %s.\n", hostname);
158 return (hostname);
485 printf ("%s:", hostname);
1492 if (hostname) {
1493 strlcpy (ip->name, hostname, sizeof (ip->name));
1496 hostname = op->name;
/freebsd-9.3-release/contrib/cvs/src/
H A Dclient.c825 error (0, 0, "dying gasps from %s unexpected", current_parsed_root->hostname);
827 error (0, 0, "reading from %s: %s", current_parsed_root->hostname, SOCK_STRERROR (SOCK_ERRNO));
3605 init_sockaddr (name, hostname, port)
3607 char *hostname;
3616 hostinfo = gethostbyname (hostname);
3619 fprintf (stderr, "Unknown host %s.\n", hostname);
3810 hostinfo = init_sockaddr (&client_sai, root->hostname, port_number);
3814 root->hostname,
3820 root->hostname,
3900 root->hostname, roo
[all...]
/freebsd-9.3-release/contrib/lukemftpd/src/
H A Dftpd.c326 hostname[0] = '\0';
376 strlcpy(hostname, optarg, sizeof(hostname));
380 if (gethostname(hostname, sizeof(hostname)) == -1)
381 hostname[0] = '\0';
382 hostname[sizeof(hostname) - 1] = '\0';
661 /* if the hostname hasn't been given, attempt to determine it */
662 if (hostname[
[all...]
/freebsd-9.3-release/contrib/bind9/bin/dig/
H A Dhost.c151 " [-R number] [-m flag] hostname [server]\n"
659 char hostname[MXNAME]; local
838 strlcpy(hostname, argv[isc_commandline_index], sizeof(hostname));
848 if (get_reverse(store, sizeof(store), hostname,
856 strncpy(lookup->textname, hostname, sizeof(lookup->textname));
/freebsd-9.3-release/contrib/dialog/samples/copifuncs/
H A Dcopi.funcs23 HOST=`hostname`
24 DOMAIN=`hostname -d`
94 save /etc/hostname
97 hostname $HOST
132 # hosts This file describes a number of hostname-to-address
1045 myfqdn `hostname -f`
/freebsd-9.3-release/contrib/sendmail/contrib/
H A Dexpn.pl14 # must have 'nslookup' and 'hostname' programs.
76 # expanded "foo" or maybe "foo@bar" and $server is the hostname
109 $0 = "$av0 - running hostname";
110 chop($name = `hostname || uname -n`);
113 ($hostname,$aliases,$type,$len,$thisaddr) = gethostbyname($name);
124 &expn(&parse($a,$hostname,undef,1));
228 &ps("helo $hostname");
947 # follow mx records, return a hostname
1243 .IR user [@ hostname ]
1244 .RI [ user [@ hostname ]]
[all...]
/freebsd-9.3-release/crypto/heimdal/kdc/
H A Dhprop.c60 open_socket(krb5_context context, const char *hostname, const char *port) argument
70 error = getaddrinfo (hostname, port, &hints, &ai);
72 warnx ("%s: %s", hostname, gai_strerror(error));
83 warn ("connect(%s)", hostname);
90 warnx ("failed to contact %s", hostname);
/freebsd-9.3-release/usr.sbin/fwcontrol/
H A Dfwcontrol.c84 "\t [-M mode] [-R filename] [-S filename] [-m EUI64 | hostname]\n"
178 char addr[EUI64_SIZ], hostname[40]; local
186 printf("node EUI64 status hostname\n");
191 if (eui64_ntohost(hostname, sizeof(hostname), &eui))
192 hostname[0] = 0;
197 hostname
/freebsd-9.3-release/contrib/amd/libamu/
H A Dmount_fs.c528 * struct nfs_args, or truncate our concocted "hostname:/path"
531 NFS_HN_DREF(nap->hostname, host_name);
938 plog(XLOG_DEBUG, "NA->hostname = \"%s\"", nap->hostname ? nap->hostname : "null");

Completed in 212 milliseconds

<<1112131415161718