aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sua.c
AgeCommit message (Collapse)AuthorFilesLines
2012-08-10Use val_to_str_const() where appropriate;Bill Meier1-18/+18
Also (for a few files): - create/use some extended value strings; - remove unneeded #include files; - remove unneeded variable initialization; - re-order fcns slightly so prefs_reg_handoff...() at end, etc svn path=/trunk/; revision=44438
2012-06-28Update FSF address - part II.Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=43538
2012-01-20Fix Coverity CID 1369: UNUSED_VALUE by deleting duplicate and unecessary ↵Chris Maynard1-13/+11
line of code. svn path=/trunk/; revision=40609
2012-01-13Introduce a dissector table to be used for proprietary tags.Anders Broman1-4/+22
svn path=/trunk/; revision=40482
2011-11-30Make it possible to add a subdissector for the info string.Anders Broman1-34/+46
svn path=/trunk/; revision=40053
2011-10-15Convert proto_tree_add_item() 'encoding' arg for field types FT_STRING, ↵Bill Meier1-2/+2
FT_STRINGZ, FT_UINT_STRING as follows: 1. If there's no character encoding (ENC_ASCII, ...) specified then use ENC_ASCII. 2. For all but FT_UINT_STRING, always use ENC_NA (replacing any existing True/1/FALSE/0 /ENC_BIG_ENDIAN/ENC_LITTLE_ENDIAN). svn path=/trunk/; revision=39426
2011-10-10 Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-1/+1
non-autogenerated epan/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_BOOLEAN FT_IPv4 FT_EUI64 FT_GUID FT_UINT_STRING Also: For type FT_ITv6 use ENC_NA. (This was missed in SVN #39260) svn path=/trunk/; revision=39328
2011-10-04Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵Bill Meier1-18/+18
reference an hf item (in hf[] with types: FT_NONE FT_BYTES FT_IPV6 FT_IPXNET FT_OID Note: Encoding field set to ENC_NA only if the field was previously TRUE|FALSE|ENC_LITTLE_ENDIAN|ENC_BIG_ENDIAN svn path=/trunk/; revision=39260
2011-09-26Make buildbots happy by adding back closing brace.Chris Maynard1-1/+2
svn path=/trunk/; revision=39154
2011-09-26Get rid of check_col() and use ENC.Anders Broman1-11/+9
svn path=/trunk/; revision=39153
2011-05-12Wrap assoc_tree within #if 0 ... #endif. Fixes Coverity CID 1049.Chris Maynard1-1/+3
svn path=/trunk/; revision=37089
2011-02-18Try to fix more Clang scan-build warnings.Gerald Combs1-3/+3
svn path=/trunk/; revision=36005
2011-02-17Fixed no_sua_assoc init.Stig Bjørlykke1-1/+2
svn path=/trunk/; revision=35980
2011-02-17- Introduce association tracking(might not work well with multihoming).Anders Broman1-304/+510
- prefix hf variables with sua ( hf_sua...) svn path=/trunk/; revision=35979
2011-01-13Introduce, and start using, tvb_ip_to_str() and tvb_ip6_to_str(). TheseJeff Morriss1-2/+2
do the same as the non-tvb equivalents but take a TVB and an offset instead of a pointer to an array of bytes. Their purpose is to prevent (many) dissectors from doing: ip_to_str(tvb_get_ptr(...)). (About the names and the location: I like the names as they are but the names imply that they should live in tvbuff.c. That would make some sense but I didn't want to pull to_str.h into tvbuff.c...) svn path=/trunk/; revision=35519
2011-01-05Don't pass the result of tvb_get_ptr() into a %s format string: the string mayJeff Morriss1-2/+2
not be NULL terminated. Use tvb_get_ephemeral_string() instead. svn path=/trunk/; revision=35376
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-4/+4
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-06-04Use a gboolean to store a boolean and change the plurality on the preference ↵Jeff Morriss1-2/+2
name svn path=/trunk/; revision=33096
2010-06-04Add a preference that allows the user to decide if they want the source andJeff Morriss1-17/+55
destination address PC or GT (depending on the RI) put in the (pinfo) source and destination (and thus into the source and destination columns). This may help (if the IP addresses change but the PC or GT do not) or hurt (if the PC, GT, or RI change but the IP addresses do not) TCAP's ability to identify which messages belong to which TCAP "session." svn path=/trunk/; revision=33094
2010-06-03Set the (pinfo) address if a PC is present (for now: regardless of whether ↵Jeff Morriss1-4/+29
routing is on GT or not). svn path=/trunk/; revision=33076
2010-05-24Refer to the endianness arguments as "encoding" rather thanGuy Harris1-96/+96
"representation" - we already use "representation" to refer to the text representation of fields. Change some routines with an endianness argument to make it a representation argument instead; svn path=/trunk/; revision=32929
2010-05-13Create a new REP_NA value for fields where there are no representationsGuy Harris1-1/+1
from which to choose; use that for protocol fields in some protocols (modify the CORBA generator to use it, and manually update the generated CORBA dissectors accordingly). svn path=/trunk/; revision=32777
2010-05-12Instead of using private #defines for the last argument toGuy Harris1-96/+95
proto_tree_add_item(), use the new REP_BIG_ENDIAN and REP_LITTLE_ENDIAN values. Use those #defines in variables that represent the byte order, as well. svn path=/trunk/; revision=32776
2010-01-15Show spare bits in decimal, not as booleans.Jeff Morriss1-2/+2
svn path=/trunk/; revision=31537
2009-09-10offset_from_real_beginning() is only called with 0 as second argument, so ↵Kovarththanan Rajaratnam1-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(). svn path=/trunk/; revision=29844
2009-08-16Switch a bunch of dissectors over to using tvb_new_subset_remaining()Kovarththanan Rajaratnam1-7/+7
svn path=/trunk/; revision=29446
2009-08-09Don't guard col_clear with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29344
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-99/+99
(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-02Decode SCCP cause values in SUA (using value_strings exported from the SCCPJeff Morriss1-8/+40
dissector). svn path=/trunk/; revision=28599
2009-04-07Use some default true_false_string's.Bill Meier1-9/+4
svn path=/trunk/; revision=27983
2008-12-20Fix various typos and spelling errors (mostly in text strings)Bill Meier1-4/+4
svn path=/trunk/; revision=27065
2008-12-18Fix various typos and spelling errors (mostly in text strings)Bill Meier1-1/+1
svn path=/trunk/; revision=27050
2008-12-17Fix some typos and spelling (mostly in text strings)Bill Meier1-1/+1
svn path=/trunk/; revision=27037
2008-10-31Fix some "format not a string literal and no format arguments" warnings.Stig Bjørlykke1-2/+2
svn path=/trunk/; revision=26648
2008-09-30Minor proto_reg_handoff cleanup: use find_dissector when appropriate.Bill Meier1-1/+1
svn path=/trunk/; revision=26308
2008-09-24Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2848 :Jeff Morriss1-3/+32
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). svn path=/trunk/; revision=26262
2008-09-17A couple of trivial indentation fixesJeff Morriss1-3/+3
svn path=/trunk/; revision=26225
2008-09-15Put Data dissection (if no subdissector is found) on the toplevel tree ↵Jeff Morriss1-20/+20
instead of within the SUA tree. svn path=/trunk/; revision=26211
2007-03-27remove debugging printouts.Luis Ontanon1-15/+1
svn path=/trunk/; revision=21236
2007-03-27Another iteration over sctp calls (RANAP/BSSAP) a step towards ↵Luis Ontanon1-5/+37
TCAP/(MAP/IMAP/CAMEL) - Fix SUA calls (I would need some more traces to test this) svn path=/trunk/; revision=21235
2007-03-22Mine:Luis Ontanon1-4/+43
* add SUA to the "VoIP Calls" tap. * propagate changes to packet-sccp.h to other dissectors From Neil Piercy: * add SLR, DLR and CAUSE to COL_INFO svn path=/trunk/; revision=21126
2006-10-19Register the dissector.Michael Tüxen1-0/+1
svn path=/trunk/; revision=19609
2006-06-29Add a heuristic table to SUA (SUA and SCCP should share the same table) to ↵Anders Broman1-0/+7
heuristically dissect RANAP ower SUA. svn path=/trunk/; revision=18616
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-4/+4
svn path=/trunk/; revision=18196
2006-01-05Bill Meier:Jörg Mayer1-1/+1
Spelling fixes. svn path=/trunk/; revision=16956
2005-12-16Get rid of duplicted dissector tables for MTP3 Service indicator and SCCP ssn:sAnders Broman1-4/+5
svn path=/trunk/; revision=16815
2005-09-17Move a pile of protocol-related headers from the top-level sourceGuy Harris1-1/+1
directory to the epan directory. Some of them should perhaps ultimately be moved to epan/dissectors, if they pertain only to stuff exported by a particular dissector. Fix Gerald's e-mail address in files we're moving. svn path=/trunk/; revision=15844
2005-03-18From Jeff Morris: Display PC structured.Michael Tüxen1-2/+6
svn path=/trunk/; revision=13802
2005-03-18From Jeff Morris: display protocol class at parameter level.Michael Tüxen1-3/+4
svn path=/trunk/; revision=13800
2004-12-27Again, some warnings removed.Ulf Lamping1-2/+2
svn path=/trunk/; revision=12842