aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-fc.h
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-04-21 11:08:24 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-04-21 11:08:24 +0000
commit60e65f48697444409cc1ef1fb03f53ef034b7ef0 (patch)
tree9b9982fd6ecf1923b319e5c7b4da98dc6c3372aa /epan/dissectors/packet-fc.h
parent73ded54b052d6a434a039a835b5f594116c3d9e7 (diff)
updates to get the fc and scsi dissectors
and get rid of some breakage in the design let the scsi transport keep track of itl (initiator, target, lun) matching and let it pass a itl structure to scsi that is persistent across packets. let scsi use this itl structure to track device type for a specific itl instead of the (must have been) broken hashtable. update both iscsi and fc to track the itl structure for scsi and schange the scsi signature to accept itl as a parameter. more to come. svn path=/trunk/; revision=17942
Diffstat (limited to 'epan/dissectors/packet-fc.h')
-rw-r--r--epan/dissectors/packet-fc.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/epan/dissectors/packet-fc.h b/epan/dissectors/packet-fc.h
index aff334ab45..cd69456958 100644
--- a/epan/dissectors/packet-fc.h
+++ b/epan/dissectors/packet-fc.h
@@ -125,11 +125,18 @@ ETH_VAR_IMPORT const value_string fc_fc4_val[];
#define FC_FCTL_ABTS_MASK 0x000030
#define FC_FCTL_REL_OFFSET 0x000008
+/* Structure containing itl nexus data :
+ * The itlq nexus is a structure containing data specific
+ * for a initiator target lun combination.
+ */
+typedef struct _itl_nexus_t {
+ guint8 cmdset; /* initialized to 0xff == unknown */
+} itl_nexus_t;
+
/* Structure containing itlq nexus data :
* The itlq nexus is a structure containing data specific
* for a initiator target lun queue/commandid combination.
*/
-/* XXX the LUN field will later be moved into an itl_nexusu_t structure */
typedef struct _itlq_nexus_t {
guint32 first_exchange_frame;
guint32 last_exchange_frame;
@@ -150,6 +157,7 @@ typedef struct _fc_hdr {
guint8 r_ctl;
guint8 cs_ctl;
itlq_nexus_t *itlq;
+ conversation_t *conversation;
} fc_hdr;
#endif /* __PACKET_FC_H_ */