Searched refs:hostname (Results 26 - 50 of 429) sorted by relevance

1234567891011>>

/freebsd-9.3-release/contrib/ntp/sntp/
H A Dkod_management.c23 const char *hostname,
30 if (!strcmp(kod_db[a]->hostname, hostname))
42 if (!strcmp(kod_db[a]->hostname, hostname)) {
53 const char * hostname,
64 strlcpy(pke->hostname, hostname, sizeof(pke->hostname));
67 * insert in address ("hostname") orde
22 search_entry( const char *hostname, struct kod_entry **dst ) argument
52 add_entry( const char * hostname, const char * type ) argument
90 delete_entry( const char * hostname, const char * type ) argument
[all...]
/freebsd-9.3-release/lib/libipx/
H A Dipx_addr.c55 char *hostname, *socketname, *cp; local
67 if ( (hostname = strchr(buf, '#')) )
70 hostname = strchr(buf, '.');
72 ((hostname && cp < hostname) || (hostname == 0))) {
73 hostname = cp;
78 if (hostname)
79 *hostname++ = 0;
83 if (hostname
[all...]
/freebsd-9.3-release/contrib/amd/fsinfo/
H A Dfsinfo.c60 char hostname[MAXHOSTNAMELEN + 1]; variable
127 xstrlcpy(hostname, optarg, sizeof(hostname));
182 Usage: %s [-v] [-a autodir] [-h hostname] [-b bootparams] [-d dumpsets]\n\
232 * If no hostname given then use the local name
234 if (!*hostname && gethostname(hostname, sizeof(hostname)) < 0) {
238 hostname[sizeof(hostname)
[all...]
/freebsd-9.3-release/libexec/getty/
H A Dextern.h40 extern char hostname[];
/freebsd-9.3-release/sys/boot/common/
H A Dnewvers.sh36 u=${USER-root} h=${HOSTNAME-`hostname`} t=`date`
/freebsd-9.3-release/tools/regression/lib/libc/net/
H A Dtest-ether.c61 char hostname[256]; local
64 if (ether_line(ether_line_string, &e, hostname) != 0)
68 if (strcmp(hostname, ether_line_hostname) != 0) {
69 printf("hostname: %s\n", hostname);
70 NOTOK("bad hostname");
81 char hostname[256]; local
84 if (ether_line(ether_line_bad_1_string, &e, hostname) == 0)
95 char hostname[256]; local
98 if (ether_line(ether_line_bad_2_string, &e, hostname)
[all...]
/freebsd-9.3-release/tools/tools/tinybsd/conf/firewall/etc/
H A Drc.conf2 hostname="tinybsd.freebsd.org"
/freebsd-9.3-release/tools/tools/tinybsd/conf/wireless/etc/
H A Drc.conf2 hostname="tinybsd.freebsd.org"
/freebsd-9.3-release/usr.sbin/bootparamd/bootparamd/
H A Dbootparamd.c38 static char hostname[MAX_MACHINE_NAME]; variable
77 if (checkhost(askname, hostname, sizeof hostname) ) {
78 res.client_name = hostname;
138 strncpy(hostname, buffer, where - buffer);
139 hostname[where - buffer] = '\0';
142 he = gethostbyname(hostname);
145 res.server_name = hostname;
209 while ( fscanf(bpf, "%255s", hostname) > 0 && !match ) {
210 if ( *hostname !
[all...]
/freebsd-9.3-release/contrib/bind9/lib/bind9/include/bind9/
H A Dgetaddresses.h33 bind9_getaddresses(const char *hostname, in_port_t port,
36 * Use the system resolver to get the addresses associated with a hostname.
38 * If a hostname lookup is performed and addresses of an unknown family is
46 *\li 'hostname' is not NULL.
55 *\li #ISC_R_NOFAMILYSUPPORT - 'hostname' is an IPv6 address, and IPv6 is
/freebsd-9.3-release/contrib/bind9/lib/export/samples/
H A Dsample-gai.c31 do_gai(int family, char *hostname) { argument
40 error = getaddrinfo(hostname, "http", &hints, &res0);
43 hostname, family, gai_strerror(error));
59 printf("%s(%s/%s)=%s:%s\n", hostname,
/freebsd-9.3-release/contrib/sendmail/cf/sh/
H A Dmakeinfo.sh35 if [ -f $p/hostname ]
53 host=`hostname`
/freebsd-9.3-release/usr.bin/talk/
H A Dget_names.c63 char hostname[MAXHOSTNAMELEN]; local
80 gethostname(hostname, sizeof (hostname));
81 my_machine_name = hostname;
/freebsd-9.3-release/usr.sbin/bsdconfig/networking/
H A DMakefile11 SCRIPTS= defaultrouter devices hostname nameservers networking
/freebsd-9.3-release/usr.sbin/bsdinstall/scripts/
H A DMakefile3 SCRIPTS= auto adduser checksum config docsinstall entropy hostname jail \
/freebsd-9.3-release/contrib/amd/wire-test/
H A Dwire-test.c51 char hostname[MAXHOSTNAMELEN + 1]; variable
66 if (gethostname(hostname, sizeof(hostname)) < 0) {
70 hostname[sizeof(hostname) - 1] = '\0';
95 fprintf(stderr, "NFS vers/proto failed: no such hostname \"%s\"\n", testhost);
/freebsd-9.3-release/contrib/tcp_wrappers/
H A Deval.c8 * results are really needed. Examples are hostname lookups and double
10 * given the value "unknown" ("paranoid" in case of hostname problems).
12 * When ALWAYS_HOSTNAME is off, hostname lookup is done only when required by
76 if (host->request->hostname != 0)
77 host->request->hostname(host);
87 char *hostname; local
93 hostname = eval_hostname(host);
94 if (HOSTNAME_KNOWN(hostname)) {
/freebsd-9.3-release/libexec/talkd/
H A Dtalkd.c78 char hostname[MAXHOSTNAMELEN]; variable
98 if (gethostname(hostname, sizeof(hostname) - 1) < 0) {
102 hostname[sizeof(hostname) - 1] = '\0';
/freebsd-9.3-release/usr.sbin/rpc.statd/
H A Dfile.c77 HostInfo *find_host(char *hostname, int create) argument
85 if (getaddrinfo(hostname, NULL, NULL, &ai1) != 0)
89 if (!strncasecmp(hostname, hp->hostname, SM_MAXSTRLEN))
94 if (hp->hostname[0] &&
95 getaddrinfo(hp->hostname, NULL, NULL, &ai2) != 0)
153 strncpy(spare_slot->hostname, hostname, SM_MAXSTRLEN);
249 static int notify_one_host(char *hostname) argument
262 if (debug) syslog (LOG_DEBUG, "Sending SM_NOTIFY to host %s from %s", hostname, our_hostnam
[all...]
/freebsd-9.3-release/crypto/openssh/
H A Dsshlogin.c78 strlcpy(buf, li.hostname, bufsize);
90 char *time_string, hostname[MAXHOSTNAMELEN] = "", buf[512]; local
103 last_login_time = get_last_login_time(uid, user, hostname,
104 sizeof(hostname));
109 if (strcmp(hostname, "") == 0)
114 time_string, hostname);
/freebsd-9.3-release/contrib/gdb/gdb/
H A Dser-tcp.c60 char *port_str, hostname[100]; local
80 tmp = min (port_str - name, (int) sizeof hostname - 1);
81 strncpy (hostname, name, tmp); /* Don't want colon */
82 hostname[tmp] = '\000'; /* Tie off host name */
85 /* default hostname is localhost */
86 if (!hostname[0])
87 strcpy (hostname, "localhost");
89 hostent = gethostbyname (hostname);
92 fprintf_unfiltered (gdb_stderr, "%s: unknown host\n", hostname);
/freebsd-9.3-release/crypto/heimdal/appl/test/
H A Dtest_locl.h87 int client_doit (const char *hostname, int port, const char *service,
88 int (*func)(int, const char *hostname, const char *service));
/freebsd-9.3-release/lib/libc/net/
H A Dether_addr.c65 * Parse a string of text containing an ethernet address and hostname and
69 ether_line(const char *l, struct ether_addr *e, char *hostname) argument
74 &o[4], &o[5], hostname);
135 * Map an ethernet address to a hostname. Use either /etc/ethers or NIS/YP.
138 ether_ntohost(char *hostname, const struct ether_addr *e) argument
174 strcpy(hostname, local_host);
185 * Map a hostname to an ethernet address using /etc/ethers or NIS/YP.
188 ether_hostton(const char *hostname, struct ether_addr *e) argument
209 if (yp_match(yp_domain, "ethers.byname", hostname,
210 strlen(hostname),
[all...]
/freebsd-9.3-release/lib/libc/rpc/
H A Dnetname.c131 char hostname[MAXHOSTNAMELEN+1]; local
140 (void) gethostname(hostname, sizeof(hostname));
141 host = hostname;
/freebsd-9.3-release/usr.bin/passwd/
H A Dpasswd.c69 char hostname[MAXHOSTNAMELEN]; local
145 gethostname(hostname, sizeof hostname);
146 pam_err = pam_set_item(pamh, PAM_RHOST, hostname);

Completed in 134 milliseconds

1234567891011>>