Searched refs:from_host (Results 1 – 10 of 10) sorted by relevance
/freebsd/usr.sbin/lpr/common_source/ |
H A D | rmjob.c | 100 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 D | displayq.c | 245 if (from_host != local_host) in displayq() 494 if (*r == jnum && !strcmp(cfhost, from_host)) in inlist()
|
H A D | net.c | 72 const char *from_host = local_host; /* client's machine name */ variable
|
H A D | ctlinfo.c | 101 extern const char *from_host; /* client's machine name */ 530 fprintf(newcf, "H%s\n", from_host); in ctl_renametf()
|
H A D | lp.h | 169 extern const char *from_host; /* client's machine name */
|
H A D | common.c | 741 if (from_host != local_host) in fatal()
|
/freebsd/usr.sbin/lpr/lpd/ |
H A D | lpd.c | 493 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 D | recvjob.c | 185 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 D | dma.c | 115 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 D | auth.c | 471 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()
|