Lines Matching refs:new_fd
2974 int new_fd;
2977 new_fd = accept(c->fd, (struct sockaddr*)addr, addrlen);
2980 new_fd = accept4(c->fd, (struct sockaddr*)addr, addrlen, SOCK_NONBLOCK);
2982 if(new_fd == -1) {
3062 sock_close(new_fd);
3067 fd_set_nonblock(new_fd);
3069 return new_fd;
3202 int new_fd;
3262 new_fd = comm_point_perform_accept(c, &c_hdl->repinfo.remote_addr,
3264 if(new_fd == -1) {
3278 c_hdl->ssl = incoming_ssl_fd(c->ssl, new_fd);
3280 c_hdl->fd = new_fd;
3298 setup_tcp_handler(c_hdl, new_fd, c->cur_tcp_count, c->max_tcp_count);