Lines Matching defs:proxy
98 const char *filter, *osname, *portno, *proxy;
115 filter = proxy = NULL;
194 proxy = optarg;
222 /* Verify proxy address, if enabled. */
223 if (proxy != NULL) {
227 error = getaddrinfo(proxy, NULL, &hints, &ai);
229 die("Bad proxy `%s': %s", proxy, gai_strerror(error));
231 die("Bad proxy `%s': resolves to multiple addresses",
232 proxy);
326 const char *user, struct sockaddr *proxy, int timeout)
433 if (ident_getuid(ss, sizeof(ss), proxy, &uid) == -1) {
645 struct sockaddr *proxy, uid_t *uid)
650 if (rc == -1 && proxy != NULL)
651 rc = sysctl_proxy_getuid(ss, proxy, uid);
678 /* Try to get the UID of the connection owner using sysctl (proxy version). */
680 sysctl_proxy_getuid(struct sockaddr_storage *ss, struct sockaddr *proxy,
697 /* We only accept queries from the proxy. */
699 satosin(proxy)->sin_addr))
703 /* We only accept queries from the proxy. */
705 &satosin6(proxy)->sin6_addr))
709 maybe_syslog(LOG_ERR, "Unsupported protocol for proxy (no. %d)",
741 * proxy has forwarded to us) so just try to match the ports and
754 /* Foreign address may not match proxy address. */
755 if (in_hosteq(satosin(proxy)->sin_addr,
771 /* Foreign address may not match proxy address. */
772 if (IN6_ARE_ADDR_EQUAL(&satosin6(proxy)->sin6_addr,