summaryrefslogtreecommitdiffstats
path: root/sys/dev/ubsec
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2003-02-07 21:44:52 +0000
committersam <sam@FreeBSD.org>2003-02-07 21:44:52 +0000
commitfdc99ad92b6c0e69d3deef801faf7fdd8a443013 (patch)
tree14721938b288db5ef17f07219b2987fc000c501a /sys/dev/ubsec
parent7a3625aca38fd2129c5c5e0f53eec153b1912356 (diff)
downloadFreeBSD-src-fdc99ad92b6c0e69d3deef801faf7fdd8a443013.zip
FreeBSD-src-fdc99ad92b6c0e69d3deef801faf7fdd8a443013.tar.gz
shield kernel data structures so user apps can include this file
Diffstat (limited to 'sys/dev/ubsec')
-rw-r--r--sys/dev/ubsec/ubsecvar.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/ubsec/ubsecvar.h b/sys/dev/ubsec/ubsecvar.h
index a11a558..588dec9 100644
--- a/sys/dev/ubsec/ubsecvar.h
+++ b/sys/dev/ubsec/ubsecvar.h
@@ -53,6 +53,8 @@
#define UBS_DEF_TOUT 0xff /* PCI TRDY Timeout */
#define UBS_DEF_CACHELINE 0x01 /* Cache Line setting */
+#ifdef _KERNEL
+
struct ubsec_dma_alloc {
u_int32_t dma_paddr;
caddr_t dma_vaddr;
@@ -216,6 +218,7 @@ struct ubsec_session {
u_int32_t ses_hmouter[5]; /* hmac outer state */
u_int32_t ses_iv[2]; /* [3]DES iv */
};
+#endif /* _KERNEL */
struct ubsec_stats {
u_int64_t hst_ibytes;
OpenPOWER on IntegriCloud