aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sna.c
AgeCommit message (Collapse)AuthorFilesLines
2010-09-21As suggested by Kovarththanan Rajaratnam in ↵morriss1-1/+1
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3548 : Clean up hf fields some more: mostly removing leading and trailing spaces from names and blurbs. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34165 f5534014-38df-0310-8fa8-9805f1628bb7
2010-01-19Use more unique names for certain enum constants.wmeier1-2/+2
(enum constant names are part of the global name space). (Fixes at least one gcc -Wshadow warning). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31572 f5534014-38df-0310-8fa8-9805f1628bb7
2009-10-16sna_reassembled_table never used: remove it;wmeier1-3/+2
Move register_init_routine call to proto_register as per convention... git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30581 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-16Switch a bunch of dissectors over to using tvb_new_subset_remaining()krj1-20/+19
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29446 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-09Don't guard col_clear with col_checkkrj1-4/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29344 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-09Don't guard col_set_str (COL_INFO) with col_checkkrj1-13/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29342 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkkrj1-4/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29340 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-18From Kovarththanan Rajaratnam via bug 3548:stig1-190/+189
(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-13Apply some of the patches from:etxrab1-5/+1
http://wiki.wireshark.org/Development/Optimization git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28356 f5534014-38df-0310-8fa8-9805f1628bb7
2009-05-08Fix a typo from the previous commit .....wmeier1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28315 f5534014-38df-0310-8fa8-9805f1628bb7
2009-05-08FT_BOOLEAN fields with bitmask: Display is 'parent bitfield width' not BASE...wmeier1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28313 f5534014-38df-0310-8fa8-9805f1628bb7
2009-05-01From Reinhard Speyerer:jake1-3/+3
This patch fixes several misspellings/typos in Wireshark SVN revision 28201. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28228 f5534014-38df-0310-8fa8-9805f1628bb7
2008-12-20Fix various typos and spelling errors (mostly in text strings)wmeier1-7/+7
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27065 f5534014-38df-0310-8fa8-9805f1628bb7
2008-12-17Fix typos and spelling (mostly in text strings) wmeier1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27028 f5534014-38df-0310-8fa8-9805f1628bb7
2008-10-31Fix some "format not a string literal and no format arguments" warnings.stig1-3/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26648 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-07-11Cast away the unsignedness of a string (which has had EBCDIC_to_ASCII() run ↵morriss1-20/+20
on it) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25712 f5534014-38df-0310-8fa8-9805f1628bb7
2007-10-23Apply the small performance enhancment patches for:etxrab1-5/+5
- 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-03-28Remove almost all of the casts I committed recently and in place ofsfisher1-1/+1
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-28Fix a bunch of warnings, add svn:keywords Id and svn:eol-style nativesfisher1-1/+1
to packet-iuup.c. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21244 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
2005-09-28fix #480: Change defaults for all reassembling settings to ONulfl1-1/+1
I've changed all settings I could find to TRUE. It might be reasonable to change some protocol settings back to FALSE, if reassembling fails very often. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16048 f5534014-38df-0310-8fa8-9805f1628bb7
2005-09-28Have show_exception() take a "const char *" as its exception message,guy1-0/+1
and not free the string to which it points. Pass to REPORT_DISSECTOR_BUG() strings allocated with ep_strdup_printf(), so that they're freed automatically. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16039 f5534014-38df-0310-8fa8-9805f1628bb7
2005-09-17Move a pile of protocol-related headers from the top-level sourceguy1-2/+2
directory to the epan directory. Some of them should perhaps ultimately be moved to epan/dissectors, if they pertain only to stuff exported by a particular dissector. Fix Gerald's e-mail address in files we're moving. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15844 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-10rename ep_tvb_get_string() to tvb_get_ephemeral_string() asnd update the ↵sahlberg1-1/+1
documentation in README.developer git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15270 f5534014-38df-0310-8fa8-9805f1628bb7
2005-07-28some more memification of tvb_get_string() no obvious memleaks fixed this ↵sahlberg1-2/+1
time :-( git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15131 f5534014-38df-0310-8fa8-9805f1628bb7
2005-06-10just to get things straight: a dissector should *never* do any g_assert() calls!ulfl1-1/+1
in a simple approach, I've replaced all g_assert() and g_assert_not_reached() calls by their exception throwing counterparts DISSECTOR_ASSERT() and DISSECTOR_ASSERT_NOT_REACHED() this will replace application crash by showing a dissector bug, which is the desired behaviour there were some g_assert calls in the protocol registering functions, which might not be acting as expected now, but to be able to simply search for g_assert in the future I've replaced that calls too one g_assert remained, the one when someone throws an unknown exception "into" packet_frame.c, but IMHO this one should remain. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14608 f5534014-38df-0310-8fa8-9805f1628bb7
2005-03-27buildbot bugfix: add another tvb_ensure_bytes_exist()ulfl1-1/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13933 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
2004-09-27Move prefs.c and prefs.h into the epan subdirectory.guy1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12115 f5534014-38df-0310-8fa8-9805f1628bb7
2004-09-10The EBCDIC-to-ASCII routines are now declared in <epan/charsets.h>.guy1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11959 f5534014-38df-0310-8fa8-9805f1628bb7
2004-07-18Move dissectors to epan/dissectors directory.gram1-0/+3597
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