aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mq-base.c
AgeCommit message (Collapse)AuthorFilesLines
2018-08-16packet-mq: Fix LPOO Strucxt + Add MQV91 DefRobert Grange1-0/+3
Add MQ V9.1 Def Fix LPOO Struct Display Change-Id: I14ff534b7117e65dcc4b096aa478c0c16a863f67 Reviewed-on: https://code.wireshark.org/review/29153 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-11packet-mq: Fix some struct display add new defRobert Grange1-0/+2
Fix display for FCNO Struct Fix display for ID Struct Add new DEF Removed unused variable Change-Id: Id460ec3d9941d06cae4c400b89b8f979fd7d663f Reviewed-on: https://code.wireshark.org/review/29050 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2018-04-15packet-mq: Fix for Missing ConstRobert Grange1-47/+45
Fix to fill in some missing const in Display Change-Id: Ic9fa51eef84cefffc29f7424246e707c560ba1d0 Reviewed-on: https://code.wireshark.org/review/26892 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-02-25mq: fix duplicate entryAlexis La Goutte1-5/+5
Field 'ParmID...' (mqpcf.parm.id) has a conflicting entry in its value_string: 1008 is at indices 385 (MQIACF_MODE) and 386 (MQIACF_QUIESCE)) Field 'ParmID...' (mqpcf.parm.id) has a conflicting entry in its value_string: 1532 is at indices 762 (MQIACH_CURRENT_SEQ_NUMBER) and 763 (MQIACH_CURRENT_SEQUENCE_NUMBER)) Field 'ParmID...' (mqpcf.parm.id) has a conflicting entry in its value_string: 1536 is at indices 767 (MQIACH_BYTES_RCVD) and 768 (MQIACH_BYTES_RECEIVED)) Field 'ParmID...' (mqpcf.parm.id) has a conflicting entry in its value_string: 1539 is at indices 771 (MQIACH_BUFFERS_RCVD) and 772 (MQIACH_BUFFERS_RECEIVED)) Change-Id: Ieca064b54c7e25e9a78f037c7b46382dfe159df0 Reviewed-on: https://code.wireshark.org/review/26099 Reviewed-by: Robert Grange <robionekenobi@bluewin.ch> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-02-14packet-mq: Code reformatRobert Grange1-1/+1
Only reformated code (VS2017 with Ctrl K + Ctrl D) No code logic change Change-Id: If574c50cf0efb75984beb45df958be991ea63819 Reviewed-on: https://code.wireshark.org/review/25771 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-02-12dissectors: use SPDX identifiers.Dario Lombardo1-13/+1
Change-Id: I92c94448e6641716d03158a5f332c8b53709423a Reviewed-on: https://code.wireshark.org/review/25756 Petri-Dish: Dario Lombardo <lomato@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-02-02packet-mq: Add support for IMS+TM StructDario Lombardo1-20/+20
Added support for IMS, TM, TMC2 Struct Improve display some Flags in ID Struct Fix display for FCNO Struct Fix error in get_mq_pdu_len Code reformat (VS2017) Moved DEFINE to header file More struct display fixed Fix for IMS Msg len display Change-Id: I80bfd25a5079598fc44124dc2c7b850640a38b00 Reviewed-on: https://code.wireshark.org/review/25295 Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-01-02packet-mq: Fix after change 25009Robert Grange1-3/+4
Fix for unused variable mq_MQPRI_vals Fix test when displaying unique MQ Segment (vs multi MQ segment) Changed my name in AUTHORS Change-Id: I8ffa5523dbf8469d2814d2a90348eea61a05823a Reviewed-on: https://code.wireshark.org/review/25106 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2018-01-02mq: DEF_VALSB(MQPRI) is still unusedStig Bjørlykke1-0/+2
Change-Id: I269c2f367d1d65b006ad881976085dbdf983c407 Reviewed-on: https://code.wireshark.org/review/25105 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2018-01-02packet-mq: Improve display of ID Struct + Segmented MsgsRobert Grange1-53/+89
Improve display of ID Struct for FAP Lvl 13 Improve display for Segmented MQ Mesages Add also the ReasonCode of the ASYNCH_MESSAGE in column and tre node Added various new CONST for display Change-Id: I458296e466d0744627e0b4f645d634b0c6d930de Reviewed-on: https://code.wireshark.org/review/25009 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-12-16packet-mq: Improve some display by adding CONST valuesRobert Grange1-96/+144
Change-Id: I66f9dc050735fd0a73b9938a9db0c5978cec40a4 Reviewed-on: https://code.wireshark.org/review/24834 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-05-28packet-mq: Handle MQV902Robert Grange1-0/+37
Add various new defines for WMQ902 Change-Id: I2000f35a01e484d2e4665d1fe4a91a74f6c33236 Reviewed-on: https://code.wireshark.org/review/21747 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: Alexis La Goutte <alexis.lagoutte@gmail.com>
2017-05-02mq: fix conflicting entry in its value_stringAlexis La Goutte1-1/+1
Field 'Selector........' (mq.inq.sel) has a conflicting entry in its value_string: 2002 is at indices 221 (MQCA_BASE_Q_NAME) and 222 (MQCA_BASE_OBJECT_NAME)) Change-Id: Ie81b58bf9c32ea38ff5d0808accdd8e9dac3b81a Reviewed-on: https://code.wireshark.org/review/21453 Reviewed-by: Michael Mann <mmann78@netscape.net>
2017-04-16MQ: Remove duplicate values from mq_PrmId_xvals.Michael Mann1-4/+4
Appears to be duplicates between "regular" and "64-bit" versions of values. Change-Id: Ib615c0d85c29e11daf5d4379c18563c58ad152f9 Reviewed-on: https://code.wireshark.org/review/21138 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-10-13packet-mq: Handle MQV9Robert Grange1-0/+27
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-08-23packet-mq: Add new Const/Def for WMQ800 FP3Robert Grange1-3593/+3781
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-2889/+2869
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-217/+366
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-12-23Deleting unnecessary #includes from dissectors.Martin Mathieson1-1/+0
Fourth batch (packet-mac-lte.c -> packet-rtp.c). Will look at cleaning up and committing script afterwards. Change-Id: Id921f07f4b274f0cfb77ce81abe4a285fdb8b644 Reviewed-on: https://code.wireshark.org/review/6023 Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2014-12-21Cleanup use of #includes in non-generated epan/dissector/*.cBill Meier1-1/+0
Specifically: - Set packet.h to be the first wireshark #include after config.h and "system" #includes. packet.h added as an #include in some cases when missing. - Remove some #includes included (directly/indirectly) in packet.h. E.g., glib.h. (Done only for those files including packet.h). - As needed, move "system" #includes to be after config.h and before wireshark #includes. - Rework various #include file specifications for consistency. - Misc. Change-Id: Ifaa1a14b50b69fbad38ea4838a49dfe595c54c95 Reviewed-on: https://code.wireshark.org/review/5923 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-11-01packet-mq: Use value_string_ext for big value string. more struct dissectedRobert Grange1-1081/+19
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-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-104/+148
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-14Remove not needed ';'Jakub Zawadzki1-3/+3
svn path=/trunk/; revision=54088
2013-12-13Do one or more of the following:Bill Meier1-4511/+4512
- Convert "4 space tabs" to spaces; - Remove some unneeded initializers; - 'offset++' --> 'offset += 1' for consistency; - Reformat hf[] entries; - Rework/add whitespace; - Adjust editor modelines (set tab-width to 8). svn path=/trunk/; revision=54005
2013-11-06From robionekenobi: "packet-mq adapted"Bill Meier1-13/+11
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-11/+11
IOW: Explicitly declare as global only those value_string_arrays used elsewhere. svn path=/trunk/; revision=53084
2013-11-04'#if 0' numerous unused value string arrays.Bill Meier1-0/+152
svn path=/trunk/; revision=53082
2013-11-04From robionekenobi: Enhancement of the packet-mq dissector (WMQ 7.1-7.5)Bill Meier1-19/+87
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-87/+19
(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-19/+87
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-47/+246
(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-24From robionekenobi via ↵Jeff Morriss1-46/+50
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9173 : This enhancement add the missing structure CAUT, some missing integer converted to Strings and some field that were unknown to a better explanation. Sorted alphabetically the MQCFINT_Parse VALS structure to better find what is missing in this VALS structure svn path=/trunk/; revision=52198
2013-09-15From RobiOneKenobi via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9072Evan Huus1-0/+4845
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