Home
last modified time | relevance | path

Searched refs:local_host (Results 1 – 13 of 13) sorted by relevance

/dragonfly/lib/libc/net/
H A Deui64.c222 char local_host[MAXHOSTNAMELEN]; in eui64_ntohost() local
249 if (eui64_line(buf, &local_eui64, local_host, in eui64_ntohost()
250 sizeof(local_host)) == 0) { in eui64_ntohost()
254 strcpy(hostname, local_host); in eui64_ntohost()
273 char local_host[MAXHOSTNAMELEN]; in eui64_hostton() local
298 if (eui64_line(buf, &local_eui64, local_host, in eui64_hostton()
299 sizeof(local_host)) == 0) { in eui64_hostton()
300 if (strcmp(hostname, local_host) == 0) { in eui64_hostton()
H A Dether_addr.c147 char local_host[MAXHOSTNAMELEN]; in ether_ntohost() local
174 if (!ether_line(buf, &local_ether, local_host)) { in ether_ntohost()
178 strcpy(hostname, local_host); in ether_ntohost()
197 char local_host[MAXHOSTNAMELEN]; in ether_hostton() local
222 if (!ether_line(buf, &local_ether, local_host)) { in ether_hostton()
223 if (!strcmp(hostname, local_host)) { in ether_hostton()
/dragonfly/usr.sbin/lpr/common_source/
H A Drmjob.c100 if (from_host == local_host) in rmjob()
212 if (from_host != local_host) in do_unlink()
213 printf("%s: ", local_host); in do_unlink()
236 if (all && (from_host == local_host || !strcmp(from_host, file+6))) in chk()
282 if (!strcmp(person, root) && (from_host == local_host || in isowner()
287 if (from_host != local_host) in isowner()
288 printf("%s: ", local_host); in isowner()
357 if (from_host != local_host) in rmremote()
358 printf("%s: ", local_host); in rmremote()
H A Ddisplayq.c122 printf("%s: ", local_host); in displayq()
136 printf("%s: ", local_host); in displayq()
180 printf("%s: ", local_host); in displayq()
239 if (from_host != local_host) in displayq()
240 printf("%s: ", local_host); in displayq()
260 printf("%s: ", local_host); in warn()
H A Dnet.c67 char local_host[MAXHOSTNAMELEN]; /* host running lpd/lpr */ variable
68 const char *from_host = local_host; /* client's machine name */
H A Dcommon.c684 if (from_host != local_host) in fatal()
685 printf("%s: ", local_host); in fatal()
H A Dlp.h170 extern char local_host[MAXHOSTNAMELEN];
/dragonfly/usr.sbin/lpr/lprm/
H A Dlprm.c86 gethostname(local_host, sizeof(local_host)); in main()
/dragonfly/usr.sbin/lpr/lpr/
H A Dlpr.c72 static char *class = local_host; /* class title on header page */
143 gethostname(local_host, sizeof(local_host)); in main()
325 card('H', local_host); in main()
859 len = strlen(pp->spool_dir) + strlen(local_host) + 8; in mktemps()
881 snprintf(s, len, "%s/%sA%03d%s", pp->spool_dir, id, num, local_host); in lmktemp()
/dragonfly/usr.sbin/lpr/lpq/
H A Dlpq.c81 if (gethostname(local_host, sizeof(local_host))) in main()
/dragonfly/usr.bin/telnet/
H A Dtelnet.c2071 static char local_host[256] = { 0 }; in telnet() local
2073 if (!local_host[0]) { in telnet()
2074 gethostname(local_host, sizeof(local_host)); in telnet()
2075 local_host[sizeof(local_host)-1] = 0; in telnet()
2077 auth_encrypt_init(local_host, hostname, "TELNET", 0); in telnet()
/dragonfly/usr.sbin/lpr/lpd/
H A Dlpd.c133 gethostname(local_host, sizeof(local_host)); in main()
829 printf("%s [@%s]: %s\n", progname, local_host, usermsg); in fhosterr()
H A Dprintjob.c1439 printf("Reply-To: root@%s\n\n", local_host); in sendmail()
1457 local_host); in sendmail()