summaryrefslogtreecommitdiff
path: root/sys/net/flowtable.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/flowtable.h')
-rw-r--r--sys/net/flowtable.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/net/flowtable.h b/sys/net/flowtable.h
index 26aa11d256b2..13fdfdbe2c1f 100644
--- a/sys/net/flowtable.h
+++ b/sys/net/flowtable.h
@@ -38,9 +38,8 @@ $FreeBSD$
#define FL_PCPU (1<<1) /* pcpu cache */
struct flowtable;
-#ifdef VIMAGE_GLOBALS
-extern struct flowtable *ip_ft;
-#endif
+VNET_DECLARE(struct flowtable *, ip_ft);
+#define V_ip_ft VNET_GET(ip_ft)
struct flowtable *flowtable_alloc(int nentry, int flags);