summaryrefslogtreecommitdiffstats
path: root/sys/netinet/in_pcb.h
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2002-03-20 05:48:55 +0000
committerjeff <jeff@FreeBSD.org>2002-03-20 05:48:55 +0000
commit0a59f1223c856d6130a3ef3b5c5f27b2a6a2296f (patch)
tree98de9110564f1f77eb5a36056b5243f528e87004 /sys/netinet/in_pcb.h
parentdcd2af765542f95ecc4d1a0842c71e1e84733af8 (diff)
downloadFreeBSD-src-0a59f1223c856d6130a3ef3b5c5f27b2a6a2296f.zip
FreeBSD-src-0a59f1223c856d6130a3ef3b5c5f27b2a6a2296f.tar.gz
Switch vm_zone.h with uma.h. Change over to uma interfaces.
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 92a9a22..36aaa07 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 */
};
OpenPOWER on IntegriCloud