Commit Graph

35 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 783cf2eff2 SCSI: Add dissection of REPORT SUPPORTED OPCODES
svn path=/trunk/; revision=49408
2013-05-18 16:26:26 +00:00
Alexis La Goutte 716deac16d Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=48380
2013-03-17 19:25:00 +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 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 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 689e8bd855 From http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1539 :
Hexadecimal and octal are unsigned.  Don't let dissectors register signed
fields (FT_INT*) to be displayed in hexadecimal (including HEX_DEC and DEC_HEX)
or octal.  Fix dissectors that do that mostly by changing the fields to
unsigned though in PANA it appears the fields are meant to be signed so
change those fields to be displayed in decimal.

This fixes an assertion crash in hfinfo_numeric_format() if/when someone tries
to create a filter using one of these mixed signed/unsigned fields (because
that routine does not know how to present the user with a signed value in
hex).

Also add FT_*INT64 to the "make sure it's not BASE_NONE" check.

svn path=/trunk/; revision=24643
2008-03-15 22:41:57 +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 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 f87d187669 add dissection of SSC SETCAPACITY cdb
the SSC dissector should be in fairly good shape now   modulo some missing
dissectors for a few data in/out buffers that someone that needs them can easily add


svn path=/trunk/; revision=20776
2007-02-10 22:01:27 +00:00
Ronnie Sahlberg e7ebd50244 update the REWIND cdb dissector
svn path=/trunk/; revision=20775
2007-02-10 21:53:09 +00:00
Ronnie Sahlberg 7fa46e0aaf add dissection of REPORTDENSITYSUPPORT cdb
svn path=/trunk/; revision=20774
2007-02-10 21:48:12 +00:00
Ronnie Sahlberg 991ec50ba5 add dissection of the RECOVER BUFFERED DATA cdb
svn path=/trunk/; revision=20773
2007-02-10 21:39:40 +00:00
Ronnie Sahlberg 5bb268fa7c add dissection of VERIFY6 cdb
dissect SPACE6/16 code field using a value_string


svn path=/trunk/; revision=20772
2007-02-10 21:26:38 +00:00
Ronnie Sahlberg 8d3413ef55 add dissection of the SSC READREVERSE6 cdb
svn path=/trunk/; revision=20771
2007-02-10 20:55:37 +00:00
Ronnie Sahlberg 62e27d2ce3 change all SSC2 into SSC to indicate this is an SSC dissector and not specific to SSC v2
svn path=/trunk/; revision=20770
2007-02-10 20:38:59 +00:00
Ronnie Sahlberg c6a7dc376a add dissection of the WRITE16 and the WRITEFILEMARKS16 cdbs
svn path=/trunk/; revision=20769
2007-02-10 20:31:01 +00:00
Ronnie Sahlberg 38fef4967b add dissection of SSC VERIFY16 cdb
svn path=/trunk/; revision=20768
2007-02-10 20:23:38 +00:00
Ronnie Sahlberg 2661699e01 add dissection of SSC READREVERSE16 cdb
svn path=/trunk/; revision=20767
2007-02-10 20:13:03 +00:00
Ronnie Sahlberg 5f7321abae add dissewction of the SSC READ16 cdb
svn path=/trunk/; revision=20766
2007-02-10 20:06:01 +00:00
Ronnie Sahlberg 462a5a9358 prettify READ6 and dissect the flags bits properly instead of using a proto_tree_add_text()
svn path=/trunk/; revision=20765
2007-02-10 19:56:41 +00:00
Ronnie Sahlberg 8f3630cfb7 fixup LOCATE10 and LOCATE16
replace a few proto_tree_add_text() with proper dissection of the partition byte


svn path=/trunk/; revision=20729
2007-02-06 21:19:17 +00:00
Ronnie Sahlberg 21f0235936 fixup ERASE16 FORMAT_MEDIUM and LOAD_UNLOAD commands
svn path=/trunk/; revision=20112
2006-12-11 10:15:42 +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
Ronnie Sahlberg 651ed76925 break the SCSI SSC commandset out into its own dissector
svn path=/trunk/; revision=19957
2006-11-22 10:12:59 +00:00