aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-nas_eps.c
AgeCommit message (Collapse)AuthorFilesLines
2016-03-28NAS EPS: add a missing breakPascal Quantin1-0/+1
Change-Id: I71a32b831cdb8d7d07e48cabe2c6cd7204968c28 Reviewed-on: https://code.wireshark.org/review/14665 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2016-03-27NAS EPS: upgrade dissector to v13.5.0Pascal Quantin1-13/+334
Change-Id: I04319c1ca0a6c166904a584f31088460ea35eb89 Reviewed-on: https://code.wireshark.org/review/14655 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>
2016-03-20Manually add protocol dependencies derived from find_dissector.Michael Mann1-2/+2
Started by grepping call_dissector_with_data, call_dissector_only and call_dissector and traced the handles passed into them to a find_dissector within the dissector. Then replaced find_dissector with find_dissector_add_dependency and added the protocol id from the dissector. "data" dissector was not considered to be a dependency. Change-Id: I15d0d77301306587ef8e7af5876e74231816890d Reviewed-on: https://code.wireshark.org/review/14509 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-01-08Fix a lot of typos and misspellingsmoshekaplan1-2/+2
Change-Id: I8512cfa1d424f82a873a0e0e1d22c7b075fdd7f3 Reviewed-on: https://code.wireshark.org/review/13069 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: Michael Mann <mmann78@netscape.net>
2015-12-29NAS EPS: upgrade dissector to v13.4.0Pascal Quantin1-10/+119
Change-Id: Iac7257fe574841e5199a99559ee99252da75b1fd Reviewed-on: https://code.wireshark.org/review/12906 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2015-12-09new_register_dissector -> register_dissector for dissector directory.Michael Mann1-2/+2
Change-Id: Ie39ef054a4a942687bd079f3a4d8c2cc55d5f22c Reviewed-on: https://code.wireshark.org/review/12485 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-11-23register_dissector -> new_register_dissectorMichael Mann1-15/+17
Change-Id: Ifc8208e1b96e2a3bf297912500a5f252bfa8eed9 Reviewed-on: https://code.wireshark.org/review/12073 Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-09-18NAS EPS: do not try to decode Message Elements when the end of the message ↵Pascal Quantin1-4/+6
is reached Change-Id: Iaa05c3b4268c5c618134810c49f65d63995eccfb Reviewed-on: https://code.wireshark.org/review/10564 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-07-01NAS EPS: upgrade dissector to v12.9.0Pascal Quantin1-3/+3
Change-Id: Ic1fa22dee21b71b523ba5fcfc1ea1bf4c8029e6f Reviewed-on: https://code.wireshark.org/review/9445 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2015-06-25NAS EPS: fix a missed capital letterPascal Quantin1-1/+1
Change-Id: I937b832807e7fb5af69d0f3238011b41f9223f12 Reviewed-on: https://code.wireshark.org/review/9118 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2015-04-05NAS EPS: remove proto_tree_add_text callsPascal Quantin1-70/+73
Change-Id: Ib66a37c31df5da5c93dc7087528bb92d0ffec67e Reviewed-on: https://code.wireshark.org/review/7920 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-04-03NAS EPS: upgrade dissector to v12.8.0Pascal Quantin1-8/+47
Change-Id: I8b7f7380c32c38fa5483a2966b56a6c2ee687c1c Reviewed-on: https://code.wireshark.org/review/7892 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2015-01-263GPP: upgrade 2G/3G NAS dissector to v12.8.0 and NAS EPS dissector to v12.7.0Pascal Quantin1-5/+9
Change-Id: I770506762074b50d40b4f4742d8316368f14b4de Reviewed-on: https://code.wireshark.org/review/6794 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2015-01-14[E212]Modify dissect_e212_mcc_mnc() to take E212 number type as anAndersBroman1-5/+5
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-02Replace proto_tree_add_text in dissector header files where it was used in a ↵Michael Mann1-51/+62
macro that should be expert info. Change-Id: I045368a0a91586231fc4b1e2700c2275088b76af Reviewed-on: https://code.wireshark.org/review/6244 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-12-21Cleanup use of #includes in non-generated epan/dissector/*.cBill Meier1-3/+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-043GPP: upgrade 2G/3G NAS dissector to v12.7.0 and NAS EPS dissector to v12.6.0Pascal Quantin1-16/+130
Change-Id: I1e5bc5d28cb956b333c302b1cb18335b59d096a8 Reviewed-on: https://code.wireshark.org/review/5621 Reviewed-by: Anders Broman <a.broman58@gmail.com> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-11-14NAS EPS: fix dissection of APN AMBR IE when first byte is set to 0xFEPascal Quantin1-14/+6
Bug: 10699 Change-Id: I0f359639d5836f557370ab6d6aad45faa4417b6e Reviewed-on: https://code.wireshark.org/review/5285 Tested-by: Pascal Quantin <pascal.quantin@gmail.com> 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-08-19NAS EPS: remove a now unused hf entry and convert tabs to spacesPascal Quantin1-7/+1
Change-Id: I3d5e91bd0bdb44fe033284aa38bc1f3a1dc35f4f Reviewed-on: https://code.wireshark.org/review/3740 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-08-19Use dissect_e212_imsi() to dissect IMSIAndersBroman1-49/+7
Fix dissection when MCC starts in the high nibble. Replace deprecated APIs Change-Id: Ic08a1db9ee7ebb535bf7914191807304e9f88981 Reviewed-on: https://code.wireshark.org/review/3736 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-06-19Revert "Fixup: tvb_* -> tvb_captured"Michael Mann1-5/+5
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-5/+5
Change-Id: I9209c1271967405c34c1b6fa43e1726a4d3a5a3f Reviewed-on: https://code.wireshark.org/review/2377 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-06-07tvb_new_subset -> tvb_new_subset_length when length parameters are equal.Michael Mann1-7/+7
tvb_new_subset -> tvb_new_subset_remaining it appears that's what the intention is. Change-Id: I2334bbf3f10475b3c22391392fc8b6864454de2d Reviewed-on: https://code.wireshark.org/review/1999 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-05-16Show EMM and ESM causes in the Info columnMartin Mathieson1-0/+10
Change-Id: I2e3be18e997d6be0b250fbd8e664779d0d2a8228 Reviewed-on: https://code.wireshark.org/review/1666 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Evan Huus <eapache@gmail.com>
2014-05-02Fix Dereference of null pointer found by Clang analyzerAlexis La Goutte1-43/+54
Also add modeline info and use _U_ only when it is needed (for pinfo) Change-Id: I71349d6451e1d8304fad04781e5ee226a1a4c729 Reviewed-on: https://code.wireshark.org/review/1466 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-03-27NAS EPS: display also detach cause in case of network initiated procedurePascal Quantin1-7/+11
Change-Id: I36fef9eb8a81b03f29c812f94524f4cdf056448b Reviewed-on: https://code.wireshark.org/review/844 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-03-27From Martin Mathiesson: Display Detach Type in info col.AndersBroman1-2/+8
Change-Id: I33692ac93f60cbabec0804f6ee7e75a9d5b9497c Reviewed-on: https://code.wireshark.org/review/842 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-02-23NAS EPS: fix dissection of CS service notification messagePascal Quantin1-7/+7
Fixes bug 9789 Change-Id: I26ed1e9d8bb5b662af97d19f64b5f4b39374a5ee Reviewed-on: https://code.wireshark.org/review/330 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2013-12-14Fix [-Wmissing-prototypes]Jakub Zawadzki1-1/+5
svn path=/trunk/; revision=54095
2013-10-13whitespace fixes; mostly: remove trailing blanksBill Meier1-1/+1
svn path=/trunk/; revision=52591
2013-09-29Add a MBIM (Mobile Broadband Interface Model) dissectorPascal Quantin1-2/+2
Still to be done: - fragmentation support - plug the MBIM dissector on USB dissector svn path=/trunk/; revision=52279
2013-09-16Convert proto_tree_add_uint_format to proto_tree_add_uint_format_value if ↵Michael Mann1-30/+24
hf_ field name is the first part of the formatted string. This was all manual inspection and most cases were either: 1. Case sensitivity differences between hf_ field name and formatted string. 2. Unnecessary whitespace between hf_ field name and colon in formatted string There are cases where the hf_ field name doesn't quite match the proto_tree_add_uint_format, but it's close enough that one of them should be "right", I'm just not sure which is, I just know the string in proto_tree_add_uint_format is the one displayed. svn path=/trunk/; revision=52098
2013-09-03Remove obsolete codePascal Quantin1-24/+0
svn path=/trunk/; revision=51743
2013-08-30Convert a few dissectors from EMEM to WMEM APIPascal Quantin1-1/+2
svn path=/trunk/; revision=51597
2013-05-03Remove static packet_info *gpinfo and just use the packet_info provided by ↵Michael Mann1-21/+14
the function. svn path=/trunk/; revision=49145
2013-04-15Add dissection of USAT TLV IARI, PLMN list, EPS PDN connection activation ↵Pascal Quantin1-1/+1
parameters and Tracking Area Identification svn path=/trunk/; revision=48862
2013-03-29Rename value string (and similar) functions to use a consistent pattern. ThisEvan Huus1-2/+2
was done using textual search+replace, not anything syntax-aware, so presumably it got most comments as well (except where there were typos). Use a consistent coding style, and make proper use of the WS_DLL_* defines. Group the functions appropriately in the header. I ended up getting rid of most of the explanatory comments since many of them duplicated what was in the value_string.c file (and were out of sync with the recent updates I made to those in r48633). Presumably most of the comments should be in the .h file not the .c file, but there's enough churn ahead that it's not worth fixing yet. Part of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8467 svn path=/trunk/; revision=48634
2013-03-24Do not initialize ett_tree and msg_fcn_p when match_strval_idx_ext does not ↵Pascal Quantin1-4/+8
find a match svn path=/trunk/; revision=48538
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=48425
2013-03-18As suggested by Evan Huus, use extended value_stringsPascal Quantin1-4/+7
svn path=/trunk/; revision=48407
2013-03-18use enum values instead of hardcoded valuesPascal Quantin1-110/+109
(as suggested by Sylvain Munaut in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8487) svn path=/trunk/; revision=48397
2013-01-22Try to fix dissection of GSM protocol family broken by r47209.Pascal Quantin1-79/+79
Using val_to_str seemed to be a good idea, but most value_string arrays were not properly filled or were using hacks. (I hope I got everything right...) svn path=/trunk/; revision=47218
2013-01-11#if 0 out some variables that are used only in now-#if 0'ed code.Guy Harris1-0/+4
svn path=/trunk/; revision=47040
2013-01-11Try to deduce NAS EPS Detach Request direction from message sizePascal Quantin1-3/+10
svn path=/trunk/; revision=47039
2013-01-07Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8168 :Pascal Quantin1-1/+1
Detect properly the EMM Service Request message svn path=/trunk/; revision=46991
2012-12-29Upgrade NAS disssectors to v11.5.0Pascal Quantin1-27/+32
svn path=/trunk/; revision=46842
2012-12-03Minor cleanup:Bill Meier1-64/+151
- prefs callback not needed; - move proto_reg_handoff...() to the end of the file as per convention; - reformat some log lines. svn path=/trunk/; revision=46358
2012-12-03Fix [-Wshadow] warning for purported variable shadowing another.Bill Meier1-2/+2
svn path=/trunk/; revision=46356
2012-11-14Revert 46018. Needs rethinking.Anders Broman1-4/+7
svn path=/trunk/; revision=46028
2012-11-13Display text in subtreePascal Quantin1-1/+1
svn path=/trunk/; revision=46026