Lines Matching defs:proxyfd
192 int proxyfd, r, authretry = 0;
216 proxyfd = remote_connect(proxyhost, proxyport, proxyhints);
218 if (proxyfd < 0)
230 cnt = atomicio(vwrite, proxyfd, buf, 3);
234 cnt = atomicio(read, proxyfd, buf, 2);
283 cnt = atomicio(vwrite, proxyfd, buf, wlen);
287 cnt = atomicio(read, proxyfd, buf, 4);
296 cnt = atomicio(read, proxyfd, buf + 4, 6);
301 cnt = atomicio(read, proxyfd, buf + 4, 18);
321 cnt = atomicio(vwrite, proxyfd, buf, wlen);
325 cnt = atomicio(read, proxyfd, buf, 8);
353 cnt = atomicio(vwrite, proxyfd, buf, r);
372 if ((ssize_t)(cnt = atomicio(vwrite, proxyfd, buf, r)) != r)
377 if ((cnt = atomicio(vwrite, proxyfd, __UNCONST("\r\n"), 2)) != 2)
381 proxy_read_line(proxyfd, cbuf, sizeof(buf));
388 close(proxyfd);
396 proxy_read_line(proxyfd, cbuf, sizeof(buf));
405 return (proxyfd);