aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-fc.h
diff options
context:
space:
mode:
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2006-04-06 08:33:08 +0000
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2006-04-06 08:33:08 +0000
commit8d1d518ac403bbc96f05eb803cad26b75093609b (patch)
treeb2e56bc35e59faea8d9533909276cb326d8c81ec /epan/dissectors/packet-fc.h
parentd81d1aef5c2916fcd94c5f7b5b357823c262408b (diff)
add a field for storing the scsi opcode in the exchange struct.
it is silly that scsi has to track these things itself when all the transports already keep track of exchanges. the scsi transports should all use the fc_exchange_data structure to pass lun to scsi and where scsi kan store the opcode between requests and data/response packets git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17829 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-fc.h')
-rw-r--r--epan/dissectors/packet-fc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-fc.h b/epan/dissectors/packet-fc.h
index 91005c51db..c8a820250b 100644
--- a/epan/dissectors/packet-fc.h
+++ b/epan/dissectors/packet-fc.h
@@ -131,7 +131,8 @@ ETH_VAR_IMPORT const value_string fc_fc4_val[];
typedef struct _fc_exchange_data {
guint32 first_exchange_frame;
guint32 last_exchange_frame;
- guint16 lun; /* used by FCP, initialized to 0xffff == unknown */
+ guint16 lun; /* initialized to 0xffff == unknown */
+ guint16 scsi_opcode; /* initialized to 0xffff == unknown */
nstime_t fc_time;
} fc_exchange_data;