Lines Matching refs:wfd
180 static bool Proxy(BIO *socket, bool async, int control, int rfd, int wfd) { in Proxy() argument
184 FD_SET(wfd, &rfds); in Proxy()
186 int fd_max = wfd > control ? wfd : control; in Proxy()
194 if (FD_ISSET(wfd, &rfds) && in Proxy()
195 (bytes = read_eintr(wfd, buf, sizeof(buf))) > 0) { in Proxy()
486 int rfd[2], wfd[2]; in RunHandshaker() local
503 if (pipe(wfd) != 0) { in RunHandshaker()
507 ScopedFD wfd0_closer(wfd[0]), wfd1_closer(wfd[1]); in RunHandshaker()
513 {{kFdProxyToHandshaker, rfd[0]}, {kFdHandshakerToProxy, wfd[1]}}, in RunHandshaker()
514 {rfd[1], wfd[0]})) { in RunHandshaker()
525 bool ok = Proxy(bio, config->async, control.fd(), rfd[1], wfd[0]); in RunHandshaker()