aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-nas_eps.c
AgeCommit message (Collapse)AuthorFilesLines
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
2012-11-13Try to fix dissection with g_nas_eps_dissect_plain == TRUE.Anders Broman1-7/+4
svn path=/trunk/; revision=46018
2012-10-25From Umberto Corponi via ↵Pascal Quantin1-2/+3
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7912 : Allow dissection of ESM messages with integrity protection and EEA0 ciphering From me: Tighten heuristic to check for allowed EPS bearer identity values svn path=/trunk/; revision=45789
2012-10-08Enhance dissection of Open Channel proactive commandPascal Quantin1-2/+2
svn path=/trunk/; revision=45413
2012-10-02Use a value string array for EPS Bearer Identity and remove useless ↵Pascal Quantin1-22/+22
de_esm_lnkd_eps_bearer_id function svn path=/trunk/; revision=45267
2012-10-02Upgrade NAS EPS dissector to v11.4.0 (Release 11)Pascal Quantin1-16/+103
svn path=/trunk/; revision=45253
2012-09-21Test Procedures messages should be also integrity protectedPascal Quantin1-1/+1
svn path=/trunk/; revision=45046
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-10Initial commit to support yet another method of passing data between dissectors.Jakub Zawadzki1-2/+2
Add new parameter 'data' to heur_dissector_t and new_dissector_t, for now it's always NULL svn path=/trunk/; revision=44860
2012-07-17Use same capitalization for Service request message as for other messagesPascal Quantin1-2/+2
svn path=/trunk/; revision=43761
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-06-25Fix dissection of NAS EPS Service Request message (broken in r42200)Pascal Quantin1-8/+21
svn path=/trunk/; revision=43474
2012-06-25Fix typo errorsPascal Quantin1-5/+5
svn path=/trunk/; revision=43473
2012-06-14Fix function name (it is an Authentication failure, not an Attach failure)Pascal Quantin1-2/+2
svn path=/trunk/; revision=43255
2012-06-14Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7368 :Pascal Quantin1-1/+1
Identity request, Identity response and Authentication failure message dissection are swapped svn path=/trunk/; revision=43253
2012-05-21Display Element ID in hexadecimal (like in 3GPP specs)pascal1-4/+4
Display EPS bearer ID in decimal svn path=/trunk/; revision=42755
2012-05-20Upgrade NAS EPS dissector to Release 10 (10.6.1)pascal1-55/+192
svn path=/trunk/; revision=42722
2012-05-07General minor cleanup including:Bill Meier1-216/+216
- remove unneeded #includes; - use val_to_str_const() as appropriate; - reformat hf[] entries; - reformat long lines; - use #if 0/#endif to coment out code instead of /* ... */; - remove boilerplate comments; - whitespace & indentation svn path=/trunk/; revision=42487
2012-05-04value_string_ext: Reorder entries in value_string arrays to get Binary ↵Jakub Zawadzki1-1/+1
Search instead of Linear Search. svn path=/trunk/; revision=42418
2012-04-24From David Wei:Anders Broman1-53/+74
Bug fixes and improvements to Sm (GTPv2) and SGmb (DIAMETER) dissectors. svn path=/trunk/; revision=42220
2012-03-13Use tvb_new_subset_remaining(...) in place of tvb_new_subset(..., -1, -1);Bill Meier1-66/+76
Use value_string_ext to reference a few value_strings; Use val_to_str_const() in place of val_to_str() in a few cases; Use BASE_NONE for a few hf[] FT_BOOLEAN entries with 0x0 bitmask. svn path=/trunk/; revision=41539