Home
last modified time | relevance | path

Searched refs:from_host (Results 1 – 9 of 9) sorted by relevance

/dragonfly/usr.sbin/lpr/common_source/
HDrmjob.c100 if (from_host == local_host) in rmjob()
212 if (from_host != 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()
283 !strcmp(from_host, file+6))) in isowner()
285 if (!strcmp(person, owner) && !strcmp(from_host, file+6)) in isowner()
287 if (from_host != local_host) in isowner()
357 if (from_host != local_host) in rmremote()
HDdisplayq.c239 if (from_host != local_host) in displayq()
394 if (*r == n && !strcmp(cp, from_host)) in inlist()
HDctlinfo.c85 extern const char *from_host; /* client's machine name */
492 fprintf(newcf, "H%s\n", from_host); in ctl_renametf()
HDnet.c68 const char *from_host = local_host; /* client's machine name */ variable
HDlp.h171 extern const char *from_host; /* client's machine name */
HDcommon.c684 if (from_host != local_host) in fatal()
/dragonfly/usr.sbin/lpr/lpd/
HDlpd.c485 from_host, cmdnames[(u_char)*cp], cp+1); in doit()
488 *cp, from_host); in doit()
654 from_host = ".na."; in chkhost()
683 from_host = frombuf; in chkhost()
703 if (getaddrinfo(from_host, NULL, &hints, &res) == 0) { in chkhost()
708 from_host); in chkhost()
718 error = getaddrinfo(from_host, NULL, &hints, &res); in chkhost()
762 asprintf(&syserr, "refused connection from %s, sip=%s", from_host, in chkhost()
765 "Print-services are not available to your host (%s).", from_host); in chkhost()
820 syslog(LOG_WARNING, "for connection from %s:", from_host); in fhosterr()
HDrecvjob.c182 strlcpy(cp + 6, from_host, sizeof(line) in readjob()
229 from_host, givenhost); in readjob()
369 syslog(LOG_ERR, "Error receiving job from %s:", from_host); in frecverr()
/dragonfly/libexec/dma/
HDdma.c117 const char *from_host = hostname(); in set_from() local
120 from_host = config.masquerade_host; in set_from()
122 if (asprintf(&sender, "%s@%s", addr, from_host) <= 0) in set_from()