/dragonfly/lib/libc/net/ |
H A D | eui64.c | 222 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 D | ether_addr.c | 147 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 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() 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 D | displayq.c | 122 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 D | net.c | 67 char local_host[MAXHOSTNAMELEN]; /* host running lpd/lpr */ variable 68 const char *from_host = local_host; /* client's machine name */
|
H A D | common.c | 684 if (from_host != local_host) in fatal() 685 printf("%s: ", local_host); in fatal()
|
H A D | lp.h | 170 extern char local_host[MAXHOSTNAMELEN];
|
/dragonfly/usr.sbin/lpr/lprm/ |
H A D | lprm.c | 86 gethostname(local_host, sizeof(local_host)); in main()
|
/dragonfly/usr.sbin/lpr/lpr/ |
H A D | lpr.c | 72 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 D | lpq.c | 81 if (gethostname(local_host, sizeof(local_host))) in main()
|
/dragonfly/usr.bin/telnet/ |
H A D | telnet.c | 2071 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 D | lpd.c | 133 gethostname(local_host, sizeof(local_host)); in main() 829 printf("%s [@%s]: %s\n", progname, local_host, usermsg); in fhosterr()
|
H A D | printjob.c | 1439 printf("Reply-To: root@%s\n\n", local_host); in sendmail() 1457 local_host); in sendmail()
|