Searched refs:hostname (Results 126 - 150 of 429) sorted by relevance

1234567891011>>

/freebsd-9.3-release/libexec/comsat/
H A Dcomsat.c76 char hostname[MAXHOSTNAMELEN]; variable
101 (void)gethostname(hostname, sizeof(hostname));
204 cr, utp->ut_user, (int)sizeof(hostname), hostname,
/freebsd-9.3-release/usr.bin/whois/
H A Dwhois.c276 whois(const char *query, const char *hostname, int flags) argument
285 hostres = gethostinfo(hostname, 1);
302 if (strcmp(hostname, GERMNICHOST) == 0) {
304 } else if (strcmp(hostname, "dk" QNICHOST_TAIL) == 0) {
339 } else if (strcmp(hostname, ANICHOST) == 0) {
363 "usage: whois [-aAbfgiIklmQrR6] [-c country-code | -h hostname] "
/freebsd-9.3-release/crypto/heimdal/appl/test/
H A Duu_client.c40 proto (int sock, const char *hostname, const char *service) argument
58 err (1, "getsockname(%s)", hostname);
63 err (1, "getpeername(%s)", hostname);
/freebsd-9.3-release/crypto/heimdal/tests/kdc/
H A Dcheck-iprop.in106 ${ipropdmaster} --hostname=localhost -k ${keytab} \
113 ${ipropdslave} --hostname=slave -k ${keytab} localhost &
164 ${ipropdslave} --hostname=slave -k ${keytab} localhost &
181 ${ipropdslave} --hostname=slave -k ${keytab} localhost &
219 ${ipropdmaster} --hostname=localhost -k ${keytab} \
226 ${ipropdslave} --hostname=slave -k ${keytab} localhost &
/freebsd-9.3-release/crypto/openssh/
H A Dlogintest.c68 "hostname\t'%s'\n\texit\t\t%d\n\ttermination\t%d\n\t"
77 li->username, li->hostname, li->exit,
103 /* gethostname(hostname, sizeof(hostname)); */
116 printf("Couldn't set hostname(lookup failed)\n");
123 strlcpy(li1->hostname, "localhost", sizeof(li1->hostname));
/freebsd-9.3-release/contrib/tcp_wrappers/
H A Dtcpd.h35 void (*hostname) (); /* address to printable hostname */ member in struct:request_info
53 * distinguish between `unavailable' and `not yet looked up'. A hostname
58 #define STRING_PARANOID "paranoid" /* hostname conflict */
127 extern char *eval_hostname(); /* printable hostname */
135 /* Socket-specific methods, including DNS hostname lookups. */
138 extern void sock_hostname(); /* translate address to hostname */
141 { (r)->hostname = sock_hostname; (r)->hostaddr = sock_hostaddr; }
/freebsd-9.3-release/crypto/heimdal/lib/hx509/
H A Dtest_windows.in64 --hostname=kdc.heimdal.pki \
/freebsd-9.3-release/crypto/heimdal/tools/
H A Dheimdal-build.sh32 hostname=`hostname`
34 echo "have no sane hostname, punting"
261 cp ab.txt "${resultdir}/ab-${hversion}-${hostname}-${date}.txt"
266 From: ${USER:-unknown-user}@${hostname}
/freebsd-9.3-release/etc/
H A Dnetstart44 /etc/rc.d/hostname ${_start}
/freebsd-9.3-release/release/amd64/
H A Dboot_crunch.conf6 progs hostname
/freebsd-9.3-release/release/i386/
H A Dboot_crunch.conf6 progs hostname
/freebsd-9.3-release/release/pc98/
H A Dboot_crunch.conf6 progs hostname
/freebsd-9.3-release/libexec/bootpd/
H A Dreadfile.c297 * Allocate hash tables for hardware address, ip address, and hostname
409 if (goodname(hp->hostname->string)) {
410 char *hn = hp->hostname->string;
459 hashcode = hash_HashFunction((u_char *) hp->hostname->string,
460 strlen(hp->hostname->string));
462 hp->hostname->string, hp) < 0) {
464 "hash_Insert() failed on insertion of hostname: \"%s\"",
465 hp->hostname->string);
655 host->hostname = get_shared_string(&src);
658 if (!goodname(host->hostname
[all...]
H A Dbootpd.h146 * The hostname, home directory, and bootfile are all shared strings.
172 *hostname,
171 *hostname, member in struct:host
H A Ddovend.c60 hp->hostname->string, MSG); \
74 * Also, why is the hostname so far down the list? -gwr
193 * I wonder: If the hostname were "promoted" into the BOOTP
204 * Check for room for hostname. Add 2 to account for
207 len = strlen(hp->hostname->string);
210 * XXX - Too much magic. The user can always set the hostname
215 * Not enough room for full (domain-qualified) hostname, try
218 char *tmpstr = hp->hostname->string;
229 bcopy(hp->hostname->string, vp, len);
/freebsd-9.3-release/contrib/ipfilter/
H A Dipmon.h87 #define HOSTNAME_V4(a,b) hostname((a), 4, (u_32_t *)&(b))
/freebsd-9.3-release/contrib/openpam/bin/pamtest/
H A Dpamtest.c316 char hostname[1024]; local
392 if (gethostname(hostname, sizeof(hostname)) == -1)
394 rhost = hostname;
408 * pam_start(3) sets this to the machine's hostname, but we allow
/freebsd-9.3-release/crypto/heimdal/appl/kf/
H A Dkfd.c131 char hostname[MAXHOSTNAMELEN]; local
149 if(gethostname (hostname, sizeof(hostname)) < 0)
153 hostname,
/freebsd-9.3-release/crypto/heimdal/appl/telnet/telnet/
H A Dnetwork.c149 perror(hostname);
/freebsd-9.3-release/lib/libc/resolv/
H A Dres_data.c282 local_hostname_length(const char *hostname) { argument
287 len_host = strlen(hostname);
290 !strcasecmp(hostname + len_host - len_domain, _res.defdname) &&
291 hostname[len_host - len_domain - 1] == '.')
/freebsd-9.3-release/libexec/ftpd/
H A Dextern.h86 extern char *hostname;
/freebsd-9.3-release/share/examples/ppp/
H A Dchap-auth43 set hostname [gets stdin];
81 mkframe h "Hostname:" $hostname 0;
/freebsd-9.3-release/sys/nfsclient/
H A Dnfsargs.h61 char *hostname; /* server's name */ member in struct:nfs_args
/freebsd-9.3-release/sys/sys/
H A Dkerneldump.h81 char hostname[64]; member in struct:kerneldumpheader
/freebsd-9.3-release/tools/regression/gaithrstress/
H A Dgaithrstress.c114 char *hostname; local
118 if (asprintf(&hostname, "%s%s%s.%s",
126 error = getaddrinfo(hostname, NULL, hints, &res);
138 free(hostname);

Completed in 230 milliseconds

1234567891011>>