aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-fix.c
AgeCommit message (Collapse)AuthorFilesLines
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-2/+2
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-09-23Replace blurbs that match the name (case insensitive) with NULL.Jeff Morriss1-1/+1
svn path=/trunk/; revision=34227
2010-05-13As suggested in ↵Jeff Morriss1-32/+29
http://www.wireshark.org/lists/wireshark-dev/200809/msg00075.html (as referenced in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2907 ) and https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3411 : Write a new convenience routine for finding a conversation and, if it is not found, create it. The frame number and addresses are taken from pinfo (as is the common case). Use this function in a bunch of dissectors. svn path=/trunk/; revision=32790
2009-08-26(FWIW) One step towards including stdio.h & stdlib.h only when req'd.Bill Meier1-0/+1
svn path=/trunk/; revision=29568
2009-08-09Don't guard col_clear with col_checkKovarththanan Rajaratnam1-3/+1
svn path=/trunk/; revision=29346
2009-08-09Don't guard col_set_str (COL_INFO/COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-6/+2
svn path=/trunk/; revision=29345
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-2/+2
(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-05-26Add a cast for Win64.Gerald Combs1-1/+1
svn path=/trunk/; revision=28480
2009-05-26From Didier Gautheron via bug 3052:Gerald Combs1-6302/+408
Add: - FIX 4.0 to 4.4 fields, auto generated with XSLT stylesheets applied on http://www.quickfixengine.org/ xml files (not included quickfixengine code is BSD but xml files have no copyright). - value_string functions for string keys, added to value_string.c. - FIX desegmentation, it doesn't work well with malformed FIX PDU. svn path=/trunk/; revision=28478
2008-09-15proto_reg-handoff: Use dissector_add_handle instead of registering to port 0;Bill Meier1-8/+5
Also: minor cleanup related to proto_reg_handoff svn path=/trunk/; revision=26197
2008-06-25Constify a bunch of stuff, to squelch -Wwrite-strings warnings. Guy Harris1-90/+90
epan/dissectors/packet-ncp2222.inc is a bit hard to fix, so we're not ready to enable that warning by default yet. Throw in some casts to handle GLib routines that take arbitrary non-const pointers (they can later return the pointers, and some callers might want to modify or free up those pointers in cases where they're known to be writable or allocated). Use ep_tvb_memdup() rather than a combination of ep_alloc() and tvb_memcpy(). Clean up some indentation. svn path=/trunk/; revision=25601
2008-05-05Remove depreciated functions g_string_sprint, g_string_sprintfa.Anders Broman1-3/+3
svn path=/trunk/; revision=25238
2008-03-14From Dustin D. Trammell:Jaap Keuter1-2/+2
The FIX protocol dissector uses the 6 byte string "8=FIX." at the beginning of the data to match the beginning of a FIX version string of the format "8=FIX.x.x" in order to determine if the data is the FIX protocol or not. With FIX 5.x and beyond, the beginning of the data will have a version string of the format "8=FIXT.x.x" to indicate the FIX Transport (FIXT) version. A simple solution is to update the current FIX dissector to only match the first 5 bytes of the version string (see attached patch). This will cause a match for FIX version 4.x and prior (8=FIX.x.x) as well as 5.x and beyond (8=FIXT.x.x). svn path=/trunk/; revision=24633
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-10-08Register to TCP port 0 to be able to do "decode as".Anders Broman1-0/+4
svn path=/trunk/; revision=23094
2007-04-23Add some GCC warnings to the standard set, and add some others to theGuy Harris1-1/+1
--enable-extra-gcc-checks set. If we turn on -pedantic, try turning on -Wno-long-long as well, so that it's not *so* pedantic that it rejects the 64-bit integral data types that we explicitly require. Constify a bunch of stuff, and make some other changes, to get rid of warnings. Clean up some indentation. svn path=/trunk/; revision=21526
2007-04-14fix MacOSX gcc-3.3 warnings about unused tfs/value_string variablesSebastien Tandel1-1/+1
most have been tagged unused (few have been deleted if dissector has not been modified since a long time) move packet-ssl-utils.c to DISSECTOR_SRC svn path=/trunk/; revision=21431
2007-03-28Remove almost all of the casts I committed recently and in place ofStephen Fisher1-3/+3
them, add -Wno-pointer-sign to CFLAGS when gcc will accept it. svn path=/trunk/; revision=21253
2007-03-27Fix about 100 simple to fix warnings from gcc 4.0 in epan/dissectors Stephen Fisher1-3/+3
svn path=/trunk/; revision=21233
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-3/+3
svn path=/trunk/; revision=18196
2006-05-06from Chris AudleyRonnie Sahlberg1-9/+34
fix for bug 909 svn path=/trunk/; revision=18100
2006-04-29chrisaudley@yahoo.com:Jörg Mayer1-0/+158
Patch to fix: [Bug 904] FIX protocol dissector missing some message types svn path=/trunk/; revision=18030
2006-02-09fix# 733: don't crash on unknown msg_typesUlf Lamping1-1/+6
svn path=/trunk/; revision=17235
2005-08-10rename ep_tvb_get_string() to tvb_get_ephemeral_string() asnd update the ↵Ronnie Sahlberg1-3/+3
documentation in README.developer svn path=/trunk/; revision=15270
2005-07-24convert some uses of tvb_get_string() to ep_tvb_get_string()Ronnie Sahlberg1-6/+3
there was at least one obvious memleak in one of the uses of tvb_get_string() svn path=/trunk/; revision=15027
2005-01-05From Chris Maynard: don't fetch a string if we're not going to use it.Guy Harris1-7/+5
Also, move up the freeing of the tag string to immediately after we're done with it, so we don't leak it if we throw an exception getting the value. svn path=/trunk/; revision=12953
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+6265
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