Wireshark-commits: [Wireshark-commits] rev 19511: /trunk/epan/dissectors/ /trunk/epan/dissectors/:

Date: Fri, 13 Oct 2006 09:16:47 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=19511

User: sahlberg
Date: 2006/10/13 09:16 AM

Log:
 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.

Directory: /trunk/epan/dissectors/
  Changes    Path              Action
  +1 -1      packet-fcp.c      Modified
  +9 -2      packet-iscsi.c    Modified
  +3 -1      packet-ndmp.c     Modified
  +4 -2      packet-scsi.c     Modified
  +2 -1      packet-scsi.h     Modified