Lines Matching defs:maxsocks
7307 unsigned int maxsocks;
7449 result = isc_socketmgr_getmaxsockets(ns_g_socketmgr, &maxsocks);
7451 maxsocks = 0;
7454 if (result == ISC_R_SUCCESS && (isc_resourcevalue_t)maxsocks > nfiles) {
7459 nfiles, maxsocks);
7469 if (maxsocks != 0) {
7470 if (maxsocks < 128U) { /* Prevent underflow. */
7472 } else if (reserved > maxsocks - 128U) { /* Minimum UDP space. */
7473 reserved = maxsocks - 128;
7480 if (reserved + 128U > maxsocks && maxsocks != 0) {