aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mq.h
AgeCommit message (Collapse)AuthorFilesLines
2016-10-13packet-mq: Handle MQV9Robert Grange1-2/+16
Handle Put Message Option V3 Add various new defines Fix a typo Bug: 13006 Change-Id: I022de9f131558bb8a0144d840a6484944f75cffe Reviewed-on: https://code.wireshark.org/review/18121 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-12-31Get rid of unused #defines.Guy Harris1-18/+0
Change-Id: I589d8c9b99425eb1893d61e4730864f0b2718acf Reviewed-on: https://code.wireshark.org/review/12967 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-12-12Remove -Wwrite-strings compiler flagJoão Valverde1-2/+2
The "-Wwrite-strings" flag produces nuisance warnings. These warnings are not useful, they're impossible to fix in a sane way and therefore are being handled with casts of static strings to (char *). This just moves the warning to [-Wcast-qual] and a compiler pragma is in turn required (and used) to squelch that warning. Remove the Wwrite-strings warning. Let that responsibility fall on the programmer (as is done by casting). Change-Id: I5a44dfd9decd6d80797a521a3373593074962fb5 Reviewed-on: https://code.wireshark.org/review/12162 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-08-23packet-mq: Add new Const/Def for WMQ800 FP3Robert Grange1-65/+185
Add new Const/Def for WMQ800 FP3 Improve Detection of EBCDIC String in MQCONN_REPLY Add Value in comments Change-Id: I695a3afa64fee7f22918f68540901c97dfd38464 Reviewed-on: https://code.wireshark.org/review/10012 Reviewed-by: Robert Grange <robionekenobi@bluewin.ch> Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2015-01-11packet-mq: Avoid using sort in dissectorRobert Grange1-19/+4
Avoid using sort for string_value_ext. The string value are now sorted at definition Change-Id: I08452b0423289d04e55ed7e3573e74bfcc329865 Reviewed-on: https://code.wireshark.org/review/6488 Reviewed-by: Robert Grange <robionekenobi@bluewin.ch> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2015-01-08packet-mq: Add New Def, Reformat Lines, re-order val_str defRobert Grange1-25/+54
Add missing definition, add new definition, Reformat some lines Re-order the value_string used with ext_value_string definition so they are in asc ASCII order as the ext_value_string is now sorted before first use renamed own tvb_get... funct to new tvb_get_guintxx funct and deleted own tvb_get... funct use ptvcursor_ funct instead of own macro to increment offset removed <epan/tvbuff.h> in *.c files correct [-Wunused-const-variable] Change-Id: Iaee26289e098cde0e5787ca1c98de64b6b733fa2 Reviewed-on: https://code.wireshark.org/review/6079 Reviewed-by: Robert Grange <robionekenobi@bluewin.ch> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-11-15paquet-mq: Eliminiate proto_tree_add_textRobert Grange1-0/+1
Eliminate proto_tree_add_text for Expert Info Improve PCF Parameters numeric value display Change-Id: Ibc259ba05d0591d434e7638d91d6943101d45305 Reviewed-on: https://code.wireshark.org/review/5080 Reviewed-by: Robert Grange <robionekenobi@bluewin.ch> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-11-01packet-mq: Use value_string_ext for big value string. more struct dissectedRobert Grange1-9/+34
Use of value_string_ext for big value_strign array, sort them, to force use the btree search parse more integer value with value_string Bug: 9367 Change-Id: I49625cf2d46e0974cddde2c7b1767cb7d06ec47d Reviewed-on: https://code.wireshark.org/review/5037 Petri-Dish: Bill Meier <wmeier@newsguy.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-08-06mq improvements:robionekenobi1-0/+2
- handle RFH structure - use tvb_reported_length..., - Add Conversation/Request in row display Change-Id: I84c5cf3e9479d91b363eb093e71bb6bdf07e8194 Reviewed-on: https://code.wireshark.org/review/3354 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2013-12-29From robionekenobi: packet-mq enhancementBill Meier1-45/+61
Add new Structure dissection Fix some small issues Reformat some part of code use spaces instead of tabs for indentation https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9603 From me: Remove some trailing whitespace; Change a few tabs to spaces; Change editor-modelines tab-width, etc to 8 (altho not really relevant since tabs not being used). svn path=/trunk/; revision=54489
2013-12-14Fix constiness of GET_VALSP() macro.Jakub Zawadzki1-1/+2
svn path=/trunk/; revision=54087
2013-11-06From robionekenobi: "packet-mq adapted"Bill Meier1-17/+5
See: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9367 especially comments 8,9,12,13 Patch: https://bugs.wireshark.org/bugzilla/attachment.cgi?id=12014 From me: Remove several uses of DEF_VALSEXT macro since the above patch removed the definition. (It seems that Microsoft C expands undefined macros as null; GCC complains). svn path=/trunk/; revision=53101
2013-11-04Declare many value_string_arrays not used elsewhere as static;Bill Meier1-1/+3
IOW: Explicitly declare as global only those value_string_arrays used elsewhere. svn path=/trunk/; revision=53084
2013-11-04From robionekenobi: Enhancement of the packet-mq dissector (WMQ 7.1-7.5)Bill Meier1-25/+60
Add more detail for SPI Open LPOO Structure Add more int_to_vals for INQ_Q_MGR reply Add more display detail for encoding value Some fix and display correction Note: The patch used was the *original* patch submitted (plus some fixes by me). That is: (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=11962) plus my fixes See: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9367 and comments for details. From me: - Fix bug which resulted in a macro expansion fail on GCC - Fix a -Wshadow error in packet-mq-pcf.c svn path=/trunk/; revision=53078
2013-11-01Revert SVN #53027: It gives compile warning on GCC (at least).Bill Meier1-52/+26
(No time right now to figure the problem out). CC libdissectors_la-packet-mq-base.lo In file included from packet-mq-base.c:32:0: packet-mq.h:42:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_ext' #define DEF_VALSEXT(A) value_string_ext GET_VALSV(A)_ext = VALUE_STRING_EXT_INIT(GET_VALSV(A)) ^ packet-mq-base.c:1301:1: note: in expansion of macro 'DEF_VALSEXT' DEF_VALSEXT(selector); ^ packet-mq.h:42:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_ext' #define DEF_VALSEXT(A) value_string_ext GET_VALSV(A)_ext = VALUE_STRING_EXT_INIT(GET_VALSV(A)) ^ packet-mq-base.c:1495:1: note: in expansion of macro 'DEF_VALSEXT' DEF_VALSEXT(mqcmd); ^ svn path=/trunk/; revision=53033
2013-11-01From robionekenobi: Enhancement of the packet-mq dissector (WMQ 7.1-7.5)Bill Meier1-26/+52
Add more detail for SPI Open LPOO Structure Add more int_to_vals for INQ_Q_MGR reply Add more display detail for encoding value Some fix and display correction See: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9367 svn path=/trunk/; revision=53027
2013-10-20Enhancement of the packet-mq dissector (WMQ 7.1-7.5). Bug 9267 ↵Michael Mann1-26/+30
(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9267) From robionekenobi From me: Pass data through dissectors instead of using pinfo->private_data svn path=/trunk/; revision=52707
2013-09-15Tweak mq macro and checkAPI to avoid false positives - "garbage"Evan Huus1-2/+1
(like a #define) at the beginning of a line before a value_string no longer matches so a #define that includes the beginning of a value_string doesn't confuse the script. svn path=/trunk/; revision=52089
2013-09-15From RobiOneKenobi via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9072Evan Huus1-2/+4794
Substantial enhancements to MQ protocol: all Structure, MSG_REQUEST/ASYNC_RESP, MQ Multi Segment are decoded until version 7.1/7.5 svn path=/trunk/; revision=52085
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18196
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+36
Also move ncp222.py, x11-fields, process-x11-fields.pl, make-reg-dotc, and make-reg-dotc.py. Adjust #include lines in files that include packet-*.h files. svn path=/trunk/; revision=11410