| version 1.246, 2007/03/12 18:18:36 |
version 1.247, 2007/03/24 00:27:58 |
| Line 2160 sysctl_net_inet_ip_pmtudto(SYSCTLFN_ARGS |
|
| Line 2160 sysctl_net_inet_ip_pmtudto(SYSCTLFN_ARGS |
|
| |
|
| #ifdef GATEWAY |
#ifdef GATEWAY |
| /* |
/* |
| * sysctl helper routine for net.inet.ip.maxflows. apparently if |
* sysctl helper routine for net.inet.ip.maxflows. |
| * maxflows is even looked up, we "reap flows". |
|
| */ |
*/ |
| static int |
static int |
| sysctl_net_inet_ip_maxflows(SYSCTLFN_ARGS) |
sysctl_net_inet_ip_maxflows(SYSCTLFN_ARGS) |
| Line 2169 sysctl_net_inet_ip_maxflows(SYSCTLFN_ARG |
|
| Line 2168 sysctl_net_inet_ip_maxflows(SYSCTLFN_ARG |
|
| int s; |
int s; |
| |
|
| s = sysctl_lookup(SYSCTLFN_CALL(rnode)); |
s = sysctl_lookup(SYSCTLFN_CALL(rnode)); |
| if (s) |
if (s || newp == NULL) |
| return (s); |
return (s); |
| |
|
| s = splsoftnet(); |
s = splsoftnet(); |