aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ansi_map.c
AgeCommit message (Collapse)AuthorFilesLines
2011-11-19Get rid of Warnings.etxrab1-8/+8
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39951 f5534014-38df-0310-8fa8-9805f1628bb7
2011-11-18Use tvb_bcd_dig_to_ep_str().etxrab1-44/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39929 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.wmeier1-1/+1
Also: remove trailing whitespace for a number of files. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39503 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-18Do some more conversions of proto_tree_add_item() 'encoding' argwmeier1-9/+9
(previously missed). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39451 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-15Convert asn1 template files proto_tree_add_item() 'encoding' arg for field ↵wmeier1-2/+2
types FT_STRING as follows: 1. If there's no character encoding (ENC_ASCII, ...) specified then use ENC_ASCII. 2. Always use ENC_NA (replacing any existing True/1/FALSE/0 /ENC_BIG_ENDIAN/ENC_LITTLE_ENDIAN). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39428 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-15Update generated ASN1 *.[hc] files after recent work done by Jeff Morriss;wmeier1-1/+1
The only change in each file is in a comment showing the asn2wrs cmd used to build that file. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39427 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-10Convert 'encoding' parameter of certain proto_tree_add_item() calls in asn1/*:wmeier1-105/+105
Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as the encoding parameter for proto_tree_add_item() calls which directly reference an item in hf[] which has a type of: FT_BOOLEAN FT_IPv4 FT_EUI64 FT_GUID FT_UINT_STRING Also: For type FT_IPv6 use ENC_NA. (This was missed in SVN #39260) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39332 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in asn1 ↵wmeier1-97/+97
dissectors: Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as the encoding parameter for proto_tree_add_item() calls which directly reference an item in hf[] which has a type of: FT_UINT8 FT_UINT16 FT_UINT24 FT_UINT32 FT_UINT64 FT_INT8 FT_INT16 FT_INT24 FT_INT32 FT_INT64 FT_FLOAT FT_DOUBLE git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39294 f5534014-38df-0310-8fa8-9805f1628bb7
2011-07-21Try to do a more syntactically correct import.etxrab1-1/+1
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6150 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38159 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-18Fix a couple (value) mistakes in value_strings. Found by Martin's patch on ↵morriss1-6/+6
the -dev list. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37259 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-11Regenerate the ANSI MAP, LDAP, and TETRA dissectors so that Coverity cangerald1-56/+56
locate their template files. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36569 f5534014-38df-0310-8fa8-9805f1628bb7
2011-02-07Add a missing IE found in trace from ↵etxrab1-0/+1
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5637 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35842 f5534014-38df-0310-8fa8-9805f1628bb7
2011-02-05Remove debug printouts.etxrab1-6/+7
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35834 f5534014-38df-0310-8fa8-9805f1628bb7
2011-02-04Introduce preferences to set the strictness of Invoke/responseetxrab1-17/+49
tracking. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35822 f5534014-38df-0310-8fa8-9805f1628bb7
2011-01-16From Porus Mehta:etxrab1-7/+7
Corrections to ANSI MAP ASN.1 specifications. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5584 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35556 f5534014-38df-0310-8fa8-9805f1628bb7
2010-12-28Add tvb_bcd_dig_to_ep_str()etxrab1-4/+8
/* * Given a tvbuff, an offset into the tvbuff, and a length that starts * at that offset (which may be -1 for "all the way to the end of the * tvbuff"), fetch BCD encoded digits from a tvbuff starting from either * the low or high half byte, formating the digits according to an input digit set, * if NUll a default digit set of 0-9 returning "?" for overdecadic digits will be used. * A pointer to the EP allocated string will be returned. * Note a tvbuff content of 0xf is considered a 'filler' and will end the conversion. */ git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35286 f5534014-38df-0310-8fa8-9805f1628bb7
2010-12-20Rename the routines that handle dissector tables with unsigned integerguy1-6/+6
keys to have _uint in their names, to match the routines that handle dissector tables with string keys. (Using _port can confuse people into thinking they're intended solely for use with TCP/UDP/etc. ports when, in fact, they work better for things such as Ethernet types, where the binding of particular values to particular protocols are a lot stronger.) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35224 f5534014-38df-0310-8fa8-9805f1628bb7
2010-11-16Use value_string_ext fcns to access several value_string arrays;wmeier1-66/+87
Minor whitespace cleanup. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34900 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-11Add a little more code to avoid not-very-useful blurbs:morriss1-5/+5
- Change spaces in the name to underscores before comparing it to the blurb. - Check if the type simply as T_ prepended to the name. - Don't put in a blurb of "NULL". and regenerate the dissectors. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32748 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-11Regenerate a few of the ASN.1 dissectorsmorriss1-547/+547
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32742 f5534014-38df-0310-8fa8-9805f1628bb7
2010-04-07#include <string.h> and/or #include <stdio.h> not needed.wmeier1-7/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32417 f5534014-38df-0310-8fa8-9805f1628bb7
2010-04-06#include <stdio.h> not needed.wmeier1-6/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32405 f5534014-38df-0310-8fa8-9805f1628bb7
2010-04-01Fix Tag value wrong in ansi_map.asn file for ServiceId in ServiceRequest ↵etxrab1-1/+1
message. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4637 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32354 f5534014-38df-0310-8fa8-9805f1628bb7
2010-02-23Squelch a bunch of compiler warnings.guy1-4/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31961 f5534014-38df-0310-8fa8-9805f1628bb7
2010-01-13From Didier Gautheron:etxrab1-6/+2
col_clear.diff Remove calls to col_clear : - called twice. - before functions which also clear the column - by replacing col_clear + col_append_xxx with col_add_xxx https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4394 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31517 f5534014-38df-0310-8fa8-9805f1628bb7
2010-01-07From Michael Lum:etxrab1-16/+20
Fixes for E911 mobile positioning capability and Handoff Back2. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4373 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31462 f5534014-38df-0310-8fa8-9805f1628bb7
2009-12-18Dissect NumberPortabilityRequest return result.etxrab1-2/+42
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31306 f5534014-38df-0310-8fa8-9805f1628bb7
2009-11-19From Michael Lum:etxrab1-4/+47
The attached patch calls the tap to allow the number of each type of message to be counted. The patch does not fix the "size"/number of octets column that is all zeroes. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4253 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31027 f5534014-38df-0310-8fa8-9805f1628bb7
2009-11-19From Michael Lum:etxrab1-0/+18
MEID missing from some messages. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4252 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31025 f5534014-38df-0310-8fa8-9805f1628bb7
2009-11-17Mobile On Channel carries no data.etxrab1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30998 f5534014-38df-0310-8fa8-9805f1628bb7
2009-09-15Don't call check_col(). Add a space at the end of each COL_INFO entry to ↵morriss1-21/+13
make the column more readable when SCTP bundles multiple messages together. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29922 f5534014-38df-0310-8fa8-9805f1628bb7
2009-09-06Rename address_to_str() to ep_address_to_str() because:krj1-115/+115
1) This indicates that the string has ephemeral lifetime 2) More consistent with its existing seasonal counterpart, se_address_to_str(). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29747 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-09Don't guard col_set_str (COL_INFO/COL_PROTOCOL) with col_checkkrj1-4/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29345 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-26Re-generate asn1 dissectors after hf_register_info cleanup.stig1-12/+12
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28848 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-18From Kovarththanan Rajaratnam via bug 3548:stig1-429/+429
(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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28770 f5534014-38df-0310-8fa8-9805f1628bb7
2009-05-16Regenerate all asn2wrs generated dissectors.stig1-18/+18
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28379 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-08Add dissection of:etxrab1-16/+345
- SMSDeliveryPointToPointAck - InterSystemSMSDeliveryPointToPoint - QualificationRequest2 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27991 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-01According to the section 2.4 of the spec.etxrab1-2/+2
http://www.3gpp2.org/Public_html/specs/X.S0004-540-E_v2.0_070723.pdf mandatory parameters for the message Authentication Failure Report. 1. Electronic serial number 2. MSID(i.e MIN/IMSI) 3.Report Type 4.System Access Type 5.System Capabilities(Serving) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27923 f5534014-38df-0310-8fa8-9805f1628bb7
2009-03-27In informationDirective use MSID instead of mobileIdentificationNumber.etxrab1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27858 f5534014-38df-0310-8fa8-9805f1628bb7
2009-03-23From Michael Lum:etxrab1-81/+58
ANSI MAP FeatureRequest update https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3349 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27836 f5534014-38df-0310-8fa8-9805f1628bb7
2009-03-23Fix: The AuthDir invoke is missing optional tags for a couple of parameters.etxrab1-9/+55
and FeatReq invoke fixes. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27831 f5534014-38df-0310-8fa8-9805f1628bb7
2009-03-15As suggested by Jakub Zawadzki: g_free() is NULL safe, so we don't need ↵wmeier1-3329/+3324
check against it. Also (from me): Clean up spacing git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27727 f5534014-38df-0310-8fa8-9805f1628bb7
2009-03-11From Michael Lum:etxrab1-2/+2
More dissection of IOS parameters in ANSI MAP IOS Invoke/Response Data https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3323 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27695 f5534014-38df-0310-8fa8-9805f1628bb7
2009-02-17From Michael Lum:etxrab1-0/+2
ANSI MAP fix for missing MEID/MSC ID number in RegNot https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3255 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27469 f5534014-38df-0310-8fa8-9805f1628bb7
2009-02-07#include <epan/conversation.h> and/or #include <epan/emem.h> not req'd ...wmeier1-7/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27390 f5534014-38df-0310-8fa8-9805f1628bb7
2009-02-05From Michael Lum:etxrab1-5/+15
ANSI MAP digits type decode and bitmask corrections https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3233 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27379 f5534014-38df-0310-8fa8-9805f1628bb7
2009-01-20From Michael Lum:etxrab1-27/+24
ANSI MAP fix for TRN digits/SMS and OTA subdissection https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3214 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27276 f5534014-38df-0310-8fa8-9805f1628bb7
2008-12-18Fix various typos and spelling errors (mostly in text strings)wmeier1-13/+13
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27050 f5534014-38df-0310-8fa8-9805f1628bb7
2008-12-17Fix some typos and spelling (mostly in text strings)wmeier1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27037 f5534014-38df-0310-8fa8-9805f1628bb7
2008-12-03From Michael Lum:etxrab1-6/+43
- new service options - one comment was incorrect - Expanded a profile in one of the messages git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26905 f5534014-38df-0310-8fa8-9805f1628bb7