Home
last modified time | relevance | path

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

/freebsd-12.1/usr.sbin/lpr/common_source/
H A Drmjob.c108 if (from_host == local_host) in rmjob()
220 if (from_host != local_host) in do_unlink()
246 if (all && (from_host == local_host || !strcmp(from_host, cfhost))) in chk()
290 if (!strcmp(person, root) && (from_host == local_host || in isowner()
291 !strcmp(from_host, cfhost))) in isowner()
293 if (!strcmp(person, owner) && !strcmp(from_host, cfhost)) in isowner()
295 if (from_host != local_host) in isowner()
365 if (from_host != local_host) in rmremote()
H A Ddisplayq.c253 if (from_host != local_host) in displayq()
502 if (*r == jnum && !strcmp(cfhost, from_host)) in inlist()
H A Dnet.c76 const char *from_host = local_host; /* client's machine name */ variable
H A Dctlinfo.c103 extern const char *from_host; /* client's machine name */
532 fprintf(newcf, "H%s\n", from_host); in ctl_renametf()
H A Dlp.h172 extern const char *from_host; /* client's machine name */
H A Dcommon.c751 if (from_host != local_host) in fatal()
/freebsd-12.1/usr.sbin/lpr/lpd/
H A Dlpd.c499 from_host, cmdnames[(u_char)*cp], cp+1); in doit()
502 *cp, from_host); in doit()
664 from_host = ".na."; in chkhost()
693 from_host = frombuf; in chkhost()
713 if (getaddrinfo(from_host, NULL, &hints, &res) == 0) { in chkhost()
718 from_host); in chkhost()
728 error = getaddrinfo(from_host, NULL, &hints, &res); in chkhost()
772 asprintf(&syserr, "refused connection from %s, sip=%s", from_host, in chkhost()
775 "Print-services are not available to your host (%s).", from_host); in chkhost()
830 syslog(LOG_WARNING, "for connection from %s:", from_host); in fhosterr()
H A Drecvjob.c199 strlcpy(cp + 6, from_host, sizeof(line) in readjob()
246 from_host, givenhost); in readjob()
386 syslog(LOG_ERR, "Error receiving job from %s:", from_host); in frecverr()
/freebsd-12.1/crypto/openssh/
H A Dauth2.c265 const char *from_host, *from_ip; in input_userauth_request() local
322 from_host = auth_get_canonical_hostname(ssh, options.use_dns); in input_userauth_request()
324 if (!auth_hostok(lc, from_host, from_ip)) { in input_userauth_request()
326 authctxt->pw->pw_name, from_host, from_ip); in input_userauth_request()
331 authctxt->pw->pw_name, from_host); in input_userauth_request()
/freebsd-12.1/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()