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

/freebsd-10.0-release/usr.sbin/lpr/common_source/
H A Drmjob.c106 if (from_host == local_host)
108 all = 1; /* all those from 'from_host' */
218 if (from_host != local_host)
244 if (all && (from_host == local_host || !strcmp(from_host, cfhost)))
288 if (!strcmp(person, root) && (from_host == local_host ||
289 !strcmp(from_host, cfhost)))
291 if (!strcmp(person, owner) && !strcmp(from_host, cfhost))
293 if (from_host != local_host)
363 if (from_host !
[all...]
H A Ddisplayq.c251 if (from_host != local_host)
500 if (*r == jnum && !strcmp(cfhost, from_host))
H A Dlp.h159 * 'from_host' will point to the 'host' variable when receiving a job
161 * job from a remote host. If 'from_host != local_host', then 'from_ip'
162 * is the character representation of the IP address of from_host (note
165 * Also note that when 'from_host' is not pointing at 'local_host', the
170 extern const char *from_host; /* client's machine name */
H A Dnet.c69 * lpr (lpd, whatever), while 'from_host' either points at 'local_host'
74 const char *from_host = local_host; /* client's machine name */ variable
H A Dctlinfo.c101 extern const char *from_host; /* client's machine name */
528 fprintf(newcf, "H%s\n", from_host);
H A Dcommon.c746 /* this error message is being sent to the 'from_host' */
747 if (from_host != local_host)
/freebsd-10.0-release/usr.sbin/lpr/lpd/
H A Dlpd.c497 from_host, cmdnames[(u_char)*cp], cp+1);
500 *cp, from_host);
666 from_host = ".na.";
695 from_host = frombuf;
715 if (getaddrinfo(from_host, NULL, &hints, &res) == 0) {
717 /* This syslog message already includes from_host */
720 from_host);
730 error = getaddrinfo(from_host, NULL, &hints, &res);
772 /* This syslog message already includes from_host */
774 asprintf(&syserr, "refused connection from %s, sip=%s", from_host,
[all...]
H A Drecvjob.c197 strlcpy(cp + 6, from_host, sizeof(line)
244 from_host, givenhost);
384 syslog(LOG_ERR, "Error receiving job from %s:", from_host);
/freebsd-10.0-release/crypto/openssh/
H A Dauth2.c229 const char *from_host, *from_ip; local
231 from_host = get_canonical_hostname(options.use_dns);
286 if (!auth_hostok(lc, from_host, from_ip)) {
288 authctxt->pw->pw_name, from_host, from_ip);
293 authctxt->pw->pw_name, from_host);

Completed in 92 milliseconds