diff options
| author | Jeff Roberson <jeff@FreeBSD.org> | 2002-03-19 09:11:49 +0000 |
|---|---|---|
| committer | Jeff Roberson <jeff@FreeBSD.org> | 2002-03-19 09:11:49 +0000 |
| commit | 8355f576a9f4134b657e43879516395f16daa371 (patch) | |
| tree | 9added529dcba41e3e9f6e15e334a8a06d6cb0f2 /sys/netinet | |
| parent | 2294143a5d17bd1e417035e09760acb1278283d2 (diff) | |
Notes
Diffstat (limited to 'sys/netinet')
| -rw-r--r-- | sys/netinet/in_pcb.h | 3 | ||||
| -rw-r--r-- | sys/netinet/tcp_syncache.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sys/netinet/in_pcb.h b/sys/netinet/in_pcb.h index 00392b009ce2..187c6777dfda 100644 --- a/sys/netinet/in_pcb.h +++ b/sys/netinet/in_pcb.h @@ -41,6 +41,7 @@ #include <net/route.h> #include <netinet6/ipsec.h> /* for IPSEC */ +#include <vm/vm_zone.h> #define in6pcb inpcb /* for KAME src sync over BSD*'s */ #define in6p_sp inp_sp /* for KAME src sync over BSD*'s */ @@ -241,7 +242,7 @@ struct inpcbinfo { /* XXX documentation, prefixes */ u_short lastport; u_short lastlow; u_short lasthi; - struct vm_zone *ipi_zone; /* zone to allocate pcbs from */ + vm_zone_t ipi_zone; /* zone to allocate pcbs from */ u_int ipi_count; /* number of pcbs in this list */ u_quad_t ipi_gencnt; /* current generation count */ }; diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c index 9ec08041221b..3459fa13803d 100644 --- a/sys/netinet/tcp_syncache.c +++ b/sys/netinet/tcp_syncache.c @@ -114,7 +114,7 @@ static struct syncache *syncookie_lookup(struct in_conninfo *, struct tcp_syncache { struct syncache_head *hashbase; - struct vm_zone *zone; + vm_zone_t zone; u_int hashsize; u_int hashmask; u_int bucket_limit; |
