diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2006-10-11 11:32:56 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2006-10-11 11:32:56 +0000 |
commit | 145d7a0577c0a4c292a75e90e5512d22a412ec53 (patch) | |
tree | 9c924e5bed1ebefb7904948da28fdc9747332c61 /epan/dissectors/packet-fc.c | |
parent | 494e873eb07eb366f9dcac28ef6dc8ea9315369f (diff) | |
download | wireshark-145d7a0577c0a4c292a75e90e5512d22a412ec53.tar.gz wireshark-145d7a0577c0a4c292a75e90e5512d22a412ec53.tar.bz2 wireshark-145d7a0577c0a4c292a75e90e5512d22a412ec53.zip |
add a task_flags bitmap and two lengths (data and bidirectional data)
so that the two scsi transports FCP and ISCSI can provide the expected data transfer lengths to SCSI to allow SCSI reassembly.
NDMP does not really need these hints since for NDMP (and also iscsi-lite) there is conceptually always both data in and data out phases and there is never any fragmentation.
svn path=/trunk/; revision=19493
Diffstat (limited to 'epan/dissectors/packet-fc.c')
-rw-r--r-- | epan/dissectors/packet-fc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-fc.c b/epan/dissectors/packet-fc.c index 72503b818c..c5e23685e1 100644 --- a/epan/dissectors/packet-fc.c +++ b/epan/dissectors/packet-fc.c @@ -677,6 +677,9 @@ dissect_fc_helper (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gboolean fc_ex->last_exchange_frame=0; fc_ex->lun=0xffff; fc_ex->scsi_opcode=0xffff; + fc_ex->task_flags=0; + fc_ex->data_length=0; + fc_ex->bidir_data_length=0; fc_ex->fc_time=pinfo->fd->abs_ts; fc_ex->flags=0; fc_ex->alloc_len=0; |