aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sua.c
AgeCommit message (Collapse)AuthorFilesLines
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
2004-09-29- Added support for version 08 of the ID (expired).Michael Tüxen1-231/+489
- Updated support for latest version to RFC 3868. svn path=/trunk/; revision=12138
2004-09-27Move prefs.c and prefs.h into the epan subdirectory.Guy Harris1-1/+1
svn path=/trunk/; revision=12115
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+1763
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