summaryrefslogtreecommitdiff
path: root/sys/dev/pci/hifn7751var.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-02-21 00:05:16 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-02-21 00:05:16 +0000
commit0714901d0a6f95da7b79f015e05fb6536678985f (patch)
treebcdc0107e836ace3d8664bc652a39a0363cffa1f /sys/dev/pci/hifn7751var.h
parent3816fe98406dbbc16c848ee4fc7d24ac802f1229 (diff)
use src/dst descriptor chaining out of an mbuf
Diffstat (limited to 'sys/dev/pci/hifn7751var.h')
-rw-r--r--sys/dev/pci/hifn7751var.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/sys/dev/pci/hifn7751var.h b/sys/dev/pci/hifn7751var.h
index 0ee8dbf8c2d..1cf840057d9 100644
--- a/sys/dev/pci/hifn7751var.h
+++ b/sys/dev/pci/hifn7751var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hifn7751var.h,v 1.1 1999/02/19 02:52:20 deraadt Exp $ */
+/* $OpenBSD: hifn7751var.h,v 1.2 1999/02/21 00:05:15 deraadt Exp $ */
/*
* Invertex AEON driver
@@ -191,21 +191,19 @@
* can be used by the callback routine if desired.
*/
typedef struct aeon_command {
- u_int flags;
+ u_int flags;
volatile u_int result_status;
- u_short session_num;
+ u_short session_num;
/*
* You should be able to convert any of these arrays into pointers
* (if desired) without modifying code in aeon.c.
*/
- u_char initial_vector[AEON_IV_LENGTH];
- u_char crypt_key[AEON_MAX_CRYPT_KEY_LENGTH];
- u_char mac_key[AEON_MAC_KEY_LENGTH];
+ u_char *iv, *ck, *mac;
+ int iv_len, ck_len, mac_len;
- void *source_buf;
- void *dest_buf;
+ struct mbuf *m;
u_short mac_header_skip;
u_short crypt_header_skip;