Home
last modified time | relevance | path

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

/freebsd-13.1/lib/libc/net/
H A Deui64.c223 char local_host[MAXHOSTNAMELEN]; in eui64_ntohost() local
250 if (eui64_line(buf, &local_eui64, local_host, in eui64_ntohost()
251 sizeof(local_host)) == 0) { in eui64_ntohost()
255 strcpy(hostname, local_host); in eui64_ntohost()
274 char local_host[MAXHOSTNAMELEN]; in eui64_hostton() local
299 if (eui64_line(buf, &local_eui64, local_host, in eui64_hostton()
300 sizeof(local_host)) == 0) { in eui64_hostton()
301 if (strcmp(hostname, local_host) == 0) { in eui64_hostton()
H A Dether_addr.c146 char local_host[MAXHOSTNAMELEN]; in ether_ntohost() local
173 if (!ether_line(buf, &local_ether, local_host)) { in ether_ntohost()
177 strcpy(hostname, local_host); in ether_ntohost()
196 char local_host[MAXHOSTNAMELEN]; in ether_hostton() local
221 if (!ether_line(buf, &local_ether, local_host)) { in ether_hostton()
222 if (!strcmp(hostname, local_host)) { in ether_hostton()
/freebsd-13.1/usr.sbin/lpr/common_source/
H A Drmjob.c108 if (from_host == local_host) in rmjob()
220 if (from_host != local_host) in do_unlink()
221 printf("%s: ", local_host); in do_unlink()
246 if (all && (from_host == local_host || !strcmp(from_host, cfhost))) in chk()
290 if (!strcmp(person, root) && (from_host == local_host || in isowner()
295 if (from_host != local_host) in isowner()
296 printf("%s: ", local_host); in isowner()
365 if (from_host != local_host) in rmremote()
366 printf("%s: ", local_host); in rmremote()
H A Ddisplayq.c136 printf("%s: ", local_host); in displayq()
150 printf("%s: ", local_host); in displayq()
194 printf("%s: ", local_host); in displayq()
253 if (from_host != local_host) in displayq()
254 printf("%s: ", local_host); in displayq()
367 printf("%s: ", local_host); in daemonwarn()
H A Dnet.c75 char local_host[MAXHOSTNAMELEN]; /* host running lpd/lpr */ variable
76 const char *from_host = local_host; /* client's machine name */
H A Dcommon.c751 if (from_host != local_host) in fatal()
752 (void)printf("%s: ", local_host); in fatal()
H A Dlp.h171 extern char local_host[MAXHOSTNAMELEN];
/freebsd-13.1/usr.sbin/lpr/lprm/
H A Dlprm.c101 gethostname(local_host, sizeof(local_host)); in main()
/freebsd-13.1/usr.sbin/lpr/lpq/
H A Dlpq.c95 if (gethostname(local_host, sizeof(local_host))) in main()
/freebsd-13.1/usr.sbin/lpr/lpr/
H A Dlpr.c89 static char *class = local_host; /* class title on header page */
161 gethostname(local_host, sizeof(local_host)); in main()
335 card('H', local_host); in main()
869 len = strlen(pp->spool_dir) + strlen(local_host) + 8; in mktemps()
892 local_host); in lmktemp()
/freebsd-13.1/crypto/heimdal/appl/telnet/telnet/
H A Dtelnet.c2044 static char local_host[256] = { 0 }; in my_telnet() local
2046 if (!local_host[0]) { in my_telnet()
2048 gethostname(local_host, sizeof(local_host)); in my_telnet()
2049 local_host[sizeof(local_host)-1] = 0; in my_telnet()
2051 auth_encrypt_init(local_host, hostname, "TELNET", 0); in my_telnet()
/freebsd-13.1/contrib/telnet/telnet/
H A Dtelnet.c2119 static char local_host[256] = { 0 }; in telnet() local
2121 if (!local_host[0]) { in telnet()
2122 gethostname(local_host, sizeof(local_host)); in telnet()
2123 local_host[sizeof(local_host)-1] = 0; in telnet()
2125 auth_encrypt_init(local_host, hostname, "TELNET", 0); in telnet()
/freebsd-13.1/usr.sbin/lpr/lpd/
H A Dlpd.c147 gethostname(local_host, sizeof(local_host)); in main()
839 printf("%s [@%s]: %s\n", progname, local_host, usermsg); in fhosterr()
H A Dprintjob.c1274 hlen = strlen(local_host); in wait4data()
1277 if (strcmp(cp, local_host) == 0) in wait4data()
1585 printf("Reply-To: root@%s\n\n", local_host); in sendmail()
1603 local_host); in sendmail()