Commit Graph

26 Commits

Author SHA1 Message Date
Ronnie Sahlberg 783cf2eff2 SCSI: Add dissection of REPORT SUPPORTED OPCODES
svn path=/trunk/; revision=49408
2013-05-18 16:26: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
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
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
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
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 4a43e13976 Use value_string_ext to access several "relatively large" value-strings.
svn path=/trunk/; revision=34689
2010-10-29 17:48:39 +00:00
Bill Meier 69df32fb11 #include <string.h> not needed.
svn path=/trunk/; revision=32411
2010-04-06 22:09:47 +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 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
Jeff Morriss 10a4936665 Move minimum byte count test from dissect_scsi_smc_element() up into the 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
2008-04-29 12:27:32 +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 10cace66eb add dissection of SMC POSITION TO ELEMENT cdb
svn path=/trunk/; revision=20799
2007-02-12 20:26:52 +00:00
Ronnie Sahlberg 327d0a646c add dissection of SMC OPEN/CLOSE IMPORT/EXPORT ELEMENT cdb
svn path=/trunk/; revision=20794
2007-02-12 10:30:10 +00:00
Ronnie Sahlberg e8fccdb0b6 update the SMC MOVEMEDIUM cdb dissector
svn path=/trunk/; revision=20782
2007-02-11 01:59:53 +00:00
Ronnie Sahlberg 8acfc173c4 add dissection of the two SMC cdbs
INITIALIZE ELEMENT STATUS
INITIALIZE ELEMENT STATUS WITH RANGE


svn path=/trunk/; revision=20781
2007-02-11 01:50:16 +00:00
Ronnie Sahlberg e2ddfcecfb add dissection of SMC EXCHANGE MEDIUM cdb
svn path=/trunk/; revision=20780
2007-02-11 01:32:53 +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 9535fb5e42 dont encode a specific revision of the standard in the symbol names
change all symbols from smc2 to smc

svn path=/trunk/; revision=20778
2007-02-11 00:20:37 +00:00
Ronnie Sahlberg ab7f2457a1 add the name for two missing SMC cdbs
svn path=/trunk/; revision=20777
2007-02-11 00:09:46 +00:00
Ronnie Sahlberg 303187fad8 break the SCSI SMC commandset out into its own dissector
svn path=/trunk/; revision=19964
2006-11-23 09:21:16 +00:00