Lines Matching defs:new_fd
2999 int new_fd;
3002 new_fd = accept(c->fd, (struct sockaddr*)addr, addrlen);
3005 new_fd = accept4(c->fd, (struct sockaddr*)addr, addrlen, SOCK_NONBLOCK);
3007 if(new_fd == -1) {
3087 close(new_fd);
3092 fd_set_nonblock(new_fd);
3094 return new_fd;
3193 int new_fd;
3247 new_fd = comm_point_perform_accept(c, &c_hdl->repinfo.remote_addr,
3249 if(new_fd == -1)
3258 c_hdl->ssl = incoming_ssl_fd(c->ssl, new_fd);
3260 c_hdl->fd = new_fd;
3278 setup_tcp_handler(c_hdl, new_fd, c->cur_tcp_count, c->max_tcp_count);