| /freebsd-14.2/lib/libc/net/ |
| H A D | eui64.c | 220 char local_host[MAXHOSTNAMELEN]; in eui64_ntohost() local 247 if (eui64_line(buf, &local_eui64, local_host, in eui64_ntohost() 248 sizeof(local_host)) == 0) { in eui64_ntohost() 252 strcpy(hostname, local_host); in eui64_ntohost() 271 char local_host[MAXHOSTNAMELEN]; in eui64_hostton() local 296 if (eui64_line(buf, &local_eui64, local_host, in eui64_hostton() 297 sizeof(local_host)) == 0) { in eui64_hostton() 298 if (strcmp(hostname, local_host) == 0) { in eui64_hostton()
|
| H A D | ether_addr.c | 143 char local_host[MAXHOSTNAMELEN]; in ether_ntohost() local 170 if (!ether_line(buf, &local_ether, local_host)) { in ether_ntohost() 174 strcpy(hostname, local_host); in ether_ntohost() 193 char local_host[MAXHOSTNAMELEN]; in ether_hostton() local 218 if (!ether_line(buf, &local_ether, local_host)) { in ether_hostton() 219 if (!strcmp(hostname, local_host)) { in ether_hostton()
|
| /freebsd-14.2/usr.sbin/lpr/common_source/ |
| H A D | rmjob.c | 106 if (from_host == local_host) in rmjob() 218 if (from_host != local_host) in do_unlink() 219 printf("%s: ", local_host); in do_unlink() 244 if (all && (from_host == local_host || !strcmp(from_host, cfhost))) in chk() 288 if (!strcmp(person, root) && (from_host == local_host || in isowner() 293 if (from_host != local_host) in isowner() 294 printf("%s: ", local_host); in isowner() 363 if (from_host != local_host) in rmremote() 364 printf("%s: ", local_host); in rmremote()
|
| H A D | displayq.c | 134 printf("%s: ", local_host); in displayq() 148 printf("%s: ", local_host); in displayq() 192 printf("%s: ", local_host); in displayq() 251 if (from_host != local_host) in displayq() 252 printf("%s: ", local_host); in displayq() 365 printf("%s: ", local_host); in daemonwarn()
|
| H A D | net.c | 73 char local_host[MAXHOSTNAMELEN]; /* host running lpd/lpr */ variable 74 const char *from_host = local_host; /* client's machine name */
|
| H A D | common.c | 747 if (from_host != local_host) in fatal() 748 (void)printf("%s: ", local_host); in fatal()
|
| H A D | lp.h | 170 extern char local_host[MAXHOSTNAMELEN];
|
| /freebsd-14.2/usr.sbin/lpr/lprm/ |
| H A D | lprm.c | 99 gethostname(local_host, sizeof(local_host)); in main()
|
| /freebsd-14.2/usr.sbin/lpr/lpq/ |
| H A D | lpq.c | 93 if (gethostname(local_host, sizeof(local_host))) in main()
|
| /freebsd-14.2/usr.sbin/lpr/lpr/ |
| H A D | lpr.c | 86 static char *class = local_host; /* class title on header page */ 158 gethostname(local_host, sizeof(local_host)); in main() 332 card('H', local_host); in main() 852 len = strlen(pp->spool_dir) + strlen(local_host) + 8; in mktemps() 875 local_host); in lmktemp()
|
| /freebsd-14.2/crypto/heimdal/appl/telnet/telnet/ |
| H A D | telnet.c | 2044 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-14.2/contrib/telnet/telnet/ |
| H A D | telnet.c | 2117 static char local_host[256] = { 0 }; in telnet() local 2119 if (!local_host[0]) { in telnet() 2120 gethostname(local_host, sizeof(local_host)); in telnet() 2121 local_host[sizeof(local_host)-1] = 0; in telnet() 2123 auth_encrypt_init(local_host, hostname, "TELNET", 0); in telnet()
|
| /freebsd-14.2/usr.sbin/lpr/lpd/ |
| H A D | lpd.c | 146 gethostname(local_host, sizeof(local_host)); in main() 845 printf("%s [@%s]: %s\n", progname, local_host, usermsg); in fhosterr()
|
| H A D | printjob.c | 1272 hlen = strlen(local_host); in wait4data() 1275 if (strcmp(cp, local_host) == 0) in wait4data() 1583 printf("Reply-To: root@%s\n\n", local_host); in sendmail() 1601 local_host); in sendmail()
|