diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2006-10-11 10:38:59 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2006-10-11 10:38:59 +0000 |
commit | 494e873eb07eb366f9dcac28ef6dc8ea9315369f (patch) | |
tree | 59d9a2ee47921895b00d61b759af4ae6013a5973 /epan/dissectors/packet-fc.h | |
parent | 72817cf7bdd0319b4007a45109b89f4ac1f7cf81 (diff) | |
download | wireshark-494e873eb07eb366f9dcac28ef6dc8ea9315369f.tar.gz wireshark-494e873eb07eb366f9dcac28ef6dc8ea9315369f.tar.bz2 wireshark-494e873eb07eb366f9dcac28ef6dc8ea9315369f.zip |
move the ITL and the ITLQ structure to packet-scsi.h where it belongs
svn path=/trunk/; revision=19492
Diffstat (limited to 'epan/dissectors/packet-fc.h')
-rw-r--r-- | epan/dissectors/packet-fc.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/epan/dissectors/packet-fc.h b/epan/dissectors/packet-fc.h index dbd19f3070..67e79eba04 100644 --- a/epan/dissectors/packet-fc.h +++ b/epan/dissectors/packet-fc.h @@ -125,51 +125,6 @@ WS_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 { -#define SCSI_CMDSET_DEFAULT 0x80 -#define SCSI_CMDSET_MASK 0x7f - guint8 cmdset; /* This is a bitfield. - * The MSB (0x80) represents whether - * 0: the commandset is known from a INQ PDU - * 1: is using the "default" from preferences. - * The lower 7 bits represent the commandset used - * for decoding commands on this itl nexus. - * The field is 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. - */ -typedef struct _itlq_nexus_t { - guint32 first_exchange_frame; - guint32 last_exchange_frame; - guint16 lun; /* initialized to 0xffff == unknown */ - guint16 scsi_opcode; /* initialized to 0xffff == unknown */ - guint16 flags; - guint32 alloc_len; /* we need to track alloc_len between the CDB and - * the DATA pdus for some opcodes. - */ - nstime_t fc_time; - void *extra_data; /* extra data that that is task specific */ -} itlq_nexus_t; - - -#define SCSI_PDU_TYPE_CDB 1 -#define SCSI_PDU_TYPE_DATA 2 -#define SCSI_PDU_TYPE_RSP 4 -#define SCSI_PDU_TYPE_SNS 5 -typedef struct _scsi_task_data { - int type; - itlq_nexus_t *itlq; - itl_nexus_t *itl; -} scsi_task_data_t; - /* FC header structure */ |