Searched refs:socket_boundary (Results 1 - 1 of 1) sorted by relevance

/freebsd-12-stable/contrib/ntp/libntp/
H A Dsocket.c78 static SOCKET socket_boundary = -1; local
87 if (socket_boundary == -1) {
88 socket_boundary = max(0, min(GETDTABLESIZE() - FD_CHUNK,
92 GETDTABLESIZE(), socket_boundary));
97 * socket_boundary lower until allocation succeeds.
100 if (fd >= 0 && fd < socket_boundary) {
102 newfd = fcntl(fd, F_DUPFD, socket_boundary);
113 socket_boundary = max(0, socket_boundary - FD_CHUNK);
115 socket_boundary));
[all...]

Completed in 93 milliseconds