aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rmt-norm.c
AgeCommit message (Collapse)AuthorFilesLines
2010-04-03Remove unneeded #include <stdio.h>Bill Meier1-1/+0
svn path=/trunk/; revision=32367
2010-01-19Fix a few gcc _Wshadow warnings ....Bill Meier1-10/+10
svn path=/trunk/; revision=31580
2009-08-09Don't guard col_clear with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29344
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29340
2009-07-07From Kovarththanan Rajaratnam:Stig Bjørlykke1-4/+4
More FT_XXX cleanup. svn path=/trunk/; revision=28971
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-52/+52
(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-10-29Minor cleanup related to proto_register & proto_reg_handoffBill Meier1-17/+16
svn path=/trunk/; revision=26619
2007-11-09Apply yet another set of the optimization patches:Anders Broman1-1/+1
When offset parameter is 0 replace tvb_bytes_exist() with the faster tvb_length(). On the other hand if (tvb_bytes_exist(tvb, 0, 20) is more readable than if (tvb_length(tvb) >= 20 so only do it in heuristic function svn path=/trunk/; revision=23412
2007-10-23Apply the small performance enhancment patches for:Anders Broman1-1/+1
- 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
2007-04-30Add a header that redefines g_array_index() to throw in a "void *" castGuy Harris1-18/+2
to work around the "data" field of a GArray being a guint8 *, and defines a g_array_data() macro to extract that field and cast it to void *. Use that header where needed. svn path=/trunk/; revision=21627
2007-04-30Yet another workaround for GArray's bad data type choice.Guy Harris1-1/+18
svn path=/trunk/; revision=21626
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18196
2005-11-26Fix RFC number.Guy Harris1-26/+28
Use "tvb_reported_length_remaining()" for all length checks and values, so we get the *actual* packet length, not the *captured* packet length (it's a *feature* if it reports a "packet cut short" error if the packet really *was* cut short by slicing). Set subtree lengths to -1, so that if an exception is throws while dissecting them, the length includes all the data. Get rid of unused variables, and mark unused parameters. In heuristic checks, give up if we don't have enough data to check. svn path=/trunk/; revision=16599
2005-11-22Trivial warning fixesJörg Mayer1-1/+1
svn path=/trunk/; revision=16561
2005-10-20From Julian OnionsAnders Broman1-27/+70
- some improvements to the NORM decoder, and the ability to (optionally) heuristically detect NORM. - some improvements to FEC block labelling. - making the LCT header extension handler more generic and to decode more header extensions. svn path=/trunk/; revision=16280
2005-10-11From Hannes Gredler:Anders Broman1-75/+588
fixes the AF/SAFI codepoints for BGP Layer-2 VPNs from a Juniper pre-standard implementation to the new "official" IANA assigned codepoints. From Julian Onions packet-rmt-norm.ch Decode more oif the protocol svn path=/trunk/; revision=16183
2005-01-14From Stefano Pettini: RMT support for ALC and NORM.Guy Harris1-0/+281
svn path=/trunk/; revision=13029