aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sccp.c
AgeCommit message (Collapse)AuthorFilesLines
2010-12-20Rename the routines that handle dissector tables with unsigned integerguy1-5/+5
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-12-01From Neil Piercy via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3301 :morriss1-13/+37
The information which is used to determine which sub-dissector to use for the various Data messages within an SCCP connection is only present within the initial Connection Request, so even with connection tracking on, unless the trace contains the Connection Request no sub-dissector is called. It is common for traces to only contain a single carried protocol anyway - e.g. RANAP. The supplied patch adds a user preference for a "default payload" sub-dissector, which is called in preference to the Data dissector if nothing else has claimed the packet first. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35098 f5534014-38df-0310-8fa8-9805f1628bb7
2010-12-01From Neil Piercy via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3301 :morriss1-6/+6
The packet-sccp.c has a bug in the declared valid ranges of the SSN and DPC values in the user table used to match to a subdissector. The SSN range is 16 bits rather than 8 (not really an issue) but the DPC range is 16 bits rather than 24 - so many traces cannot be matched by this table. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35097 f5534014-38df-0310-8fa8-9805f1628bb7
2010-11-22Initialize no_assoc.app_info=0.stig1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35011 f5534014-38df-0310-8fa8-9805f1628bb7
2010-10-29Make the third argument to a UAT copy callback a size_t (not that any ofguy1-1/+1
the callbacks we have use that argument - is it really needed?). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34694 f5534014-38df-0310-8fa8-9805f1628bb7
2010-10-11hf variables can be copied/passed by value, not by reference.morriss1-6/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34467 f5534014-38df-0310-8fa8-9805f1628bb7
2010-06-04Add a preference that allows the user to decide if they want the calling andmorriss1-57/+68
called GTs (if RI=GT) put in the (pinfo) source and destination (and thus into the source and destination columns). This may help (if the PCs change but the GT does not) or hurt (if the GT or RI change but the PCs do not) TCAP's ability to identify which messages belong to which TCAP "session." git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33097 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-13Reindent a bitmorriss1-16/+22
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32794 f5534014-38df-0310-8fa8-9805f1628bb7
2010-04-03Remove unneeded #include <stdio.h>wmeier1-1/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32367 f5534014-38df-0310-8fa8-9805f1628bb7
2010-03-04From LEGO via bug 3459:stig1-0/+1
Add a callback to UAT to be called after the table has being updated, use it to renew the snmp_ue_cache. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32112 f5534014-38df-0310-8fa8-9805f1628bb7
2010-02-06Renamed some reassembled data texts.stig1-4/+4
Removed some check_col(). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31809 f5534014-38df-0310-8fa8-9805f1628bb7
2010-02-05Fix the MNC decoding when Global Title is builtdimeg1-1/+1
according to E.212 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31802 f5534014-38df-0310-8fa8-9805f1628bb7
2010-02-02Introduce "Reassembled length" filter element for all protocols doingstig1-0/+7
reassembly. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31767 f5534014-38df-0310-8fa8-9805f1628bb7
2010-01-13Try to fix indentation sligtly.etxrab1-66/+67
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31518 f5534014-38df-0310-8fa8-9805f1628bb7
2009-12-14Add support for LUDT/LUDTS in ANSI (ANSI added them in 2000/2001).morriss1-64/+53
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31268 f5534014-38df-0310-8fa8-9805f1628bb7
2009-11-27Expert info when E.212 MCC/MNC contain non-decimal digitsdimeg1-4/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31102 f5534014-38df-0310-8fa8-9805f1628bb7
2009-09-24* Prefer col_append_str instead of col_append_fstr for constant stringskrj1-12/+6
* Remove check_col guards git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30127 f5534014-38df-0310-8fa8-9805f1628bb7
2009-09-10offset_from_real_beginning() is only called with 0 as second argument, so ↵krj1-1/+1
remove the argument completely. It seems that the second argument only acts as an accumulator allowing offset_from_real_beginning() to call itself recursively. To be consistent offset_from_real_beginning() is renamed to tvb_offset_from_real_beginning(). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29844 f5534014-38df-0310-8fa8-9805f1628bb7
2009-09-06Rename address_to_str() to ep_address_to_str() because:krj1-2/+2
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-21Sanitize epan includeskrj1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29499 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-18Add an expert info noting that an ANSI message with the national indicator ↵morriss1-3/+7
set to 0 (international) is unusual. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29464 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-11Add a bunch of length checks. Fixes bug 3826.gerald1-32/+135
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29383 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-06Fix compilation warnings in a few dissectors and try moving them to thegerald1-6/+6
"clean" list. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29313 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-03Clean up indentation somewhat.guy1-207/+207
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29281 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-03Add a null pointer check. Remove some unused variables.gerald1-24/+24
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29278 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-18From Kovarththanan Rajaratnam via bug 3548:stig1-84/+84
(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-06-02Decode SCCP cause values in SUA (using value_strings exported from the SCCPmorriss1-5/+5
dissector). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28599 f5534014-38df-0310-8fa8-9805f1628bb7
2009-05-18Use se_alloc0 and ep_alloc0.gerald1-10/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28397 f5534014-38df-0310-8fa8-9805f1628bb7
2009-05-12Make an epxpert item checking PC length.etxrab1-24/+41
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3458 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28337 f5534014-38df-0310-8fa8-9805f1628bb7
2009-05-01From Reinhard Speyerer:jake1-1/+1
This patch fixes several misspellings/typos in Wireshark SVN revision 28201. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28223 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-21Constify some more value_strings.jake1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28101 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-15packet_sccp.c: Init an uninit'd variable which was the cause of intermittent ↵wmeier1-1/+2
crashes. Fixes Bug #3409 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3409) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28058 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-09Small indentation fix.etxrab1-30/+30
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28016 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-07Fix a typo.morriss1-31/+34
Fix up indentation of some value_strings. Add/fix some ANSI-specific return causes. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27986 f5534014-38df-0310-8fa8-9805f1628bb7
2009-03-08Indicate hexadecimal preferences.stig1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27650 f5534014-38df-0310-8fa8-9805f1628bb7
2009-02-16Add an additional "title" attribute for UAT fields; that's what'sguy1-4/+4
displayed to the user. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27462 f5534014-38df-0310-8fa8-9805f1628bb7
2008-11-13Fix some warnings.guy1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26770 f5534014-38df-0310-8fa8-9805f1628bb7
2008-10-23If we only see one half of a SCCP conneversation we can as a last resort ↵etxrab1-0/+33
make the association on the RLC(if seen). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26527 f5534014-38df-0310-8fa8-9805f1628bb7
2008-09-24Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2848 :morriss1-7/+2
Decode SUA GT digits. This removes the (undecoded, raw BCD) FT_BYTES field sua.global_title_signals and adds an FT_STRING field sua.global_title_digits (like in SCCP). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26262 f5534014-38df-0310-8fa8-9805f1628bb7
2008-09-19Correct the field lengths for the segmentation parameter (fixes the ↵morriss1-7/+5
highlighting in the byte pane). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26229 f5534014-38df-0310-8fa8-9805f1628bb7
2008-09-15If ANSI and national==0, decode the PC as ITU (not China). This fixes bug 2861.morriss1-4/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26210 f5534014-38df-0310-8fa8-9805f1628bb7
2008-06-26Fix some warnings reported by gcc -Wshadow ...wmeier1-3/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25607 f5534014-38df-0310-8fa8-9805f1628bb7
2008-05-09Fix some of the Errors/warnings detected by checkapi.etxrab1-5/+10
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25264 f5534014-38df-0310-8fa8-9805f1628bb7
2008-04-09Remove:etxrab1-4/+0
#ifdef NEED_G_ASCII_STRCASECMP_H #include "g_ascii_strcasecmp.h" #endif git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24859 f5534014-38df-0310-8fa8-9805f1628bb7
2008-03-28Fix compilation under Windows.gerald1-0/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24743 f5534014-38df-0310-8fa8-9805f1628bb7
2008-03-27Make sure we reset a pointer to ephemeral memory when we're done processinggerald1-2/+3
our packet, otherwise someone might try to use it later on. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24740 f5534014-38df-0310-8fa8-9805f1628bb7
2008-03-06Added an option to uat_new() to set if configuration shall be saved in thestig1-0/+1
selected profile. Don't save SMI Paths and SMI Modules in the profiles because reloading currently doesn't work (bug 2309). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24580 f5534014-38df-0310-8fa8-9805f1628bb7
2008-03-01Rewrote to use g_strlcpy and g_strlcat.stig1-4/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24525 f5534014-38df-0310-8fa8-9805f1628bb7
2008-02-10The type field of an mtp3_addr_pc_t is a "which SS7 standard is this?"guy1-4/+0
type, not a "how do I format addresses?" type; declare it as such, and remove the comment that pointed out that the type field had the wrong (C) type. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24297 f5534014-38df-0310-8fa8-9805f1628bb7
2008-02-09Fix (Sun) compiler warnings as reported by David Kirkby: Part 1wmeier1-2/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24295 f5534014-38df-0310-8fa8-9805f1628bb7