diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-08-14 10:40:17 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-08-14 10:40:17 +0000 |
commit | 3391593816e80bceea59ad2d7ec2ca5992bbe3a7 (patch) | |
tree | 864fafdf8fe7911ea5399e9727838d2e7c3793f8 /sys | |
parent | 05096bbe4ce5b23223710b0ece518f0cbf66559b (diff) |
Another change to make my life easier when parsing pdus.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/scsi/iscsi.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/scsi/iscsi.h b/sys/scsi/iscsi.h index 83c446a13a1..f00c0824b68 100644 --- a/sys/scsi/iscsi.h +++ b/sys/scsi/iscsi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: iscsi.h,v 1.4 2009/08/13 21:22:38 claudio Exp $ */ +/* $OpenBSD: iscsi.h,v 1.5 2009/08/14 10:40:16 claudio Exp $ */ /* * Copyright (c) 2008 David Gwynne <dlg@openbsd.org> @@ -35,7 +35,9 @@ struct iscsi_pdu { u_int32_t cmdsn; - u_int8_t _reserved3[20]; + u_int32_t expstatsn; + + u_int8_t _reserved3[16]; } __packed; /* @@ -322,6 +324,9 @@ struct iscsi_pdu_text_response { u_int8_t _reserved2[12]; } __packed; +#define ISCSI_TEXT_F_F 0x80 +#define ISCSI_TEXT_F_C 0x40 + struct iscsi_pdu_login_request { u_int8_t opcode; u_int8_t flags; |