Lines Matching refs:maxsocks
3306 unsigned int maxsocks;
3395 result = isc_socketmgr_getmaxsockets(ns_g_socketmgr, &maxsocks);
3397 maxsocks = 0;
3399 if (result == ISC_R_SUCCESS && (isc_resourcevalue_t)maxsocks > nfiles) {
3404 nfiles, maxsocks);
3414 if (maxsocks != 0) {
3415 if (maxsocks < 128U) /* Prevent underflow. */
3417 else if (reserved > maxsocks - 128U) /* Minimum UDP space. */
3418 reserved = maxsocks - 128;
3423 if (reserved + 128U > maxsocks && maxsocks != 0) {