summaryrefslogtreecommitdiffstats
path: root/sys/net/flowtable.h
diff options
context:
space:
mode:
authorzec <zec@FreeBSD.org>2009-06-22 21:19:24 +0000
committerzec <zec@FreeBSD.org>2009-06-22 21:19:24 +0000
commitf9dfbad808b360c76d6758d52b8cdd230ed209e1 (patch)
tree82b7de4346c9dc5cba59fc6c6598c708372a0dec /sys/net/flowtable.h
parent303ceb983fcbf7df5d24a0c5ed5819aa5a01049a (diff)
downloadFreeBSD-src-f9dfbad808b360c76d6758d52b8cdd230ed209e1.zip
FreeBSD-src-f9dfbad808b360c76d6758d52b8cdd230ed209e1.tar.gz
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)
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 d8858f2..26aa11d 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);
OpenPOWER on IntegriCloud