Home
last modified time | relevance | path

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

/freebsd-14.2/usr.sbin/lpr/common_source/
H A Drmjob.c106 if (from_host == local_host) in rmjob()
218 if (from_host != local_host) in do_unlink()
244 if (all && (from_host == local_host || !strcmp(from_host, cfhost))) in chk()
288 if (!strcmp(person, root) && (from_host == local_host || in isowner()
289 !strcmp(from_host, cfhost))) in isowner()
291 if (!strcmp(person, owner) && !strcmp(from_host, cfhost)) in isowner()
293 if (from_host != local_host) in isowner()
363 if (from_host != local_host) in rmremote()
H A Ddisplayq.c251 if (from_host != local_host) in displayq()
500 if (*r == jnum && !strcmp(cfhost, from_host)) in inlist()
H A Dnet.c74 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.h171 extern const char *from_host; /* client's machine name */
H A Dcommon.c747 if (from_host != local_host) in fatal()
/freebsd-14.2/usr.sbin/lpr/lpd/
H A Dlpd.c505 from_host, cmdnames[(u_char)*cp], cp+1); in doit()
508 *cp, from_host); in doit()
670 from_host = ".na."; in chkhost()
699 from_host = frombuf; in chkhost()
719 if (getaddrinfo(from_host, NULL, &hints, &res) == 0) { in chkhost()
724 from_host); in chkhost()
734 error = getaddrinfo(from_host, NULL, &hints, &res); in chkhost()
778 asprintf(&syserr, "refused connection from %s, sip=%s", from_host, in chkhost()
781 "Print-services are not available to your host (%s).", from_host); in chkhost()
836 syslog(LOG_WARNING, "for connection from %s:", from_host); in fhosterr()
H A Drecvjob.c197 strlcpy(cp + 6, from_host, sizeof(line) in readjob()
244 from_host, givenhost); in readjob()
384 syslog(LOG_ERR, "Error receiving job from %s:", from_host); in frecverr()
/freebsd-14.2/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-14.2/crypto/openssh/
H A Dauth.c472 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()