diff options
Diffstat (limited to 'sys/netipsec')
-rw-r--r-- | sys/netipsec/ipsec.c | 6 | ||||
-rw-r--r-- | sys/netipsec/vipsec.h | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/sys/netipsec/ipsec.c b/sys/netipsec/ipsec.c index 2fd83f0..541e42e 100644 --- a/sys/netipsec/ipsec.c +++ b/sys/netipsec/ipsec.c @@ -97,6 +97,12 @@ #include <opencrypto/cryptodev.h> +#ifndef VIMAGE +#ifndef VIMAGE_GLOBALS +struct vnet_ipsec vnet_ipsec_0; +#endif +#endif + #ifdef VIMAGE_GLOBALS /* NB: name changed so netstat doesn't use it */ struct ipsecstat ipsec4stat; diff --git a/sys/netipsec/vipsec.h b/sys/netipsec/vipsec.h index de97452..5b26c0e 100644 --- a/sys/netipsec/vipsec.h +++ b/sys/netipsec/vipsec.h @@ -109,6 +109,12 @@ struct vnet_ipsec { LIST_HEAD(, secspacq) _spacqtree; }; +#ifndef VIMAGE +#ifndef VIMAGE_GLOBALS +extern struct vnet_ipsec vnet_ipsec_0; +#endif +#endif + /* * Symbol translation macros */ |