aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph/netgraph.h
diff options
context:
space:
mode:
authorMarko Zec <zec@FreeBSD.org>2008-12-10 23:12:39 +0000
committerMarko Zec <zec@FreeBSD.org>2008-12-10 23:12:39 +0000
commit385195c062ad27bfd78b9f9592a8bbcb9419acfb (patch)
tree69ada7d351f2f4e8f7205f24e4f8473aad40573d /sys/netgraph/netgraph.h
parent629386598e36c072f900e8e88c9d3d5acf61dacc (diff)
Notes
Diffstat (limited to 'sys/netgraph/netgraph.h')
-rw-r--r--sys/netgraph/netgraph.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/netgraph/netgraph.h b/sys/netgraph/netgraph.h
index 0def6414c5b6..4072f76e884d 100644
--- a/sys/netgraph/netgraph.h
+++ b/sys/netgraph/netgraph.h
@@ -1205,6 +1205,12 @@ struct vnet_netgraph {
struct unrhdr *_ng_wormhole_unit;
};
+#ifndef VIMAGE
+#ifndef VIMAGE_GLOBALS
+extern struct vnet_netgraph vnet_netgraph_0;
+#endif
+#endif
+
/* Symbol translation macros */
#define V_nextID VNET_NETGRAPH(nextID)
#define V_ng_ID_hash VNET_NETGRAPH(ng_ID_hash)