aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/in_pcb.h
diff options
context:
space:
mode:
authorJeff Roberson <jeff@FreeBSD.org>2002-03-20 05:48:55 +0000
committerJeff Roberson <jeff@FreeBSD.org>2002-03-20 05:48:55 +0000
commit69c2d429c13b29b1cb66d1990d969d1314f5960f (patch)
tree98de9110564f1f77eb5a36056b5243f528e87004 /sys/netinet/in_pcb.h
parent586c8b6b29fed9a5e82b424be7c2f7249e0d69e0 (diff)
downloadsrc-69c2d429c13b29b1cb66d1990d969d1314f5960f.tar.gz
src-69c2d429c13b29b1cb66d1990d969d1314f5960f.zip
Switch vm_zone.h with uma.h. Change over to uma interfaces.
Notes
Notes: svn path=/head/; revision=92760
Diffstat (limited to 'sys/netinet/in_pcb.h')
-rw-r--r--sys/netinet/in_pcb.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/sys/netinet/in_pcb.h b/sys/netinet/in_pcb.h
index 92a9a2210f91..36aaa079df9f 100644
--- a/sys/netinet/in_pcb.h
+++ b/sys/netinet/in_pcb.h
@@ -41,7 +41,7 @@
#include <net/route.h>
#include <netinet6/ipsec.h> /* for IPSEC */
-#include <vm/vm_zone.h>
+#include <vm/uma.h>
#define in6pcb inpcb /* for KAME src sync over BSD*'s */
#define in6p_sp inp_sp /* for KAME src sync over BSD*'s */
@@ -119,12 +119,6 @@ struct in_conninfo {
#define inc6_laddr inc_ie.ie6_laddr
#define inc6_route inc_dependroute.inc6_route
-/*
- * NB: the zone allocator is type-stable EXCEPT FOR THE FIRST TWO LONGS
- * of the structure. Therefore, it is important that the members in
- * that position not contain any information which is required to be
- * stable.
- */
struct icmp6_filter;
struct inpcb {
@@ -242,7 +236,7 @@ struct inpcbinfo { /* XXX documentation, prefixes */
u_short lastport;
u_short lastlow;
u_short lasthi;
- vm_zone_t ipi_zone; /* zone to allocate pcbs from */
+ uma_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 */
};