aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-s1ap.c
AgeCommit message (Collapse)AuthorFilesLines
2016-03-13Move /asn1 to /epan/dissectorsJoão Valverde1-102/+102
Change-Id: I1208fe3c2ba428995526f561e8f792b8d871e9a9 Reviewed-on: https://code.wireshark.org/review/14388 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: João Valverde <j@v6e.pt>
2016-01-06[S1AP] Update to version V13.1.0 (2015-12)AndersBroman1-166/+1801
Change-Id: I48080dd6839d3cb02b6ea3717d69b56dbf3e59d8 Reviewed-on: https://code.wireshark.org/review/13077 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-12-10Convert ASN.1 dissectors to remove "new" from "new-style" dissector function ↵Michael Mann1-245/+245
names that were generated from asn2wrs.py This includes: 1. new_create_dissector_handle -> create_dissector_handle 2. new_register_dissector -> register_dissector 3. new_register_ber_oid_dissector -> register_ber_oid_dissector 4. new_register_ber_syntax_dissector -> register_ber_syntax_dissector Also remove PDU_NEW, SYNTAX_NEW and REGISTER_NEW as there is no need for the distinction anymore. Change-Id: I82c7de7c8ffeeab3259d1b55bb4afc5f6a1e0329 Reviewed-on: https://code.wireshark.org/review/12491 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-12-09"new" dissector API -> dissector API for ASN.1 dissectors.Michael Mann1-1/+1
Change-Id: I7b794cba2feda2cae40411e2b1cb9fb091d08220 Reviewed-on: https://code.wireshark.org/review/12480 Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-11-22register_dissector -> new_register_dissector for ASN.1 dissectors.Michael Mann1-6/+7
Change-Id: I0476519c02ffdd426b4fdfe8a206d61b728c327a Reviewed-on: https://code.wireshark.org/review/12026 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-11-04Don't allow multiple registrations of a protocol in dissector tables.Michael Mann1-7/+7
The target here is the Decode As dialog where protocols have multiple registrations into a dissector table and that shows up as multiple entries in the Decode As dialog list with the same name so users are unsure which "dissector" they are choosing. The "default" behavior (done in this commit) is to not allow duplicates for a dissector table, whether its part of Decode As or not. It's just ENFORCED for Decode As. Bug: 3949 Change-Id: Ibe14fa61aaeca0881f9cc39b78799e314b5e8127 Reviewed-on: https://code.wireshark.org/review/11405 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-11-02[GTPv2] Dissect UTRAN F-Container content.AndersBroman1-74/+87
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-04-27S1AP: Add missing protocol IE declaration for E-UTRAN-Trace-IDMartin Mathieson1-45/+59
Change-Id: I03caf29a5a1889884837fccf366cb35d0ccd6281 Reviewed-on: https://code.wireshark.org/review/8213 Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-04-03[S1AP] Display the decimal value for TAC.AndersBroman1-64/+76
Change-Id: I12127b5f7e53e2d47a42ad54d4e952f6a184d7b6 Reviewed-on: https://code.wireshark.org/review/7883 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-01-18asn2wrs: autodetect if 64 bits variant is required for constrained integersPascal Quantin1-67/+66
It does not work with defines, but is already a great step forward Change-Id: I346d4124690ec46a2299d4eae8031bbb19a3db8e Reviewed-on: https://code.wireshark.org/review/6617 Reviewed-by: Anders Broman <a.broman58@gmail.com> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2015-01-14[E212]Modify dissect_e212_mcc_mnc() to take E212 number type as anAndersBroman1-1/+1
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>
2014-12-23asn1 generated dissectors: cleanup #include usageBill Meier1-8/+7
Change-Id: I36b2731d67f9345d2fd0c23800bba7d2be94c387 Reviewed-on: https://code.wireshark.org/review/6008 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-11-14[S1AP) Wrong tree usedAndersBroman1-1/+1
s1ap.cnf:547:14: error: variable 'subtree' set but not used Change-Id: I84a345709b1ef9688f3f1a4e876a75dd575c1c2e Reviewed-on: https://code.wireshark.org/review/5299 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-11-14[S1AP] Let the A21 dissector do further dissection of Cdma2000SectorIDAndersBroman1-53/+77
Change-Id: I8c503acf6860b34d24769cdf981dcaeea4667ffb Reviewed-on: https://code.wireshark.org/review/5298 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-10-29Replace isalpha() with g_ascii_isprint().AndersBroman1-9/+8
Change-Id: I416fd36f65ee80a0b17939bc081ddae0f3f72a32 Reviewed-on: https://code.wireshark.org/review/4984 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-10-22S1AP: Add an S1AP context to be able to determine which message andAndersBroman1-11/+25
message type an IE was sent in. Needed to dissect proprietarry data. Change-Id: Ie75a2f6a544cb33e22c42457b0edd83e6456bfe5 Reviewed-on: https://code.wireshark.org/review/4910 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-10-21Add OID callback for private IEs making it possible to call a dissectorAndersBroman1-80/+98
for the private OID. Change-Id: Ibb86d8523f1aee14ba1a843ec3ad4becc7729013 Reviewed-on: https://code.wireshark.org/review/4893 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-10-18Check for printable ASCII in an ENBName.Guy Harris1-13/+12
I'm not sure why the check is only for alphabetical characters; if that's correct, change this to use g_ascii_isalpha, and change is_printable_ascii to is_ascii_alpha or something such as that. Don't use ctype.h routines, as they are locale-dependent. Change-Id: I61d0672350d35ad918e95d7e96ed5dd263102da9 Reviewed-on: https://code.wireshark.org/review/4805 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-10-17Dissect CDMA2000 PDU if GCSNA dissector exists.AndersBroman1-51/+71
Change-Id: I866fb9bbc3e94df63231959d6745f3d45ca84020 Reviewed-on: https://code.wireshark.org/review/4772 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-09-25Freeze Info column while dissecting RRC transparent containerMartin Mathieson1-49/+53
Change-Id: I30900fd6a73ca38736b3f28eb416820f74003768 Reviewed-on: https://code.wireshark.org/review/4285 Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2014-09-10Update to revission V12.2.0 (2014-06)AndersBroman1-67/+595
Remove soft deprecated APIs Change-Id: I30adcb9f381c77142385c22fcc4a208169b0cf5e Reviewed-on: https://code.wireshark.org/review/4062 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-06-21batch of tvb-length conversionsEvan Huus1-7/+7
Change-Id: I76ca4d075756e3ac691070e0c05344a410ea2498 Reviewed-on: https://code.wireshark.org/review/2507 Reviewed-by: Evan Huus <eapache@gmail.com>
2014-06-20Rename dissector_add_handle() to dissector_add_for_decode_as().Guy Harris1-1/+1
Hopefully that name makes it clear what the routiner's purpose is, and will encourage people to use it rather than using dissector_add_uint() with a bogus integer value. Change-Id: Ic5be456d0ad40b176aab01712ab7b13aed5de2a8 Reviewed-on: https://code.wireshark.org/review/2483 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-06-19Revert "Fixup: tvb_* -> tvb_captured"Michael Mann1-15/+15
https://www.wireshark.org/lists/wireshark-dev/201406/msg00131.html This reverts commit 246fe2ca4c67d8c98caa84e2f57694f6322e2f96. Change-Id: Ib24bae0198c13a84bd7f731bf4af921212109a8f Reviewed-on: https://code.wireshark.org/review/2430 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-06-18Fixup: tvb_* -> tvb_capturedDario Lombardo1-15/+15
Change-Id: I9209c1271967405c34c1b6fa43e1726a4d3a5a3f Reviewed-on: https://code.wireshark.org/review/2377 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-05-12Fix copy-and-paste error with cause value_strings, and change indentation to ↵Martin Mathieson1-10/+10
match generated code Change-Id: I629f010f2430c5765c1adb41c57e6ea26d92b049 Reviewed-on: https://code.wireshark.org/review/1615 Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2014-04-16From Martin Mathieson:AndersBroman1-5/+38
For S1AP PDUs that contain a cause, show that cause in the Info column. Change-Id: Icecb8da278c16e0d47395b17b54dee6ebd7be646 Reviewed-on: https://code.wireshark.org/review/1170 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-04-08Get rid of some unused functions.Guy Harris1-90/+64
Change-Id: I3b1529826c04334d2df8e3f80a69e8b51651b9cf Reviewed-on: https://code.wireshark.org/review/1022 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-04-08Update to V11.6.0AndersBroman1-145/+1268
Change-Id: I91def9d33901f82b9516a0be464ba9e609da0007 Reviewed-on: https://code.wireshark.org/review/1019 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-02-26Remove trailing whitespace from asn1 .cnf & template.[hc] files. Regenerate ↵Bill Meier1-1/+1
dissectors. Change-Id: I0e779b2ac2f608356649c5bbfca438141070dea4 Reviewed-on: https://code.wireshark.org/review/412 Reviewed-by: Bill Meier <wmeier@newsguy.com> Tested-by: Bill Meier <wmeier@newsguy.com>
2014-02-18Remove $Id$ from the ASN.1 dissectors and regenerate them.Jeff Morriss1-73/+71
Change-Id: Ie476c6f82f318188b41ed922b92c6fec119ea954 Reviewed-on: https://code.wireshark.org/review/244 Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com> Tested-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2013-12-20Change G_GINT64_CONSTANT(xxxxU) to G_GUINT64_CONSTANT(xxxx)Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=54314
2013-11-17Add a way to retrieve a PER variable bit string lengthPascal Quantin1-15/+15
svn path=/trunk/; revision=53382
2013-05-27Postfix FT_NONE fields with "_element" string to reduce number of ↵Pascal Quantin1-202/+202
incompatible filters in ASN.1 dissectors https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2402 svn path=/trunk/; revision=49599
2013-04-11Update the ASN.1 based dissectors following the changes done in r48812Pascal Quantin1-2/+2
svn path=/trunk/; revision=48820
2013-03-28-Wmissing-prototypesAnders Broman1-7/+10
svn path=/trunk/; revision=48609
2013-03-19From beroset:Anders Broman1-1/+1
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48429
2012-09-24Regenerate asn.1 dissectors.Jakub Zawadzki1-7/+7
svn path=/trunk/; revision=45110
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45017
2012-09-10Regenerate all asn.1 dissectors.Jakub Zawadzki1-225/+225
svn path=/trunk/; revision=44861
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-05-10Get rid of remaining Booleans-as-encoding-arguments inGuy Harris1-2/+2
proto_tree_add_item() calls. svn path=/trunk/; revision=42543
2012-02-20From David Wei more containers not to dissect if pref is setanonsvn1-46/+50
svn path=/trunk/; revision=41084
2012-02-09From David Wei:Anders Broman1-134/+139
Add a preference to not dissect containers, svn path=/trunk/; revision=40946
2012-01-25From billyjeans [AT] gmail.com via bug 6184: "S1AP dissector COL_INFO should ↵Chris Maynard1-28/+158
display different message status?", with changes from me to use col_append_str() and comma-separate the strings instead of using col_append_fstr() and pipe-separate them. svn path=/trunk/; revision=40721
2011-12-09Update to 3GPP TS 36.413 V10.3.0 (2011-09)Anders Broman1-100/+1002
svn path=/trunk/; revision=40134
2011-12-09Get rid of declarations of undefined routines and definitins of unusedGuy Harris1-64/+30
routines. svn path=/trunk/; revision=40124
2011-12-08Try to get the container stuff right...Anders Broman1-86/+37
svn path=/trunk/; revision=40119
2011-12-08Properly dissect Source-ToTarget-TransparentContainer.Anders Broman1-8/+9
svn path=/trunk/; revision=40117
2011-11-08Get rid of set-but-not-used warnings.Anders Broman1-13/+4
svn path=/trunk/; revision=39761