aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-pgsql.c
AgeCommit message (Collapse)AuthorFilesLines
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkkrj1-2/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29340 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-03-31#include reassemble.h not req'd; Also: move proto_register... & etc to be ↵wmeier1-204/+205
last in file. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27910 f5534014-38df-0310-8fa8-9805f1628bb7
2008-10-27Fix bug in each dissector: port pref change was ignored; Related: ↵wmeier1-3/+12
proto_reg_handoff rework. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26586 f5534014-38df-0310-8fa8-9805f1628bb7
2008-08-26#include <emem.h> not req'dwmeier1-1/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26091 f5534014-38df-0310-8fa8-9805f1628bb7
2008-05-14Fix some of the Errors/warnings detected by checkapi.wmeier1-8/+13
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25290 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
2006-10-31change the signature for the get_pdu_len() function pointer passed to ↵sahlberg1-2/+2
tcp_dissect_pdus() to also include a packet_info pointer. there are many reasons why some protocols actually need to be able to access the pinfo structure while determining the pdu size git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19751 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-21change a whole bunch of ethereal into wiresharksahlberg1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18196 f5534014-38df-0310-8fa8-9805f1628bb7
2006-03-20waste a couple of bytes per tcp conversation and make the tree for ↵sahlberg1-0/+1
acked_packets (i.e. packets that have interesting tcp properties such as being retransmissions etc) hang off the per conversation tcpd struct instead of being global. while this should improve performance by unmeasurably little it does have the sideeffect that once we finish the rewrite tcp analysis might actually work and work well even for tcp over tcp tunnelling. this also means that if you include packet-tcp.h you also need to include emem.h . git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17681 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-10tvb_get_stringz() to tvb_get_ephemeral_stringz() conversion.sahlberg1-37/+18
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15275 f5534014-38df-0310-8fa8-9805f1628bb7
2005-06-26Get rid of the private "my_match_strval()" routine in many dissectors;guy1-86/+66
add a "match_strval_idx()" routine that does the same thing, and have "match_strval()" call it. Make those routines, and "val_to_str()", return a "const" pointer. Update dissectors as necessary to squelch compiler warnings produced by that. Use "val_to_str()" rather than using "match_strval()" and then, if the result is null, substituting a specific string. Clean up some other "match_strval()"/"val_to_str()" usages. Add a null pointer check in the NDPS dissector's "attribute_value()" routine, as it's not clear that "global_attribute_name" won't be null at that point. Make some global variables in the AFS4INT dissector local. Make some routines not used outside the module they're in static. Make some tables "static const". Clean up white space. Fix Gerald's address in some files. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14786 f5534014-38df-0310-8fa8-9805f1628bb7
2005-06-26packet-pgsql.c(891) : warning C4090: 'return' : different 'const' qualifiersulfl1-3/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14779 f5534014-38df-0310-8fa8-9805f1628bb7
2005-03-09Updates from Abhijit Menon-Sen.guy1-25/+18
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13672 f5534014-38df-0310-8fa8-9805f1628bb7
2005-03-06Handle the "32-bit length is > 2^31-1, so the protocol tree routinesguy1-5/+13
will treat it as negative" problem by first calling "tvb_ensure_bytes_exist()" - if the length is *that* large, it will run past the end of the tvbuff, so the exception that "tvb_ensure_bytes_exist()" will throw with a negative argument will be the correct exception. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13614 f5534014-38df-0310-8fa8-9805f1628bb7
2005-02-09Move the following files from /trunk to /trunk/epan:lroland1-1/+1
asn1.[ch] follow.[ch] ptvcursor.[ch] reassemble.[ch] xmlstub.[ch] fix #include statements accordingly. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13366 f5534014-38df-0310-8fa8-9805f1628bb7
2005-02-02From Jon Ringle:etxrab1-2/+2
1) Added a setup_frame parameter to conversation_t 2) Used the conversation_t next to maintain a list of conversations with the same src/dest tuple but different setup_frame number. 3) Changed the signature of find_conversation() and conversation_new() to pass in the frame number. 4) Adjusted packet-sdp to select RTP conversation if both m=audio and m=image are present, and T.38 conversation if only m=image is present. I expect that RTP/T.38 dissecting to be better, but I don't have a way to generate T.38 packets. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13243 f5534014-38df-0310-8fa8-9805f1628bb7
2004-12-25Fix a core dump causing the buildbot test menagerie to fail. It was caused ↵ulfl1-2/+4
by incorrectly trying to proto_tree_add_item() with a very huge length. However, someone with more SQL knowledge than me should have a qualified look at that place and do a better fix. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12833 f5534014-38df-0310-8fa8-9805f1628bb7
2004-12-21Abhijit Menon-Sen:jmayer1-8/+15
- Make port configurable via prefs - Highlight keywords in addition to values in hexpane git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12800 f5534014-38df-0310-8fa8-9805f1628bb7
2004-12-20Abhijit Menon-Sen: Postgres v3 supportjmayer1-0/+886
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12795 f5534014-38df-0310-8fa8-9805f1628bb7