aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mtp3mg.c
AgeCommit message (Collapse)AuthorFilesLines
2013-01-31Eliminate a bunch of basically useless/duplicate hf's for affected PCs: theyJeff Morriss1-220/+98
all have the same name and abbreviation so there's not much point in having multiple variables for them. (Arguably the ansi_apc and chinese_apc variables should be merged too but we may as well preserve the user interface: they have different abbreviations.) (Prompted by Bill's discovery of a cut-n-paste problem which rendered a couple of these hf's unused.) svn path=/trunk/; revision=47402
2013-01-31Use '#if 0 ... #endif' rather than /** ... **/ to comment outBill Meier1-6/+6
unused hf[] entries (which I should have done in the first place). svn path=/trunk/; revision=47391
2013-01-26Fix various instances of unused hf[] entries foundBill Meier1-3/+9
by checkhf. svn path=/trunk/; revision=47312
2012-10-25Create and start using macros for MTP3 network indicators.Jeff Morriss1-2/+2
pinfo has a match_uint field: use it instead of passing the SI of the message to subdissectors in private_data. svn path=/trunk/; revision=45788
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45017
2012-08-10Use val_to_str_const() where appropriate;Bill Meier1-11/+11
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-02-03Create a list of MTP Service Indicator macros and use them.Jeff Morriss1-10/+5
svn path=/trunk/; revision=40828
2011-09-28The SRT/SRA test pattern is 16 bits in Japan, don't try to retrieve 32 bits ↵Jeff Morriss1-1/+1
of it. svn path=/trunk/; revision=39179
2011-09-26Get rid of check_col() and use ENC.Anders Broman1-25/+13
svn path=/trunk/; revision=39153
2011-09-01Update my email address (the old one still works but I don't use it for ↵Jeff Morriss1-1/+1
Wireshark related stuff). svn path=/trunk/; revision=38841
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-3/+3
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-10-28Copy hf variables by value, not by reference.Jeff Morriss1-8/+8
svn path=/trunk/; revision=34682
2010-10-28Use ENC_LITTLE_ENDIAN and ENC_NA.Jeff Morriss1-59/+64
svn path=/trunk/; revision=34681
2009-08-16Switch a bunch of dissectors over to using tvb_new_subset_remaining()Kovarththanan Rajaratnam1-3/+3
svn path=/trunk/; revision=29446
2009-08-09Don't guard col_set_str (COL_INFO) with col_checkKovarththanan Rajaratnam1-4/+2
svn path=/trunk/; revision=29342
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-41/+41
(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
2008-09-30Minor proto_reg_handoff cleanup: use find_dissector when appropriate.Bill Meier1-1/+1
svn path=/trunk/; revision=26308
2008-08-25#include <prefs.h> not req'dBill Meier1-1/+0
svn path=/trunk/; revision=26089
2007-12-03Fix http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2063 : there's only 1 ↵Jeff Morriss1-6/+7
octet of FSN in non-ANSI COO/COA's. svn path=/trunk/; revision=23704
2007-10-23Apply the small performance enhancment patches for:Anders Broman1-3/+3
- if offset is 0, tvb_length is the same as tvb_length_remaining, just faster. Replace - col_append_fstr() with faster col_append_str() - col_add_str() with col_set_str() when it's safe svn path=/trunk/; revision=23252
2006-09-14Jeff Morriss:Jörg Mayer1-62/+28
Fix for bug 1036 I looked at this today and found that in fact the PC stuff is pretty hosed up in the SS7 dissectors. For example, MTP3 *looks* OK here (DPC is 4-5-6): Routing label DPC (4-5-6) (394500) but 394500 == 0x60504 == 6-5-4. Something's not right. I made a common PC dissector function for all the SS7 dissectors so as to concentrate all this code in one place (something I've been wanting to do for a while anyway) and fixed the reported problem as well as the above problem in the attached patch. svn path=/trunk/; revision=19231
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18196
2006-04-05Frof Jeff Morriss:Anders Broman1-56/+352
The attached patch adds support for the Japan SS7 variants (TTC/NTT) to the MTP3, MTP3MG, SCCP, and SCCPMG dissectors. It's not as thoroughly implemented nor tested as I'd like, but it does a good job of at least the basic dissection and I'm out of time for now. It also fixes bug I found in the SCCP dissector where it would show an End of Optional parameter even when the Optional pointer was 0. svn path=/trunk/; revision=17815
2006-03-22From Jeff MorrisAnders Broman1-9/+52
fix http://bugs.ethereal.com/bugzilla/show_bug.cgi?id=332 svn path=/trunk/; revision=17697
2005-08-08various code cleanup:Ulf Lamping1-5/+1
-use g_snprintf instead of sprintf and snprintf -use g_strdup_printf where appropriate -remove #include "snprintf.h" (as only g_snprintf should be used) -replace some more alloc/realloc/calloc/free with their glib pendants svn path=/trunk/; revision=15264
2004-11-24From Jeff Morriss: SSCOP over UDP and SSCF-NNI support.Guy Harris1-2/+2
svn path=/trunk/; revision=12585
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/+1244
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