/freebsd/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/usr.sbin/lpr/common_source/ |
H A D | rmjob.c | 100 if (from_host == local_host) in rmjob() 212 if (from_host != local_host) in do_unlink() 213 printf("%s: ", local_host); in do_unlink() 238 if (all && (from_host == local_host || !strcmp(from_host, cfhost))) 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 D | displayq.c | 128 printf("%s: ", local_host); in displayq() 142 printf("%s: ", local_host); in displayq() 186 printf("%s: ", local_host); in displayq() 245 if (from_host != local_host) in displayq() 246 printf("%s: ", local_host); in displayq() 359 printf("%s: ", local_host); in daemonwarn()
|
H A D | net.c | 71 char local_host[MAXHOSTNAMELEN]; /* host running lpd/lpr */ variable 72 const char *from_host = local_host; /* client's machine name */
|
H A D | common.c | 741 if (from_host != local_host) in fatal() 742 (void)printf("%s: ", local_host); in fatal()
|
H A D | lp.h | 168 extern char local_host[MAXHOSTNAMELEN];
|
/freebsd/usr.sbin/lpr/lprm/ |
H A D | lprm.c | 87 gethostname(local_host, sizeof(local_host)); in main()
|
/freebsd/usr.sbin/lpr/lpr/ |
H A D | lpr.c | 74 static char *class = local_host; /* class title on header page */ 146 gethostname(local_host, sizeof(local_host)); in main() 320 card('H', local_host); in main() 840 len = strlen(pp->spool_dir) + strlen(local_host) + 8; in mktemps() 863 local_host); in lmktemp()
|
/freebsd/usr.sbin/lpr/lpq/ |
H A D | lpq.c | 81 if (gethostname(local_host, sizeof(local_host))) in main()
|
/freebsd/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/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/usr.sbin/lpr/lpd/ |
H A D | lpd.c | 134 gethostname(local_host, sizeof(local_host)); in main() 833 printf("%s [@%s]: %s\n", progname, local_host, usermsg); in fhosterr()
|
H A D | printjob.c | 1260 hlen = strlen(local_host); in wait4data() 1263 if (strcmp(cp, local_host) == 0) in wait4data() 1571 printf("Reply-To: root@%s\n\n", local_host); in sendmail() 1589 local_host); in sendmail()
|