pass the relative data offset of data in/out pdu's to the scsi data in/out dissector...
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 13 Oct 2006 09:16:45 +0000 (09:16 +0000)
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 13 Oct 2006 09:16:45 +0000 (09:16 +0000)
commit8710eb7d7f7caac3002ced09eda61964ff85e9dc
tree14e337c2027f01206afa0731e0dcc35c0eca0cc9
parent77bb543a3294b6bc69a308de623892aec55a227b
pass the relative data offset of data in/out pdu's to the scsi data in/out dissector (dissect_scsi_payload) so that we can later add reassembly of data pdu's
and also (if reassembly is disabled) only dissect the initial (offset==0) data pdu.

dissect_scsi_payload() does not yet use this parameter.

now that we have both data offset and expected data length/bidir expected data length and also the read/write flags availabe we have what we need to reassemble data in/out pdus    (modulo overflow/underflow  but those are so rare we can worry about them later).

ndmp:   ndmp conceptually always has a data in and a data out phase and never fragment the data into smaller pdu's os that dissector always report offset as 0.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19511 f5534014-38df-0310-8fa8-9805f1628bb7
epan/dissectors/packet-fcp.c
epan/dissectors/packet-iscsi.c
epan/dissectors/packet-ndmp.c
epan/dissectors/packet-scsi.c
epan/dissectors/packet-scsi.h