| version 1.268.2.4, 2009/08/19 18:48:24 |
version 1.268.2.5, 2010/03/11 15:04:28 |
| Line 383 struct mowner ip_rx_mowner = MOWNER_INIT |
|
| Line 383 struct mowner ip_rx_mowner = MOWNER_INIT |
|
| struct mowner ip_tx_mowner = MOWNER_INIT("internet", "tx"); |
struct mowner ip_tx_mowner = MOWNER_INIT("internet", "tx"); |
| #endif |
#endif |
| |
|
| |
static void sysctl_net_inet_ip_setup(struct sysctllog **); |
| |
|
| /* |
/* |
| * Compute IP limits derived from the value of nmbclusters. |
* Compute IP limits derived from the value of nmbclusters. |
| */ |
*/ |
|
|
| const struct protosw *pr; |
const struct protosw *pr; |
| int i; |
int i; |
| |
|
| |
sysctl_net_inet_ip_setup(NULL); |
| |
|
| pool_init(&inmulti_pool, sizeof(struct in_multi), 0, 0, 0, "inmltpl", |
pool_init(&inmulti_pool, sizeof(struct in_multi), 0, 0, 0, "inmltpl", |
| NULL, IPL_SOFTNET); |
NULL, IPL_SOFTNET); |
| pool_init(&ipqent_pool, sizeof(struct ipqent), 0, 0, 0, "ipqepl", |
pool_init(&ipqent_pool, sizeof(struct ipqent), 0, 0, 0, "ipqepl", |
| Line 2248 sysctl_net_inet_ip_stats(SYSCTLFN_ARGS) |
|
| Line 2252 sysctl_net_inet_ip_stats(SYSCTLFN_ARGS) |
|
| return (NETSTAT_SYSCTL(ipstat_percpu, IP_NSTATS)); |
return (NETSTAT_SYSCTL(ipstat_percpu, IP_NSTATS)); |
| } |
} |
| |
|
| SYSCTL_SETUP(sysctl_net_inet_ip_setup, "sysctl net.inet.ip subtree setup") |
static void |
| |
sysctl_net_inet_ip_setup(struct sysctllog **clog) |
| { |
{ |
| extern int subnetsarelocal, hostzeroisbroadcast; |
extern int subnetsarelocal, hostzeroisbroadcast; |
| |
|