summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-scsi-smc.c
AgeCommit message (Collapse)AuthorFilesLines
2011-10-24Fix encoding arg for various fcn calls:Bill Meier1-11/+11
- 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-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-13/+13
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
2010-12-06Improve dissection of bit-oriented fields. Patch from Richard Sharpe viaChris Maynard1-59/+22
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-10-29Use value_string_ext to access several "relatively large" value-strings.Bill Meier1-2/+2
svn path=/trunk/; revision=34689
2010-04-06#include <string.h> not needed.Bill Meier1-1/+0
svn path=/trunk/; revision=32411
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-17/+17
(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
2008-08-26#include <emem.h> not req'dBill Meier1-1/+0
svn path=/trunk/; revision=26091
2008-08-25#include <prefs.h> not req'dBill Meier1-1/+0
svn path=/trunk/; revision=26089
2008-04-29Move minimum byte count test from dissect_scsi_smc_element() up into the ↵Jeff Morriss1-7/+10
calling dissect_scsi_smc_elements() so we can break out of the loop if we're not advancing through the packet. This fixes the infinite loop reported in http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2508 svn path=/trunk/; revision=25193
2007-04-13another attempt to let windows buildbot becoming greenSebastien Tandel1-14/+14
fix rev21398 (gcc warning fix) svn path=/trunk/; revision=21412
2007-04-13use of volatile for every functions and not only the ones using the ExceptionSebastien Tandel1-14/+14
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-02-12add dissection of SMC POSITION TO ELEMENT cdbRonnie Sahlberg1-1/+29
svn path=/trunk/; revision=20799
2007-02-12add dissection of SMC OPEN/CLOSE IMPORT/EXPORT ELEMENT cdbRonnie Sahlberg1-1/+37
svn path=/trunk/; revision=20794
2007-02-11update the SMC MOVEMEDIUM cdb dissectorRonnie Sahlberg1-14/+25
svn path=/trunk/; revision=20782
2007-02-11add dissection of the two SMC cdbsRonnie Sahlberg1-6/+76
INITIALIZE ELEMENT STATUS INITIALIZE ELEMENT STATUS WITH RANGE svn path=/trunk/; revision=20781
2007-02-11add dissection of SMC EXCHANGE MEDIUM cdbRonnie Sahlberg1-7/+66
svn path=/trunk/; revision=20780
2007-02-11remove the revision number from the spc symbolsRonnie Sahlberg1-38/+42
change all spc2 and spc3 to spc svn path=/trunk/; revision=20779
2007-02-11dont encode a specific revision of the standard in the symbol namesRonnie Sahlberg1-27/+28
change all symbols from smc2 to smc svn path=/trunk/; revision=20778
2007-02-11add the name for two missing SMC cdbsRonnie Sahlberg1-0/+2
svn path=/trunk/; revision=20777
2006-11-23break the SCSI SMC commandset out into its own dissectorRonnie Sahlberg1-0/+777
svn path=/trunk/; revision=19964