Searched refs:from_host (Results 1 – 10 of 10) sorted by relevance
| /src/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() 238 if (all && (from_host == local_host || !strcmp(from_host, cfhost))) in chk() 282 if (!strcmp(person, root) && (from_host == local_host || in isowner() 283 !strcmp(from_host, cfhost))) in isowner() 285 if (!strcmp(person, owner) && !strcmp(from_host, cfhost)) in isowner() 287 if (from_host != local_host) in isowner() 357 if (from_host != local_host) in rmremote()
|
| H A D | displayq.c | 245 if (from_host != local_host) in displayq() 494 if (*r == jnum && !strcmp(cfhost, from_host)) in inlist()
|
| H A D | net.c | 72 const char *from_host = local_host; /* client's machine name */ variable
|
| H A D | ctlinfo.c | 101 extern const char *from_host; /* client's machine name */ 530 fprintf(newcf, "H%s\n", from_host); in ctl_renametf()
|
| H A D | lp.h | 169 extern const char *from_host; /* client's machine name */
|
| H A D | common.c | 741 if (from_host != local_host) in fatal()
|
| /src/usr.sbin/lpr/lpd/ |
| H A D | lpd.c | 501 from_host, cmdnames[(u_char)*cp], cp+1); in doit() 504 *cp, from_host); in doit() 666 from_host = ".na."; in chkhost() 695 from_host = frombuf; in chkhost() 715 if (getaddrinfo(from_host, NULL, &hints, &res) == 0) { in chkhost() 720 from_host); in chkhost() 730 error = getaddrinfo(from_host, NULL, &hints, &res); in chkhost() 774 asprintf(&syserr, "refused connection from %s, sip=%s", from_host, in chkhost() 777 "Print-services are not available to your host (%s).", from_host); in chkhost() 832 syslog(LOG_WARNING, "for connection from %s:", from_host); in fhosterr()
|
| H A D | recvjob.c | 221 from_host); in readjob() 275 from_host); in readjob() 298 from_host, givenhost); in readjob() 445 syslog(LOG_ERR, "Error receiving job from %s:", from_host); in frecverr()
|
| /src/contrib/dma/ |
| H A D | dma.c | 115 const char *from_host = hostname(); in set_from() local 118 from_host = config.masquerade_host; in set_from() 120 if (asprintf(&sender, "%s@%s", addr, from_host) <= 0) in set_from()
|
| /src/crypto/openssh/ |
| H A D | auth.c | 473 const char *from_host, *from_ip; in getpwnamallow() local 523 from_host = auth_get_canonical_hostname(ssh, options.use_dns); in getpwnamallow() 525 if (!auth_hostok(lc, from_host, from_ip)) { in getpwnamallow() 527 pw->pw_name, from_host, from_ip); in getpwnamallow()
|