aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-fix.c
AgeCommit message (Collapse)AuthorFilesLines
2009-08-26(FWIW) One step towards including stdio.h & stdlib.h only when req'd.wmeier1-0/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29568 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-09Don't guard col_clear with col_checkkrj1-3/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29346 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-09Don't guard col_set_str (COL_INFO/COL_PROTOCOL) with col_checkkrj1-6/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29345 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-18From Kovarththanan Rajaratnam via bug 3548:stig1-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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28770 f5534014-38df-0310-8fa8-9805f1628bb7
2009-05-26Add a cast for Win64.gerald1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28480 f5534014-38df-0310-8fa8-9805f1628bb7
2009-05-26From Didier Gautheron via bug 3052:gerald1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28478 f5534014-38df-0310-8fa8-9805f1628bb7
2008-09-15proto_reg-handoff: Use dissector_add_handle instead of registering to port 0;wmeier1-8/+5
Also: minor cleanup related to proto_reg_handoff git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26197 f5534014-38df-0310-8fa8-9805f1628bb7
2008-06-25Constify a bunch of stuff, to squelch -Wwrite-strings warnings. guy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25601 f5534014-38df-0310-8fa8-9805f1628bb7
2008-05-05Remove depreciated functions g_string_sprint, g_string_sprintfa.etxrab1-3/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25238 f5534014-38df-0310-8fa8-9805f1628bb7
2008-03-14From Dustin D. Trammell:jake1-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). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24633 f5534014-38df-0310-8fa8-9805f1628bb7
2007-10-23Apply the small performance enhancment patches for:etxrab1-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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23252 f5534014-38df-0310-8fa8-9805f1628bb7
2007-10-08Register to TCP port 0 to be able to do "decode as".etxrab1-0/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23094 f5534014-38df-0310-8fa8-9805f1628bb7
2007-04-23Add some GCC warnings to the standard set, and add some others to theguy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21526 f5534014-38df-0310-8fa8-9805f1628bb7
2007-04-14fix MacOSX gcc-3.3 warnings about unused tfs/value_string variablesstandel1-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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21431 f5534014-38df-0310-8fa8-9805f1628bb7
2007-03-28Remove almost all of the casts I committed recently and in place ofsfisher1-3/+3
them, add -Wno-pointer-sign to CFLAGS when gcc will accept it. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21253 f5534014-38df-0310-8fa8-9805f1628bb7
2007-03-27Fix about 100 simple to fix warnings from gcc 4.0 in epan/dissectors sfisher1-3/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21233 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-21change a whole bunch of ethereal into wiresharksahlberg1-3/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18196 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-06from Chris Audleysahlberg1-9/+34
fix for bug 909 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18100 f5534014-38df-0310-8fa8-9805f1628bb7
2006-04-29chrisaudley@yahoo.com:jmayer1-0/+158
Patch to fix: [Bug 904] FIX protocol dissector missing some message types git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18030 f5534014-38df-0310-8fa8-9805f1628bb7
2006-02-09fix# 733: don't crash on unknown msg_typesulfl1-1/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17235 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-10rename ep_tvb_get_string() to tvb_get_ephemeral_string() asnd update the ↵sahlberg1-3/+3
documentation in README.developer git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15270 f5534014-38df-0310-8fa8-9805f1628bb7
2005-07-24convert some uses of tvb_get_string() to ep_tvb_get_string()sahlberg1-6/+3
there was at least one obvious memleak in one of the uses of tvb_get_string() git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15027 f5534014-38df-0310-8fa8-9805f1628bb7
2005-01-05From Chris Maynard: don't fetch a string if we're not going to use it.guy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12953 f5534014-38df-0310-8fa8-9805f1628bb7
2004-07-18Move dissectors to epan/dissectors directory.gram1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11410 f5534014-38df-0310-8fa8-9805f1628bb7