| version 1.242.2.2, 2007/03/12 05:59:37 |
version 1.242.2.3, 2007/03/24 14:56:10 |
|
|
| |
|
| #define IPQ_UNLOCK() ipq_unlock() |
#define IPQ_UNLOCK() ipq_unlock() |
| |
|
| POOL_INIT(inmulti_pool, sizeof(struct in_multi), 0, 0, 0, "inmltpl", NULL); |
POOL_INIT(inmulti_pool, sizeof(struct in_multi), 0, 0, 0, "inmltpl", NULL, |
| POOL_INIT(ipqent_pool, sizeof(struct ipqent), 0, 0, 0, "ipqepl", NULL); |
IPL_SOFTNET); |
| |
POOL_INIT(ipqent_pool, sizeof(struct ipqent), 0, 0, 0, "ipqepl", NULL, |
| |
IPL_VM); |
| |
|
| #ifdef INET_CSUM_COUNTERS |
#ifdef INET_CSUM_COUNTERS |
| #include <sys/device.h> |
#include <sys/device.h> |
| Line 2158 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 2167 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(); |