aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-e164.c
AgeCommit message (Collapse)AuthorFilesLines
2014-12-31E.164: display country_code as decimal not hexLuke Mewburn1-366/+428
Display and filter e164.country_code and e164.identification_code as decimal instead of hexadecimal, as that is more natural. E.g. Use 'e164.country_code == 61' instead of 'e164.country_code == 0x61' to match Australia (+61...) If the country_code or identification_code contain BCD digits > 9 add an expert info warning. Required modifying the various prefix to description value_string arrays from hex to decimal constants, and converting the decoded BCD from hex to decimal before adding to the proto tree. Change-Id: Ibedfc75246fe409b7d63776083379bb028fb784b Reviewed-on: https://code.wireshark.org/review/6054 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-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-10-03Add editor modelines; Adjust whitespace as needed.Bill Meier1-82/+92
Change-Id: I391cdf80a6e4ae5b0f4068e0500a90d013588f8a Reviewed-on: https://code.wireshark.org/review/4442 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-09-01Use a common hf for international E164 numbers (MSISDN).AndersBroman1-1/+7
Change-Id: Ie0103c04033d7bf69c92947b789ba4f5a300a74b Reviewed-on: https://code.wireshark.org/review/3863 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-08-27E.164: update list to Operational Bulletin No. 1057 (1.VIII.2014)Pascal Quantin1-1/+6
Change-Id: If1767dcf9a533d10e0ac946a2f31d7f58ea7b01c Reviewed-on: https://code.wireshark.org/review/3875 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-22Decode the 3GPP MSISDN AVP using the E.164 routines.Jeff Morriss1-4/+15
Rename dissect_e164_utf8_number() to dissect_e164_msisdn() and give it an 'encoding' argument. Change-Id: I49cf5d2b24b44a0e69427ceae331f378024391c5 Reviewed-on: https://code.wireshark.org/review/3796 Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2014-08-21Add a function to dissect an E.164 (MSISDN) number in UTF8 format and use itJeff Morriss1-102/+163
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>
2014-08-05Eliminate proto_tree_add_text from some dissectors.Michael Mann1-11/+22
Other minor cleanup while in the area. Change-Id: Id8d957d3d68a2e3dd5089f490bd59d773e1be967 Reviewed-on: https://code.wireshark.org/review/3427 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-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-10-20Remove non-ASCII characters causing checkAPI failuresEvan Huus1-1/+1
svn path=/trunk/; revision=52703
2013-10-19Update ITU E.164 list to Operational Bulletin No. 1038 (15.X.2013)Pascal Quantin1-308/+313
svn path=/trunk/; revision=52686
2013-04-02Use extended value stringsPascal Quantin1-46/+48
svn path=/trunk/; revision=48714
2013-04-02Update E.164 dissection to ITU Operational Bulletin No. 991Pascal Quantin1-219/+272
svn path=/trunk/; revision=48711
2013-04-02From Vineeth via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8450 :Pascal Quantin1-2/+4
Do not try to systematically fetch a third digit for Country Code: its length can be from 1 to 3 digits. svn path=/trunk/; revision=48697
2013-03-16[-Wmissing-prototypes]Anders Broman1-0/+2
Use explicit casts. svn path=/trunk/; revision=48344
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
2011-04-27Put the length of the country code in parenthesis (for readability).Jeff Morriss1-1/+2
svn path=/trunk/; revision=36898
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-2/+2
(1) Trailing/leading spaces are removed from 'name's/'blurb's (2) Duplicate 'blurb's are replaced with NULL (3) Empty ("") 'blurb's are replaced with NULL (4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME, FT_PROTOCOL, FT_STRING and FT_STRINGZ field types (5) Only allow non-zero value for 'display' if 'bitmask' is non-zero svn path=/trunk/; revision=28770
2008-12-17Fix typos and spelling (mostly in text strings) Bill Meier1-1/+1
svn path=/trunk/; revision=27028
2008-01-09dissect_e164_cc(): when the address is BCD coded, don't increment cc_offset ↵Jeff Morriss1-130/+129
just to get the 2nd octet of the address (because cc_offset is used later as the offset where the CC starts). svn path=/trunk/; revision=24050
2007-10-17Properly decode "South Africa"Jaap Keuter1-1/+1
svn path=/trunk/; revision=23212
2007-01-09Implement COMPLEMENT TO ITU-T RECOMMENDATION E.164 (02/2005):Jaap Keuter1-23/+34
- Modify few country codes - Add new international networks Cleanup sourcecode svn path=/trunk/; revision=20361
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-3/+3
svn path=/trunk/; revision=18196
2006-05-03Add dissection of country code if number is in international format and ↵Anders Broman1-0/+174
Number plan is E164. svn path=/trunk/; revision=18085
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+433
Also move ncp222.py, x11-fields, process-x11-fields.pl, make-reg-dotc, and make-reg-dotc.py. Adjust #include lines in files that include packet-*.h files. svn path=/trunk/; revision=11410