aboutsummaryrefslogtreecommitdiff
path: root/sys/net/flowtable.h
diff options
context:
space:
mode:
authorMarko Zec <zec@FreeBSD.org>2009-06-22 21:19:24 +0000
committerMarko Zec <zec@FreeBSD.org>2009-06-22 21:19:24 +0000
commitfa057b15bd851a55aae050691aa1c88198799ebf (patch)
tree82b7de4346c9dc5cba59fc6c6598c708372a0dec /sys/net/flowtable.h
parent599ce1c3babd8f542d34e29885f12017d4cf5901 (diff)
V_irtualize flowtable state.
This change should make options VIMAGE kernel builds usable again, to some extent at least. Note that the size of struct vnet_inet has changed, though in accordance with one-bump-per-day policy we didn't update the __FreeBSD_version number, given that it has already been touched by r194640 a few hours ago. Reviewed by: bz Approved by: julian (mentor)
Notes
Notes: svn path=/head/; revision=194660
Diffstat (limited to 'sys/net/flowtable.h')
-rw-r--r--sys/net/flowtable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/flowtable.h b/sys/net/flowtable.h
index d8858f2c4836..26aa11d256b2 100644
--- a/sys/net/flowtable.h
+++ b/sys/net/flowtable.h
@@ -38,7 +38,9 @@ $FreeBSD$
#define FL_PCPU (1<<1) /* pcpu cache */
struct flowtable;
+#ifdef VIMAGE_GLOBALS
extern struct flowtable *ip_ft;
+#endif
struct flowtable *flowtable_alloc(int nentry, int flags);