Searched refs:new_fd (Results 1 - 10 of 10) sorted by relevance
/freebsd-10-stable/usr.sbin/bluetooth/bthidd/ |
H A D | server.c | 226 int32_t new_fd; local 230 if ((new_fd = accept(fd, (struct sockaddr *) &l2addr, &len)) < 0) { 243 close(new_fd); 256 close(new_fd); 264 s->ctrl = new_fd; 268 s->intr = new_fd; 272 FD_SET(new_fd, &srv->rfdset); 273 if (new_fd > srv->maxfd) 274 srv->maxfd = new_fd;
|
/freebsd-10-stable/contrib/ofed/management/opensm/include/opensm/ |
H A D | osm_console_io.h | 85 int cio_open(osm_console_t * p_oct, int new_fd, osm_log_t * p_log);
|
/freebsd-10-stable/contrib/ofed/management/opensm/opensm/ |
H A D | osm_console_io.c | 218 int cio_open(osm_console_t * p_oct, int new_fd, osm_log_t * p_log) argument 226 FILE *file = fdopen(new_fd, "w+"); 239 close(new_fd); 243 p_oct->in_fd = new_fd;
|
H A D | osm_console.c | 1280 int new_fd = 0; local 1284 if ((new_fd = accept(p_oct->socket, &sin, &len)) < 0) { 1304 cio_open(p_oct, new_fd, p_log); 1309 close(new_fd);
|
/freebsd-10-stable/contrib/atf/atf-c/ |
H A D | utils.c | 397 const int new_fd = open(name, O_WRONLY | O_CREAT | O_TRUNC, 0644); local 398 if (new_fd == -1) 400 if (new_fd != target_fd) { 401 if (dup2(new_fd, target_fd) == -1) 404 close(new_fd);
|
/freebsd-10-stable/crypto/openssh/ |
H A D | mux.c | 313 int new_fd[3]; local 375 if ((new_fd[i] = mm_receive_fd(c->sock)) == -1) { 379 close(new_fd[j]); 397 new_fd[0], new_fd[1], new_fd[2]); 407 close(new_fd[0]); 408 close(new_fd[1]); 409 close(new_fd[2]); 434 if (cctx->want_tty && tcgetattr(new_fd[ 946 int new_fd[2]; local [all...] |
/freebsd-10-stable/contrib/libarchive/libarchive/ |
H A D | archive_read_disk_posix.c | 2068 int new_fd; local 2073 new_fd = fcntl(fd, F_DUPFD_CLOEXEC, 0); 2074 if (new_fd != -1) 2075 return (new_fd); 2082 new_fd = dup(fd); 2083 __archive_ensure_cloexec_flag(new_fd); 2084 return (new_fd); 2215 int flag, new_fd, r = 0; local 2222 new_fd = open_on_current_dir(t, t->stack->name.s, flag); 2223 __archive_ensure_cloexec_flag(new_fd); 2251 int new_fd, r = 0, prev_dir_fd; local [all...] |
/freebsd-10-stable/contrib/ntp/sntp/libevent/ |
H A D | listener.c | 399 evutil_socket_t new_fd = evutil_accept4_(fd, (struct sockaddr*)&ss, &socklen, lev->accept4_flags); local 400 if (new_fd < 0) 405 evutil_closesocket(new_fd); 410 evutil_closesocket(new_fd); 418 cb(lev, new_fd, (struct sockaddr*)&ss, (int)socklen, 425 evutil_closesocket(new_fd);
|
/freebsd-10-stable/contrib/unbound/util/ |
H A D | netevent.c | 747 int new_fd; local 749 new_fd = accept(c->fd, (struct sockaddr*)addr, addrlen); 750 if(new_fd == -1) { 811 fd_set_nonblock(new_fd); 812 return new_fd; 857 int new_fd; local 872 new_fd = comm_point_perform_accept(c, &c_hdl->repinfo.addr, 874 if(new_fd == -1) 877 c_hdl->ssl = incoming_ssl_fd(c->ssl, new_fd); 879 c_hdl->fd = new_fd; [all...] |
/freebsd-10-stable/contrib/ntp/lib/isc/win32/ |
H A D | socket.c | 2380 SOCKET new_fd; local 2388 new_fd = socket(parent->pf, SOCK_STREAM, IPPROTO_TCP); 2393 nsock->fd = new_fd;
|
Completed in 192 milliseconds