diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-08-13 21:22:39 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-08-13 21:22:39 +0000 |
commit | 9e2f6b402f2598368f2f7912d12d356fb516a9aa (patch) | |
tree | 0ff5737ea38702098c1ae7a064c6900449e12b0b | |
parent | b83e46553695c561da1d069078e51075a395a217 (diff) |
More changes to make the parsing of those evil messages a bit easier.
-rw-r--r-- | sys/scsi/iscsi.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sys/scsi/iscsi.h b/sys/scsi/iscsi.h index 79e326b0006..83c446a13a1 100644 --- a/sys/scsi/iscsi.h +++ b/sys/scsi/iscsi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: iscsi.h,v 1.3 2009/08/13 20:28:29 claudio Exp $ */ +/* $OpenBSD: iscsi.h,v 1.4 2009/08/13 21:22:38 claudio Exp $ */ /* * Copyright (c) 2008 David Gwynne <dlg@openbsd.org> @@ -331,8 +331,9 @@ struct iscsi_pdu_login_request { u_int8_t ahslen; u_int8_t datalen[3]; - u_int8_t isid[6]; - u_int8_t tsih[2]; + u_int32_t isid_base; + u_int16_t isid_qual; + u_int16_t tsih; u_int32_t itt; @@ -363,8 +364,9 @@ struct iscsi_pdu_login_response { u_int8_t ahslen; u_int8_t datalen[3]; - u_int8_t isid[6]; - u_int8_t tsih[2]; + u_int32_t isid_base; + u_int16_t isid_qual; + u_int16_t tsih; u_int32_t itt; |