Searched refs:local_host (Results 1 - 16 of 16) sorted by relevance

/freebsd-9.3-release/lib/libc/net/
H A Dether_addr.c143 char local_host[MAXHOSTNAMELEN]; local
170 if (!ether_line(buf, &local_ether, local_host)) {
174 strcpy(hostname, local_host);
193 char local_host[MAXHOSTNAMELEN]; local
218 if (!ether_line(buf, &local_ether, local_host)) {
219 if (!strcmp(hostname, local_host)) {
H A Deui64.c223 char local_host[MAXHOSTNAMELEN]; local
250 if (eui64_line(buf, &local_eui64, local_host,
251 sizeof(local_host)) == 0) {
255 strcpy(hostname, local_host);
274 char local_host[MAXHOSTNAMELEN]; local
299 if (eui64_line(buf, &local_eui64, local_host,
300 sizeof(local_host)) == 0) {
301 if (strcmp(hostname, local_host) == 0) {
/freebsd-9.3-release/usr.sbin/lpr/common_source/
H A Drmjob.c107 if (from_host == local_host)
219 if (from_host != local_host)
220 printf("%s: ", local_host);
245 if (all && (from_host == local_host || !strcmp(from_host, cfhost)))
289 if (!strcmp(person, root) && (from_host == local_host ||
294 if (from_host != local_host)
295 printf("%s: ", local_host);
364 if (from_host != local_host)
365 printf("%s: ", local_host);
H A Ddisplayq.c135 printf("%s: ", local_host);
149 printf("%s: ", local_host);
193 printf("%s: ", local_host);
252 if (from_host != local_host)
253 printf("%s: ", local_host);
366 printf("%s: ", local_host);
H A Dnet.c67 * 'local_host' is always the hostname of the machine which is running
68 * lpr (lpd, whatever), while 'from_host' either points at 'local_host'
72 char local_host[MAXHOSTNAMELEN]; /* host running lpd/lpr */ variable
73 const char *from_host = local_host; /* client's machine name */
H A Dcommon.c748 if (from_host != local_host)
749 (void)printf("%s: ", local_host);
H A Dlp.h156 * 'local_host' is the name of the machine that lpd (lpr, whatever)
161 * job from a remote host. If 'from_host != local_host', then 'from_ip'
165 * Also note that when 'from_host' is not pointing at 'local_host', the
169 extern char local_host[MAXHOSTNAMELEN];
/freebsd-9.3-release/contrib/ofed/management/opensm/scripts/
H A Dsldd.sh.in116 if [ "${host}" == "${local_host}" ]; then
121 stat=$($RSH $host "/bin/mkdir -p ${CACHE_DIR} > /dev/null 2>&1; /bin/rm -f ${CACHE_FILE}.${local_host} > /dev/null 2>&1; echo \$?" | tr -d '[:space:]')
126 $RCP ${CACHE_FILE}.upd ${host}:${CACHE_FILE}.${local_host}
163 local_host=""
167 local_host=${host}
/freebsd-9.3-release/usr.sbin/lpr/lprm/
H A Dlprm.c98 gethostname(local_host, sizeof(local_host));
/freebsd-9.3-release/usr.sbin/lpr/lpq/
H A Dlpq.c93 if (gethostname(local_host, sizeof(local_host)))
/freebsd-9.3-release/usr.sbin/lpr/lpr/
H A Dlpr.c86 static char *class = local_host; /* class title on header page */
158 gethostname(local_host, sizeof(local_host));
332 card('H', local_host);
866 len = strlen(pp->spool_dir) + strlen(local_host) + 8;
889 local_host);
/freebsd-9.3-release/contrib/telnet/telnet/
H A Dtelnet.c2093 static char local_host[256] = { 0 };
2095 if (!local_host[0]) {
2096 gethostname(local_host, sizeof(local_host));
2097 local_host[sizeof(local_host)-1] = 0;
2099 auth_encrypt_init(local_host, hostname, "TELNET", 0);
2086 static char local_host[256] = { 0 }; local
/freebsd-9.3-release/crypto/heimdal/appl/telnet/telnet/
H A Dtelnet.c2044 static char local_host[256] = { 0 }; local
2046 if (!local_host[0]) {
2048 gethostname(local_host, sizeof(local_host));
2049 local_host[sizeof(local_host)-1] = 0;
2051 auth_encrypt_init(local_host, hostname, "TELNET", 0);
/freebsd-9.3-release/usr.sbin/lpr/lpd/
H A Dlpd.c145 gethostname(local_host, sizeof(local_host));
841 printf("%s [@%s]: %s\n", progname, local_host, usermsg);
H A Dprintjob.c499 * just strlcpy'ing local_host? */
1271 hlen = strlen(local_host);
1274 if (strcmp(cp, local_host) == 0)
1582 printf("Reply-To: root@%s\n\n", local_host);
1600 local_host);
/freebsd-9.3-release/crypto/heimdal/lib/krb5/
H A Dprincipal.c918 goto local_host;
950 local_host:

Completed in 172 milliseconds