diff options
author | Jordan Hargrave <jordan@cvs.openbsd.org> | 2010-07-10 22:24:15 +0000 |
---|---|---|
committer | Jordan Hargrave <jordan@cvs.openbsd.org> | 2010-07-10 22:24:15 +0000 |
commit | b9d1ec671e6fe041c6ab98bd9c725df1991f92b1 (patch) | |
tree | 34542a8f7aa6cc185dc2f539966ee5b13b0ff78d | |
parent | 70b71e93e57273957157668e8fbf73ffe57502e7 (diff) |
Fixup structures to be correct size
ok claudio@
-rw-r--r-- | sys/scsi/iscsi.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/sys/scsi/iscsi.h b/sys/scsi/iscsi.h index 9959edb3d11..70a577963ed 100644 --- a/sys/scsi/iscsi.h +++ b/sys/scsi/iscsi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: iscsi.h,v 1.6 2009/08/27 14:12:27 claudio Exp $ */ +/* $OpenBSD: iscsi.h,v 1.7 2010/07/10 22:24:14 jordan Exp $ */ /* * Copyright (c) 2008 David Gwynne <dlg@openbsd.org> @@ -124,6 +124,10 @@ struct iscsi_pdu_scsi_response { u_int32_t maxcmdsn; u_int32_t expdatasn; + + u_int32_t birescount; + + u_int32_t rescount; } __packed; #define ISCSI_SCSI_F_F 0x80 @@ -174,6 +178,10 @@ struct iscsi_pdu_task_response { u_int8_t ahslen; u_int8_t datalen[3]; + u_int8_t _reserved[8]; + + u_int32_t itt; + u_int8_t _reserved2[4]; u_int32_t statsn; @@ -283,13 +291,13 @@ struct iscsi_pdu_async { u_int32_t statsn; - u_int32_t expstatsn; + u_int32_t expcmdsn; - u_int32_t maxstatsn; + u_int32_t maxcmdsn; u_int8_t event; u_int8_t vcode; - u_int32_t param[3]; + u_int16_t param[3]; u_int8_t _reserved3[4]; } __packed; |