Home
last modified time | relevance | path

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

/freebsd/usr.sbin/lpr/common_source/
H A Drmjob.c100 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 Ddisplayq.c245 if (from_host != local_host) in displayq()
494 if (*r == jnum && !strcmp(cfhost, from_host)) in inlist()
H A Dnet.c72 const char *from_host = local_host; /* client's machine name */ variable
H A Dctlinfo.c101 extern const char *from_host; /* client's machine name */
530 fprintf(newcf, "H%s\n", from_host); in ctl_renametf()
H A Dlp.h169 extern const char *from_host; /* client's machine name */
H A Dcommon.c741 if (from_host != local_host) in fatal()
/freebsd/usr.sbin/lpr/lpd/
H A Dlpd.c493 from_host, cmdnames[(u_char)*cp], cp+1); in doit()
496 *cp, from_host); in doit()
658 from_host = ".na."; in chkhost()
687 from_host = frombuf; in chkhost()
707 if (getaddrinfo(from_host, NULL, &hints, &res) == 0) { in chkhost()
712 from_host); in chkhost()
722 error = getaddrinfo(from_host, NULL, &hints, &res); in chkhost()
766 asprintf(&syserr, "refused connection from %s, sip=%s", from_host, in chkhost()
769 "Print-services are not available to your host (%s).", from_host); in chkhost()
824 syslog(LOG_WARNING, "for connection from %s:", from_host); in fhosterr()
H A Drecvjob.c185 strlcpy(cp + 6, from_host, sizeof(line) in readjob()
232 from_host, givenhost); in readjob()
372 syslog(LOG_ERR, "Error receiving job from %s:", from_host); in frecverr()
/freebsd/contrib/dma/
H A Ddma.c115 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()
/freebsd/crypto/openssh/
H A Dauth.c471 const char *from_host, *from_ip; in getpwnamallow() local
521 from_host = auth_get_canonical_hostname(ssh, options.use_dns); in getpwnamallow()
523 if (!auth_hostok(lc, from_host, from_ip)) { in getpwnamallow()
525 pw->pw_name, from_host, from_ip); in getpwnamallow()