Commit Graph

54 Commits

Author SHA1 Message Date
Michael Mann fa5b45834b Remove check_col() and the occasional tree.
svn path=/trunk/; revision=49921
2013-06-14 01:56:28 +00:00
Ronnie Sahlberg edd38556aa SCSI: Add dissection of the data-out buffer for SANITIZE service action OVERWRITE
svn path=/trunk/; revision=49589
2013-05-26 18:38:56 +00:00
Ronnie Sahlberg 2ab2ad7a42 SCSI: Add basic decoding of SANITIZE opcode
svn path=/trunk/; revision=49582
2013-05-25 22:47:10 +00:00
Ronnie Sahlberg 783cf2eff2 SCSI: Add dissection of REPORT SUPPORTED OPCODES
svn path=/trunk/; revision=49408
2013-05-18 16:26:26 +00:00
Martin Kaiser 642478b43a fix dead assignment
http://www.wireshark.org/download/automated/analysis/scan-build-2013-02-20-2/report-OsH7hZ.html#EndPath

svn path=/trunk/; revision=47782
2013-02-20 22:56:29 +00:00
Martin Kaiser 27051346f9 TABs -> spaces
add modelines

svn path=/trunk/; revision=47781
2013-02-20 22:53:26 +00:00
Bill Meier d3a7f4b817 Use '#if 0 ... #endif' rather than /** ... **/ to comment out
unused hf[] entries (which I should have done in the first place).

svn path=/trunk/; revision=47390
2013-01-31 18:31:28 +00:00
Bill Meier 0960e508e4 Comment out cases of unused hf array entries found by checkhf.
svn path=/trunk/; revision=47302
2013-01-26 18:54:53 +00:00
Jeff Morriss 2552c750e5 We always HAVE_CONFIG_H so don't bother checking whether we have it or not.
svn path=/trunk/; revision=45017
2012-09-20 02:03:38 +00:00
Ronnie Sahlberg 96c5cd466b SCSI: PMI and LBA are no longer part of READCAPACITY10 in current versions of SBC
svn path=/trunk/; revision=44867
2012-09-11 03:52:39 +00:00
Ronnie Sahlberg f238f0193d SCSI: SBC, print the subcommand name in the info column for service-action-in
svn path=/trunk/; revision=44866
2012-09-11 03:34:34 +00:00
Ronnie Sahlberg 6c84cbde98 SCSI: SBC: READCAPACITY16 no longer have PMI or LBA in the request in modern versions of the standard
svn path=/trunk/; revision=44865
2012-09-11 03:30:04 +00:00
Michael Mann 32ef0a1a18 Converted scsi dissectors display filter format from scsi.<protocol> to scsi_<protocol> (matching their registered filter name)
svn path=/trunk/; revision=43993
2012-07-25 13:56:15 +00:00
Ronnie Sahlberg a14d130713 Add support for SCSI SBC ORWRITE command
svn path=/trunk/; revision=43711
2012-07-14 08:00:03 +00:00
Ronnie Sahlberg 285ee0f9b5 Add support for SCSI SBC COMPARE_AND_WRITE opcode
svn path=/trunk/; revision=43709
2012-07-14 02:19:32 +00:00
Jakub Zawadzki bf81b42e1e Update Free Software Foundation address.
(COPYING will be updated in next commit)

svn path=/trunk/; revision=43536
2012-06-28 22:56:06 +00:00
Ronnie Sahlberg 5f04a8404b SCSI SBC: Add dissection of GET_LBA_STATUS command
svn path=/trunk/; revision=42897
2012-05-29 11:25:38 +00:00
Ronnie Sahlberg d307c7fcd8 SCSI SBC: Add dissection of the ANCHOR and UNMAP bits in WRITESAME10/16
svn path=/trunk/; revision=42307
2012-04-28 08:16:17 +00:00
Jakub Zawadzki 9c48f9ca96 Add missing const attribute to some char *
Fix some "assignment discards qualifiers from pointer target type", etc

svn path=/trunk/; revision=41993
2012-04-09 17:53:04 +00:00
Ronnie Sahlberg 19a13c2111 SCSI SBC: Add the new fields that have been added to READ_CAPACITY16
svn path=/trunk/; revision=41864
2012-03-30 23:48:23 +00:00
Ronnie Sahlberg 22e4281355 SCSI SBC : Add decode for UNMAP command
svn path=/trunk/; revision=41795
2012-03-27 09:22:29 +00:00
Bill Meier 54b72021bb Fix encoding arg for various fcn calls:
- proto_tree_add_bits_item
 - proto_tree_add_bits_ret_val
 - proto_tree_add_bitmask
 - tvb_get_bits
 - tvb_get_bits16
 - tvb_get_bits24
 - tvb_get_bits32
 - tvb_get_bits64


svn path=/trunk/; revision=39539
2011-10-24 19:57:53 +00:00
Bill Meier 4e57694d4a Convert 'encoding' parameter of certain proto_tree_add_item() calls in non-autogenerated epan/dissectors:
Specifically:  Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as
 the encoding parameter for proto_tree_add_item() calls which directly reference
 an item in hf[] which has a type of:
    FT_UINT8
    FT_UINT16
    FT_UINT24
    FT_UINT32
    FT_UINT64
    FT_INT8
    FT_INT16
    FT_INT24
    FT_INT32
    FT_INT64
    FT_FLOAT
    FT_DOUBLE


svn path=/trunk/; revision=39288
2011-10-06 03:35:44 +00:00
Bill Meier 799578fb29 Use ENC_NA as encoding for proto_tree_add_item() calls which directly reference an hf item with types in hf[] of:
FT_NONE
    FT_BYTES
    FT_IPV6
    FT_IPXNET
    FT_OID

svn path=/trunk/; revision=39261
2011-10-05 00:25:09 +00:00
Chris Maynard c0565d8936 Improve dissection of bit-oriented fields. Patch from Richard Sharpe via
bug #5466 with some minor whitespace modifications from me and a fix of an
invalid offset introduced with the patch.  Fuzz testing still needs to be done.
I can't seem to get the fuzz tester to work with the capture files attached to
the bug report. 

svn path=/trunk/; revision=35137
2010-12-06 22:00:08 +00:00
Bill Meier 055dd62063 #include <string.h> not needed.
svn path=/trunk/; revision=32410
2010-04-06 21:14:01 +00:00
Stig Bjørlykke b228488bc0 From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
    for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
    FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero

svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
Bill Meier a8f30cbca1 Fix some typos and spelling (mostly in text strings)
svn path=/trunk/; revision=27037
2008-12-17 17:23:37 +00:00
Bill Meier b52d95d591 #include <emem.h> not req'd
svn path=/trunk/; revision=26091
2008-08-26 01:28:50 +00:00
Bill Meier 77b81b391b #include <prefs.h> not req'd
svn path=/trunk/; revision=26089
2008-08-25 22:06:20 +00:00
Guy Harris 5a43799a17 Use G_GINT64_MODIFIER, rather than the PRI[douxX]64 macros, for GLib
routines and routines using those routines.  GLib might use different
modifiers for 64-bit quantities than the platform's C library does.

svn path=/trunk/; revision=21990
2007-05-29 18:52:42 +00:00
Sebastien Tandel a7615a1afb another attempt to let windows buildbot becoming green
fix rev21398 (gcc warning fix)

svn path=/trunk/; revision=21412
2007-04-13 17:16:24 +00:00
Sebastien Tandel 42791e157b use of volatile for every functions and not only the ones using the Exception
mechanisms. (fix rev21398)

Windows buildbot sould be green again as formal parameters are the same as the
ones in the declaration now.

svn path=/trunk/; revision=21409
2007-04-13 15:23:47 +00:00
Ronnie Sahlberg f6f95ea6a0 remove the revision number from the spc symbols
change all spc2 and spc3 to spc



svn path=/trunk/; revision=20779
2007-02-11 00:45:15 +00:00
Ronnie Sahlberg 6a45dab11b add the obsolete RESERVE10/RELEASE10 to the sbc dissector
svn path=/trunk/; revision=20537
2007-01-23 20:59:50 +00:00
Ronnie Sahlberg ec38ca7190 some iscsi/scsi initiators still use the ancient sbc1 commandset so add RESERVE6/RELEASE6 to the SBC dissector
svn path=/trunk/; revision=20536
2007-01-23 20:49:57 +00:00
Ronnie Sahlberg 2b8517a1c1 add comment that the dissector is based on SBC2
this dissector should be in fairly good shape now


svn path=/trunk/; revision=20110
2006-12-11 09:07:10 +00:00
Ronnie Sahlberg 1765b2e83e add a comment about the (few) opcodes that are still missing
svn path=/trunk/; revision=20109
2006-12-11 09:04:58 +00:00
Ronnie Sahlberg 34824cb310 change all sbc2 references into sbc
svn path=/trunk/; revision=20100
2006-12-10 13:52:30 +00:00
Ronnie Sahlberg f819b845bf add dissection of
writelong10
writesame10/16
xdread10
xdwrite10
xdwriteread10
xpwrite10


svn path=/trunk/; revision=20099
2006-12-10 13:38:42 +00:00
Ronnie Sahlberg 43bdbd0a78 fix the WRVERIFY commands
svn path=/trunk/; revision=20098
2006-12-10 13:04:37 +00:00
Ronnie Sahlberg f53a3fb764 fixup WRITE 6,10,12,16
svn path=/trunk/; revision=20097
2006-12-10 12:01:36 +00:00
Ronnie Sahlberg 08e24dec09 fix the broken VERIFY 10, 12, 16
svn path=/trunk/; revision=20096
2006-12-10 11:43:02 +00:00
Ronnie Sahlberg f9e28612b0 add SYNC CACHE 10 and 16
svn path=/trunk/; revision=20095
2006-12-10 11:14:35 +00:00
Ronnie Sahlberg 4969d6e830 fixup START STOP UNIT
svn path=/trunk/; revision=20091
2006-12-10 03:56:25 +00:00
Ronnie Sahlberg a070eb77f3 fixup REASSIGN BLOCKS
svn path=/trunk/; revision=20090
2006-12-10 03:47:11 +00:00
Ronnie Sahlberg 9f4df27dc3 add dissection of READ LONG 16
svn path=/trunk/; revision=20089
2006-12-10 02:59:09 +00:00
Ronnie Sahlberg f73e437caf add dissection of READLONG10
svn path=/trunk/; revision=20088
2006-12-10 02:45:06 +00:00
Ronnie Sahlberg 069010285f fix up READEFECTDATA 10 and 12
svn path=/trunk/; revision=20087
2006-12-10 02:32:57 +00:00
Ronnie Sahlberg 9b0bd534a4 improve READCAPACITY10
svn path=/trunk/; revision=20086
2006-12-10 01:53:19 +00:00