Michael Mann
14824e6adf
Revert "Fixup: tvb_* -> tvb_captured"
...
https://www.wireshark.org/lists/wireshark-dev/201406/msg00131.html
This reverts commit 246fe2ca4c
.
Change-Id: Ib24bae0198c13a84bd7f731bf4af921212109a8f
Reviewed-on: https://code.wireshark.org/review/2430
Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-06-19 18:25:59 +00:00
Dario Lombardo
246fe2ca4c
Fixup: tvb_* -> tvb_captured
...
Change-Id: I9209c1271967405c34c1b6fa43e1726a4d3a5a3f
Reviewed-on: https://code.wireshark.org/review/2377
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-06-18 14:14:58 +00:00
Alexis La Goutte
296591399f
Remove all $Id$ from top of file
...
(Using sed : sed -i '/^ \* \$Id\$/,+1 d')
Fix manually some typo (in export_object_dicom.c and crc16-plain.c)
Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8
Reviewed-on: https://code.wireshark.org/review/497
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-03-04 14:27:33 +00:00
Bill Meier
9874da2fcb
#if 0 numerous "unused const variables" (mostly value-string-arrays);
...
Also; fix a few "set but not used" warnings.
svn path=/trunk/; revision=52780
2013-10-23 06:29:11 +00:00
Anders Broman
43e8a22781
[-Wmissing-prototypes]
...
Use explicit casts.
svn path=/trunk/; revision=48334
2013-03-15 22:40:15 +00:00
Anders Broman
54eb4a6cec
[-Wmissing-prototypes]
...
Use explicit casts.
svn path=/trunk/; revision=48319
2013-03-15 16:39:30 +00:00
Jeff Morriss
2552c750e5
We always HAVE_CONFIG_H so don't bother checking whether we have it or not.
...
svn path=/trunk/; revision=45017
2012-09-20 02:03:38 +00:00
Jakub Zawadzki
5a8783f5b1
Initial commit to support yet another method of passing data between dissectors.
...
Add new parameter 'data' to heur_dissector_t and new_dissector_t, for now it's always NULL
svn path=/trunk/; revision=44860
2012-09-10 21:40:21 +00:00
Jakub Zawadzki
bf81b42e1e
Update Free Software Foundation address.
...
(COPYING will be updated in next commit)
svn path=/trunk/; revision=43536
2012-06-28 22:56:06 +00:00
Chris Maynard
cb8805e543
Fix some duplicate display filter names.
...
svn path=/trunk/; revision=40590
2012-01-19 20:19:28 +00:00
Alexis La Goutte
9edf24f1ef
Enhance CPHA dissector
...
* Remove struct and sizeof
* Replace proto_tree_add_* by proto_tree_add_item
* Replace CPHA function (report2str, opcode2str...) by standard Wireshark functions
* and minor bug fix
svn path=/trunk/; revision=39844
2011-11-15 07:56:06 +00:00
Alexis La Goutte
4c2317f44d
Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
...
svn path=/trunk/; revision=39610
2011-10-26 18:02:01 +00:00
Bill Meier
794757ae8f
For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
...
Also: remove trailing whitespace for a number of files.
svn path=/trunk/; revision=39503
2011-10-21 02:10:19 +00:00
Anders Broman
fc447d3377
Get rid of check_col, while at it set ENC.
...
svn path=/trunk/; revision=39147
2011-09-26 09:01:17 +00:00
Anders Broman
110e5961bb
From Yaniv Kaul:
...
Fix 'set but not used' errors that GCC 4.6 emits.
svn path=/trunk/; revision=36895
2011-04-27 06:02:16 +00:00
Guy Harris
a8bc4a0d13
Rename the routines that handle dissector tables with unsigned integer
...
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-12-20 05:35:29 +00:00
Bill Meier
69df32fb11
#include <string.h> not needed.
...
svn path=/trunk/; revision=32411
2010-04-06 22:09:47 +00:00
Bill Meier
09764dd969
Remove unneeded #include <stdio.h>
...
svn path=/trunk/; revision=32367
2010-04-03 21:55:23 +00:00
Jaap Keuter
9ab6dcc0b9
Fix for bug 3898:
...
Get the states string sorted out. Still room for improvements though...
svn path=/trunk/; revision=31635
2010-01-23 18:21:04 +00:00
Kovarththanan Rajaratnam
0a5b014cec
Don't guard col_clear with col_check
...
svn path=/trunk/; revision=29344
2009-08-09 07:36:13 +00:00
Kovarththanan Rajaratnam
e971354a54
Don't guard col_set_str (COL_PROTOCOL) with col_check
...
svn path=/trunk/; revision=29340
2009-08-09 06:26:46 +00:00
Stig Bjørlykke
0437f102c3
From Kovarththanan Rajaratnam:
...
More FT_XXX cleanup.
svn path=/trunk/; revision=28971
2009-07-07 09:02:59 +00:00
Stig Bjørlykke
b228488bc0
From Kovarththanan Rajaratnam via bug 3548:
...
(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-06-18 21:30:42 +00:00
Bill Meier
79a1441582
FT_BOOLEAN fields w/o bitmasks really should use BASE_NONE (not BASE_DEC,...).
...
svn path=/trunk/; revision=28317
2009-05-08 20:35:57 +00:00
Bill Meier
808a4e2c3c
Define certain fcns as static (if not used externally).
...
Also: whiule we're at it:
- fix hf[] blurbs as appropriate to use NULL;
- fix some indentation
svn path=/trunk/; revision=27890
2009-03-29 22:16:26 +00:00
Bill Meier
154c440e88
Best guess fix for missing initializer in array of string pointers;
...
Issue reported by Chris Maynard in Bug #2813 .
svn path=/trunk/; revision=27083
2008-12-22 14:03:00 +00:00
Bill Meier
c544c20956
Fix various typos and spelling errors (mostly in text strings)
...
svn path=/trunk/; revision=27050
2008-12-18 19:08:49 +00:00
Stig Bjørlykke
d0e33bc3c5
Fix some "format not a string literal and no format arguments" warnings.
...
svn path=/trunk/; revision=26646
2008-10-31 14:07:23 +00:00
Stig Bjørlykke
28ae535b00
Removed even more "statement not reached" warnings.
...
svn path=/trunk/; revision=24286
2008-02-07 15:44:45 +00:00
Anders Broman
90753a169e
Apply yet another set of the optimization patches:
...
When offset parameter is 0 replace tvb_bytes_exist() with the faster tvb_length().
non heuristic dissectors
svn path=/trunk/; revision=23405
2007-11-08 22:40:20 +00:00
Richard van der Hoff
31f0128188
From Chris Maynard <christopher.maynard@gtech.com> / bug 1789:
...
Incorrect display filter field naming conventions for packet-c*.c dissector
files.
svn path=/trunk/; revision=22615
2007-08-23 23:58:59 +00:00
Ronnie Sahlberg
feab79e328
change a whole bunch of ethereal into wireshark
...
svn path=/trunk/; revision=18196
2006-05-21 04:49:01 +00:00
Guy Harris
b13f6dcbd3
Use the new "proto_tree_add_*_format_value" routines.
...
svn path=/trunk/; revision=17316
2006-02-16 11:43:38 +00:00
Ulf Lamping
0dc9fb3d4a
various code cleanup:
...
-use g_snprintf instead of sprintf and snprintf
-use g_strdup_printf where appropriate
-remove #include "snprintf.h" (as only g_snprintf should be used)
-replace some more alloc/realloc/calloc/free with their glib pendants
svn path=/trunk/; revision=15264
2005-08-08 18:50:39 +00:00
Guy Harris
eaadcc4c62
Move various tables into the epan directory.
...
svn path=/trunk/; revision=12130
2004-09-29 00:52:45 +00:00
Gilbert Ramirez
669db206cb
Move dissectors to epan/dissectors directory.
...
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
2004-07-18 18:06:47 +00:00