Commit Graph

105 Commits

Author SHA1 Message Date
Guy Harris a8bc4a0d13 Rename the routines that handle dissector tables with unsigned integer
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.)

svn path=/trunk/; revision=35224
2010-12-20 05:35:29 +00:00
Bill Meier 491f05b16e Use value_string_ext fcns to access several value_string arrays;
Minor whitespace cleanup.

svn path=/trunk/; revision=34900
2010-11-16 15:20:33 +00:00
Jeff Morriss a0c858efcd Add a little more code to avoid not-very-useful blurbs:
- 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.

svn path=/trunk/; revision=32748
2010-05-11 03:53:31 +00:00
Jeff Morriss 8f210cf4e0 Regenerate a few of the ASN.1 dissectors
svn path=/trunk/; revision=32742
2010-05-11 02:13:26 +00:00
Bill Meier 9ade30a7b1 #include <string.h> and/or #include <stdio.h> not needed.
svn path=/trunk/; revision=32417
2010-04-07 16:54:29 +00:00
Bill Meier f8b92f8d0b #include <stdio.h> not needed.
svn path=/trunk/; revision=32405
2010-04-06 17:01:14 +00:00
Anders Broman 5c2af3980f Fix Tag value wrong in ansi_map.asn file for ServiceId in ServiceRequest message.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4637

svn path=/trunk/; revision=32354
2010-04-01 20:07:17 +00:00
Guy Harris b395a98305 Squelch a bunch of compiler warnings.
svn path=/trunk/; revision=31961
2010-02-23 04:35:23 +00:00
Anders Broman c4dd31cd87 From Didier Gautheron:
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

svn path=/trunk/; revision=31517
2010-01-13 20:25:10 +00:00
Anders Broman 4d0c391d5d From Michael Lum:
Fixes for E911 mobile positioning capability and Handoff Back2.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4373

svn path=/trunk/; revision=31462
2010-01-07 20:27:38 +00:00
Anders Broman 1661212158 Dissect NumberPortabilityRequest return result.
svn path=/trunk/; revision=31306
2009-12-18 06:26:20 +00:00
Anders Broman b1f6df534a From Michael Lum:
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

svn path=/trunk/; revision=31027
2009-11-19 21:44:28 +00:00
Anders Broman 4a2c426b34 From Michael Lum:
MEID missing from some messages.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4252

svn path=/trunk/; revision=31025
2009-11-19 21:12:58 +00:00
Anders Broman 0d6239a976 Mobile On Channel carries no data.
svn path=/trunk/; revision=30998
2009-11-17 20:48:04 +00:00
Jeff Morriss 7a91a5b053 Don't call check_col(). Add a space at the end of each COL_INFO entry to make the column more readable when SCTP bundles multiple messages together.
svn path=/trunk/; revision=29922
2009-09-15 15:16:15 +00:00
Kovarththanan Rajaratnam 8c48c6835f Rename address_to_str() to ep_address_to_str() because:
1) This indicates that the string has ephemeral lifetime
2) More consistent with its existing seasonal counterpart, se_address_to_str().

svn path=/trunk/; revision=29747
2009-09-06 14:25:47 +00:00
Kovarththanan Rajaratnam 6110a96f68 Don't guard col_set_str (COL_INFO/COL_PROTOCOL) with col_check
svn path=/trunk/; revision=29345
2009-08-09 07:59:51 +00:00
Stig Bjørlykke 9733aadcfe Re-generate asn1 dissectors after hf_register_info cleanup.
svn path=/trunk/; revision=28848
2009-06-26 03:59:01 +00:00
Stig Bjørlykke b228488bc0 From Kovarththanan Rajaratnam via bug 3548:
(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
2009-06-18 21:30:42 +00:00
Stig Bjørlykke c47e788c94 Regenerate all asn2wrs generated dissectors.
svn path=/trunk/; revision=28379
2009-05-16 22:07:03 +00:00
Anders Broman 27026d0eb1 Add dissection of:
- SMSDeliveryPointToPointAck
- InterSystemSMSDeliveryPointToPoint
- QualificationRequest2

svn path=/trunk/; revision=27991
2009-04-08 06:28:34 +00:00
Anders Broman 87c4184e91 According to the section 2.4 of the spec.
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)

svn path=/trunk/; revision=27923
2009-04-01 16:21:00 +00:00
Anders Broman 44c3d1b3ad In informationDirective use MSID instead of mobileIdentificationNumber.
svn path=/trunk/; revision=27858
2009-03-27 06:59:15 +00:00
Anders Broman 84bea61368 From Michael Lum:
ANSI MAP FeatureRequest update
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3349

svn path=/trunk/; revision=27836
2009-03-23 21:24:04 +00:00
Anders Broman aa4ddb790d Fix: The AuthDir invoke is missing optional tags for a couple of parameters.
and FeatReq invoke fixes.

svn path=/trunk/; revision=27831
2009-03-23 17:30:38 +00:00
Bill Meier 0f9f5caf9d As suggested by Jakub Zawadzki: g_free() is NULL safe, so we don't need check against it.
Also (from me): Clean up spacing

svn path=/trunk/; revision=27727
2009-03-15 15:40:55 +00:00
Anders Broman dd90adfe90 From Michael Lum:
More dissection of IOS parameters in ANSI MAP IOS Invoke/Response Data
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3323

svn path=/trunk/; revision=27695
2009-03-11 06:27:40 +00:00
Anders Broman 735764e6da From Michael Lum:
ANSI MAP fix for missing MEID/MSC ID number in RegNot
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3255

svn path=/trunk/; revision=27469
2009-02-17 05:54:04 +00:00
Bill Meier 35e5fa9bc1 #include <epan/conversation.h> and/or #include <epan/emem.h> not req'd ...
svn path=/trunk/; revision=27390
2009-02-07 14:33:47 +00:00
Anders Broman 9636044d74 From Michael Lum:
ANSI MAP digits type decode and bitmask corrections
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3233

svn path=/trunk/; revision=27379
2009-02-05 18:09:00 +00:00
Anders Broman 8474c3d23d From Michael Lum:
ANSI MAP fix for TRN digits/SMS and OTA subdissection
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3214

svn path=/trunk/; revision=27276
2009-01-20 20:16:33 +00:00
Bill Meier c544c20956 Fix various typos and spelling errors (mostly in text strings)
svn path=/trunk/; revision=27050
2008-12-18 19:08:49 +00:00
Bill Meier a8f30cbca1 Fix some typos and spelling (mostly in text strings)
svn path=/trunk/; revision=27037
2008-12-17 17:23:37 +00:00
Anders Broman 3d0e9d7e34 From Michael Lum:
- new service options
- one comment was incorrect
- Expanded a profile in one of the messages

svn path=/trunk/; revision=26905
2008-12-03 06:46:23 +00:00
Anders Broman 49ce0c4edf Bug fixes:
- Put QualificationDirectiveRes in the tree.
- Use correct tag value for messageWaitingNotificationType (145)
- analogRedirectRecord is OPTIONAL.

svn path=/trunk/; revision=26877
2008-11-29 21:21:16 +00:00
Anders Broman 8aa42cd917 The updated Profile wasn't expanded in all places.
svn path=/trunk/; revision=26867
2008-11-27 19:38:41 +00:00
Bill Meier 18f81c6991 Re-generated packet-ansi_map.c (See svn #26718)
svn path=/trunk/; revision=26719
2008-11-06 22:08:46 +00:00
Anders Broman ac85993e58 Invalid code in range_delete_callback.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3041

svn path=/trunk/; revision=26715
2008-11-06 21:41:49 +00:00
Anders Broman e375c3990a Regenerate all asn2wrs generated dissectors
svn path=/trunk/; revision=26670
2008-11-01 22:30:14 +00:00
Anders Broman 9b9c51873b From shmulikB:
1. ansi map fail to parser BCD digits when Numbering Plan: Telephony Numbering
(ITU-T Rec. E.164,E.163) (2)

2. fix dissector_try_port if sms-TeleserviceIdentifier RECIEVE BEFORE
sms-BearerData.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2989

svn path=/trunk/; revision=26521
2008-10-23 05:56:28 +00:00
Stig Bjørlykke 677eb18d20 Rewrote some prohibited APIs in epan/dissectors/ (sprintf, strcpy, strcat).
If we get some truncated strings we probably overwrote some buffers...

svn path=/trunk/; revision=24249
2008-02-02 17:25:40 +00:00
Anders Broman d38d7348e0 Wrong string used in g_hash_table_lookup().
Fix bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2154

svn path=/trunk/; revision=24000
2008-01-03 13:00:56 +00:00
Guy Harris b2f28fb370 Get rid of non-ASCII character in a value_string table. (They might
upset MSVC++ if the wrong code page is selected, and there's no
guarantee that all forms of output of dissected packets are in any
particular character encoding.)

svn path=/trunk/; revision=23819
2007-12-09 21:10:25 +00:00
Anders Broman 063c688bc0 Fix bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2057
The tag for PSTNTermination is [95].

svn path=/trunk/; revision=23723
2007-12-03 22:22:25 +00:00
Jeff Morriss 980f624770 (Again, this time for ANSI MAP) From Florent Drouin: malloc the size of the structure, not the size of a pointer to the structure. Hopefully this will fix bug 1844.
svn path=/trunk/; revision=22892
2007-09-17 17:58:49 +00:00
Anders Broman 30e64dade4 Try to protect the hash table...
svn path=/trunk/; revision=22866
2007-09-13 20:20:11 +00:00
Anders Broman 120a0759b3 Warning fixes.
svn path=/trunk/; revision=22855
2007-09-12 18:12:18 +00:00
Anders Broman c4daf58278 Use the new ANSI TCAP dissector.
svn path=/trunk/; revision=22854
2007-09-12 16:45:53 +00:00
Stig Bjørlykke 2fc59fcc43 Fixed a warning: 'j' may be used uninitialized in this function.
svn path=/trunk/; revision=22815
2007-09-06 22:26:09 +00:00
Anders Broman 10f5c61bf3 Get rid of get_ber_last_reated_item() and fix dissection of wIN-TriggerList.
svn path=/trunk/; revision=22807
2007-09-06 16:27:17 +00:00