Searched refs:newmaxsockets (Results 1 – 1 of 1) sorted by relevance
748 int error, newmaxsockets; in sysctl_maxsockets() local750 newmaxsockets = maxsockets; in sysctl_maxsockets()751 error = sysctl_handle_int(oidp, &newmaxsockets, 0, req); in sysctl_maxsockets()752 if (error == 0 && req->newptr && newmaxsockets != maxsockets) { in sysctl_maxsockets()753 if (newmaxsockets > maxsockets && in sysctl_maxsockets()754 newmaxsockets <= maxfiles) { in sysctl_maxsockets()755 maxsockets = newmaxsockets; in sysctl_maxsockets()