Searched refs:newmaxsockets (Results 1 – 1 of 1) sorted by relevance
760 int error, newmaxsockets; in sysctl_maxsockets() local762 newmaxsockets = maxsockets; in sysctl_maxsockets()763 error = sysctl_handle_int(oidp, &newmaxsockets, 0, req); in sysctl_maxsockets()764 if (error == 0 && req->newptr && newmaxsockets != maxsockets) { in sysctl_maxsockets()765 if (newmaxsockets > maxsockets && in sysctl_maxsockets()766 newmaxsockets <= maxfiles) { in sysctl_maxsockets()767 maxsockets = newmaxsockets; in sysctl_maxsockets()