aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gtpv2.c
AgeCommit message (Collapse)AuthorFilesLines
2015-11-03GTPv2: Fix Dead Store (Dead assignement/Dead increment) warning found by ClangAlexis La Goutte1-1/+1
Change-Id: I6b2ddc2f84e954194260b956b6f46f0747d8a66a Reviewed-on: https://code.wireshark.org/review/11504 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>
2015-11-02[GTPv2] Dissect UTRAN F-Container content.AndersBroman1-0/+29
Change-Id: Idaf07e31876b453f88c5fd7e886c72dffcb35a96 Reviewed-on: https://code.wireshark.org/review/11492 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-10-30The item argument is used.Guy Harris1-1/+1
Change-Id: I066c8364bcd12d78b41c336b42f235bdfe112515 Reviewed-on: https://code.wireshark.org/review/11441 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-10-30GTPv2: Mark a parameter unused.Gerald Combs1-1/+1
Change-Id: I0dde941a1d1c9b776363d61cc3e849189b2ea0e7 Reviewed-on: https://code.wireshark.org/review/11439 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2015-10-30[GTPv2] Dissect Load Control Information IEAndersBroman1-6/+21
Bug: 11655 Change-Id: I9d50d53ce6b98d7a3e06e90450607f6d5b6be1bc Reviewed-on: https://code.wireshark.org/review/11430 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-10-08GTPv2: display Sequence Number as BASE_HEX_DECPascal Quantin1-1/+1
As requested on https://ask.wireshark.org/questions/46393/gtpv2-teid-and-sqn-decoded-in-decimal-instead-of-hexa-in-ws-1127 Change-Id: Id0963394959eff979129470c70258323653e3fdf Reviewed-on: https://code.wireshark.org/review/10886 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-09-10[GTPv2] Dissect F-Cause for FORWARD_RELOCATION_RESP in case of S1AP.AndersBroman1-27/+61
Change-Id: I245daad739c7f181d4f57cbc50416096199f682a Reviewed-on: https://code.wireshark.org/review/10462 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-08-08GTPv2: fix indent (use 4 spaces)Alexis La Goutte1-3/+3
Change-Id: I7836360ae4fe67098776911a496ecc969d3e093d Reviewed-on: https://code.wireshark.org/review/9921 Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-08-07[GTPv2] Mark a parameter as unused.AndersBroman1-1/+1
Change-Id: I37c983d756f23469e4cf1abd31b9c591f5612542 Reviewed-on: https://code.wireshark.org/review/9909 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-08-07[GTPv2] Dissect IE MM Context for CS to PS SRVCC, update value strings.AndersBroman1-7/+67
Bug: 11423 Change-Id: I5a845e40fcbd4e06dec60c64edca9e8fea1459e1 Reviewed-on: https://code.wireshark.org/review/9907 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-07-20GTPv2: always set direction before dissecting PCO IEPascal Quantin1-0/+30
Otherwise some protocol/container ID payload are skipped as their decoding depends on the direction that is unknown Bug: 11378 Change-Id: Ic14aa67fe4f262a9f3056e8f70f58afd78c59043 Reviewed-on: https://code.wireshark.org/review/9710 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2015-06-08GTPv2: fix indent (use 4 spaces)Alexis La Goutte1-21/+21
Change-Id: I9f20a5797ec0f8f3ae67b1be67d342b256da03ae Reviewed-on: https://code.wireshark.org/review/8836 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-06-08[GTPv2] Throttling Delay unit values are not the same as the timer values,Anders1-1/+11
make a separate Value_string. Change-Id: I79cb3b9d7261f8fba97f1938464d38c218282cb5 Reviewed-on: https://code.wireshark.org/review/8834 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-05-08GTPv2: fix unused parameter 'pinfo' warningPascal Quantin1-1/+1
Change-Id: I41e9d429685752c10562e5255036c2b84390373c Reviewed-on: https://code.wireshark.org/review/8354 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2015-05-08[GTPv2] Add dissection of Throttling IE.AndersBroman1-1/+35
Change-Id: I9c71a9d6e276213eb43e4265578e57f87f1619fd Reviewed-on: https://code.wireshark.org/review/8352 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-05-06GTPv2 : fix unused parameter 'tree' [-Werror=unused-parameter]Alexis La Goutte1-1/+2
Change-Id: I01097889dd4a1c29135f50dcfb737ff50b0de2b7 Reviewed-on: https://code.wireshark.org/review/8310 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2015-05-06[GTPv2] Add dissetion of IE Overload Control Information and Metric.AndersBroman1-12/+88
Change-Id: I8bd423ea41929bfd20cecf9d80a686f1b286082f Reviewed-on: https://code.wireshark.org/review/8309 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-04-28[GTPv2] Mark a parameter as unused.AndersBroman1-1/+1
Change-Id: Ia007c4956d3ec422dca7f320a83ef7f84173d47b Reviewed-on: https://code.wireshark.org/review/8219 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-04-28[GTPv2] Add dissection of IE User CSG Information (UCI)Cathy Yang Y1-1/+69
Change-Id: Ie06122ceb59db66c5ecd05b2fa4a9b9acc16f5dd Reviewed-on: https://code.wireshark.org/review/8217 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-03-10[GTPv2] Dissect ULI Timestamp.AndersBroman1-7/+22
Change-Id: If257831315423e5654cbbc3f6af99703cfad7f90 Reviewed-on: https://code.wireshark.org/review/7614 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-01-14[E212]Modify dissect_e212_mcc_mnc() to take E212 number type as anAndersBroman1-8/+8
argument. While at it remove deprecated APIs Change-Id: Ib1a7e9d7aeba6379fb4492816a0ac602e67493c6 Reviewed-on: https://code.wireshark.org/review/6534 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-01-12[E212] Make it possible to use different filters for MCC and MNC in LAIAndersBroman1-11/+11
RAI and SAI. Change-Id: I2abcc868899b8752f66347b3a0fe190670c3ce3f Reviewed-on: https://code.wireshark.org/review/6447 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-01-07tvb_bytes_to_ep_str -> tvb_bytes_to_strMichael Mann1-4/+4
Change-Id: I79c613cbdd8dc939dd4c29ebc477fb6eefd5bfc4 Reviewed-on: https://code.wireshark.org/review/6371 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-01-04GTPv2: fix Logically dead code (CID 1250813)Alexis La Goutte1-6/+7
Change-Id: I1761af90bd85b14e6021a5d7b07686a37593a152 Reviewed-on: https://code.wireshark.org/review/6279 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-01-04GTPv2: fix Logically dead code (CID 1255924)Alexis La Goutte1-1/+1
Change-Id: Ia21d8f68b5d898b4493da8cf948ad421f94234fc Reviewed-on: https://code.wireshark.org/review/6278 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-12-31GTPv2: fix Copy-paste error (CID 1158587)Alexis La Goutte1-3/+2
Change-Id: I56eaa2071b4b8042c214cf882d35ebec646d2cb5 Reviewed-on: https://code.wireshark.org/review/6169 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-12-31GTPv2: fix typo in Anders e-mail AddressAlexis La Goutte1-1/+1
Change-Id: I2410aa7bce574c9153b971b2d8b0cbfbe24e54dc Reviewed-on: https://code.wireshark.org/review/6170 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-12-28Replace ip6_to_str and ip6_guint8_to_str with address_to_str and tvb_ip_to_str.Michael Mann1-3/+1
Change-Id: I1d258923a7a63539ec8456d3e306bca5016a1e4b Reviewed-on: https://code.wireshark.org/review/6060 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> Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-12-23Deleting unneccessary #includes from dissectors.Martin Mathieson1-1/+0
Second batch (packet-eth.c -> packet-icmpv6.d). Will look at cleaning up and committing script afterwards. Change-Id: I14295758b81a59115d8c88899f166cc3d5d17594 Reviewed-on: https://code.wireshark.org/review/6013 Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2014-12-21Cleanup use of #includes in non-generated epan/dissector/*.cBill Meier1-2/+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-12-13Use ENC_BIG_ENDIAN when fetching FT_U?INT8 fields ...Bill Meier1-5/+5
(for some dissectors which fetch all other integral fields using ENC_BIG_ENDIAN). Change-Id: Ic18e3172aad76af12b12d6732c88497be22aed56 Reviewed-on: https://code.wireshark.org/review/5748 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-11-07GTPv2: Update Indication with Octet 8 and 9 dissection.AndersBroman1-1/+81
Change-Id: Ifa18f31a98932236b102db0f4f28169a7eb72978 Reviewed-on: https://code.wireshark.org/review/5169 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-10-31Eliminate proto_tree_add_text from packet-gtpv2.cMichael Mann1-121/+200
Change-Id: I127447941e4c926d9194373a405c82145b1392bb Reviewed-on: https://code.wireshark.org/review/5025 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-10-16GTPv2 in Complete Request Message call the NAS dissector with a tvb onlyAndersBroman1-2/+2
containing the IE not the rest of the tvb. Change-Id: I3eead5047b4f8de47e280ac447c66b110592bccd Reviewed-on: https://code.wireshark.org/review/4744 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-10-15GTPv2: Fully dissect Presence Reporting Area Action.AndersBroman1-86/+173
Change-Id: If38f639049bd897587ed61cc2d94f974131ccd20 Reviewed-on: https://code.wireshark.org/review/4700 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-10-14GTPv2 Dissect more bits in IE Indication.AndersBroman1-14/+17
Change-Id: I19d0b67e06ec22bfc5bafc58fdeb445e30e25f95 Reviewed-on: https://code.wireshark.org/review/4682 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-10-10GTPv2: Presence-Reporting-Area-Elements-List do full dissection of ECGIAndersBroman1-47/+72
and TAI. Change-Id: I95d9ebf1d6f4eabe30b557fdc937d56006f8b123 Reviewed-on: https://code.wireshark.org/review/4593 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-10-09GTPv2: fix an infinite loopPascal Quantin1-1/+1
Bug: 10548 Change-Id: I916e15cecf0ec9dc607362b902709567d69243df Reviewed-on: https://code.wireshark.org/review/4578 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-10-06Dissect 3GPP AVP Presence-Reporting-Area-Elements-List.AndersBroman1-19/+46
Change-Id: Ic7b99d41a275fb6f50758ea87763844f24be537c Reviewed-on: https://code.wireshark.org/review/4495 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-10-06Expand dissection of 8.108 Presence Reporting Area Action.AndersBroman1-10/+100
Change-Id: I2ad57d8cdb6758f01146b37ac924e2d8f2141546 Reviewed-on: https://code.wireshark.org/review/4491 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-10-06Adjust some whitespace to match editor modelines.Bill Meier1-32/+32
Change-Id: Ia22cac3ebd7a454c156f98d967e6fd61f708a2b3 Reviewed-on: https://code.wireshark.org/review/4489 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-09-29Dissect more of the Presence Reporting Area Action IE.AndersBroman1-3/+71
Change-Id: I4bf0c7890fff4162e1cf5faad8dd0ca008e0dbe6 Reviewed-on: https://code.wireshark.org/review/4368 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-09-26Added basic decoding of new IEsAndersBroman1-2/+50
Change-Id: I7982fe6ccee806b574f780cc2e96d7139a6a74c5 Reviewed-on: https://code.wireshark.org/review/4305 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-09-26Add basic dissection for new IEsAndersBroman1-9/+171
Change-Id: Ie9fc9ac4672a80c82c3b09188752c928b1e7d6c1 Reviewed-on: https://code.wireshark.org/review/4302 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-09-25Add comments about new IEsAndersBroman1-0/+18
Change-Id: Ibc035872ff6406830a06bcfd365047a6d8c2478f Reviewed-on: https://code.wireshark.org/review/4283 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-09-17GTPv2: further fixes for Trace Information IE dissectionPascal Quantin1-19/+10
Bug: 10470 Change-Id: I8b61e5601379a568da39cce2335122e91ab37ec4 Reviewed-on: https://code.wireshark.org/review/4142 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-09-17GTPv2: fix dissection of Triggering Events IEPascal Quantin1-14/+89
Bug: 10470 Change-Id: Ieb9819e578f078e956861a4e2d7ab3d8b96416d6 Reviewed-on: https://code.wireshark.org/review/4130 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Evan Huus <eapache@gmail.com>
2014-09-12proto_tree_add_text cleanupMichael Mann1-9/+9
Create filters (expert and hf_) that have the "most bang for the buck" (ie have many instances for a single filter) Change-Id: I61995e41c5b298df77e084e65cdf30ebe95da1e6 Reviewed-on: https://code.wireshark.org/review/4086 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: Anders Broman <a.broman58@gmail.com>
2014-09-08Use dissect_e164_msisdn() for MSISDN.AndersBroman1-10/+1
Change-Id: I297241cafee8ec504b46044cacba457c5f261d6e Reviewed-on: https://code.wireshark.org/review/4034 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-08-21Add a function to dissect an E.164 (MSISDN) number in UTF8 format and use itJeff Morriss1-1/+1
in the Diameter dissector. This new API adds a filter for the MSISDN as well as a subtree and filter for the Country Code. Change-Id: Ibcbf4b5f72178b7e4af63efa7496188d608a9de7 Reviewed-on: https://code.wireshark.org/review/3760 Petri-Dish: Jeff Morriss <jeff.morriss.ws@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com> Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>