summaryrefslogtreecommitdiffstats
path: root/sys/net/vnet.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/vnet.h')
-rw-r--r--sys/net/vnet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/net/vnet.h b/sys/net/vnet.h
index b021608..9354610 100644
--- a/sys/net/vnet.h
+++ b/sys/net/vnet.h
@@ -56,6 +56,9 @@ struct vnet_net {
int _ether_ipfw;
};
+/* Size guard. See sys/vimage.h. */
+VIMAGE_CTASSERT(SIZEOF_vnet_net, sizeof(struct vnet_net));
+
#ifndef VIMAGE
#ifndef VIMAGE_GLOBALS
extern struct vnet_net vnet_net_0;
OpenPOWER on IntegriCloud