summaryrefslogtreecommitdiffstats
path: root/sys/net/vnet.h
diff options
context:
space:
mode:
authorzec <zec@FreeBSD.org>2008-11-28 23:30:51 +0000
committerzec <zec@FreeBSD.org>2008-11-28 23:30:51 +0000
commit7ecd715d484a68ba07dae8dcb30670d691129c07 (patch)
treebb923196c85b9e71d363a7650c292edddfbc6beb /sys/net/vnet.h
parentd8aff71262b6224530a865344e20823189bd5cb1 (diff)
downloadFreeBSD-src-7ecd715d484a68ba07dae8dcb30670d691129c07.zip
FreeBSD-src-7ecd715d484a68ba07dae8dcb30670d691129c07.tar.gz
Unhide declarations of network stack virtualization structs from
underneath #ifdef VIMAGE blocks. This change introduces some churn in #include ordering and nesting throughout the network stack and drivers but is not expected to cause any additional issues. In the next step this will allow us to instantiate the virtualization container structures and switch from using global variables to their "containerized" counterparts. Reviewed by: bz, julian Approved by: julian (mentor) Obtained from: //depot/projects/vimage-commit2/... X-MFC after: never Sponsored by: NLnet Foundation, The FreeBSD Foundation
Diffstat (limited to 'sys/net/vnet.h')
-rw-r--r--sys/net/vnet.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/net/vnet.h b/sys/net/vnet.h
index f287bf9..531d714 100644
--- a/sys/net/vnet.h
+++ b/sys/net/vnet.h
@@ -33,9 +33,10 @@
#ifndef _NET_VNET_H_
#define _NET_VNET_H_
-#ifdef VIMAGE
#include "opt_route.h"
+#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/proc.h>
#include <sys/protosw.h>
#include <sys/socket.h>
@@ -66,8 +67,6 @@ struct vnet_net {
int _ether_ipfw;
};
-#endif
-
/*
* Symbol translation macros
*/
OpenPOWER on IntegriCloud