Lines Matching defs:new_fd
1223 int new_fd;
1226 new_fd = accept(c->fd, (struct sockaddr*)addr, addrlen);
1229 new_fd = accept4(c->fd, (struct sockaddr*)addr, addrlen, SOCK_NONBLOCK);
1231 if(new_fd == -1) {
1311 close(new_fd);
1316 fd_set_nonblock(new_fd);
1318 return new_fd;
1417 int new_fd;
1471 new_fd = comm_point_perform_accept(c, &c_hdl->repinfo.remote_addr,
1473 if(new_fd == -1)
1482 c_hdl->ssl = incoming_ssl_fd(c->ssl, new_fd);
1484 c_hdl->fd = new_fd;
1502 setup_tcp_handler(c_hdl, new_fd, c->cur_tcp_count, c->max_tcp_count);