Searched refs:newmaxsockets (Results 1 – 1 of 1) sorted by relevance
802 int error, newmaxsockets; in sysctl_maxsockets() local804 newmaxsockets = maxsockets; in sysctl_maxsockets()805 error = sysctl_handle_int(oidp, &newmaxsockets, 0, req); in sysctl_maxsockets()806 if (error == 0 && req->newptr && newmaxsockets != maxsockets) { in sysctl_maxsockets()807 if (newmaxsockets > maxsockets && in sysctl_maxsockets()808 newmaxsockets <= maxfiles) { in sysctl_maxsockets()809 maxsockets = newmaxsockets; in sysctl_maxsockets()