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