Commit Graph

26 Commits

Author SHA1 Message Date
Jeff Morriss e872569fde From Anders: Fix the highlighted length, add PDU description as a comment.
svn path=/trunk/; revision=50023
2013-06-18 23:33:00 +00:00
Pascal Quantin ecd3073813 How to mess with a keyboard...
svn path=/trunk/; revision=49558
2013-05-24 17:43:36 +00:00
Pascal Quantin 01da09fcb5 One more compilation fix for gcc 4.3.2 ('toi' may be used uninitialized in this function)
svn path=/trunk/; revision=49557
2013-05-24 17:36:19 +00:00
Evan Huus f953ba8346 Remove unused function parameter, rename variable to avoid shadowing.
svn path=/trunk/; revision=49556
2013-05-24 17:24:58 +00:00
Michael Mann d12fc51afd Overhauled the RMT dissectors. Not sure each needs its own file, but since this involves multiple RFCs, they remain split out by that. More are now a "pure" dissector and not a "decoding function hook".
Some Notes:
1. Converted to "new style" dissectors with data being passed between dissectors
2. Combined header files into one since there wasn't much that should have really been in the header files.  Implemented functionality is in c module of respective dissector.

Not sure if LCT preferences should just be in the LCT dissector and not the RMT-ALC "parent", but kept for backwards compatibility.

svn path=/trunk/; revision=49555
2013-05-24 17:06:23 +00:00
Anders Broman ae747e4c4b From beroset:
remove C++ incompatibilities 
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416

svn path=/trunk/; revision=48430
2013-03-19 22:03:00 +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 b18e880040 Update FSF address - part II.
svn path=/trunk/; revision=43538
2012-06-28 23:18:38 +00:00
Bill Meier d53320919a Remove unneeded #includes (stdlib, stdio, ctypes, time);
In a few cases: do some whitespace, indentation cleanup & reformatting.

svn path=/trunk/; revision=42632
2012-05-15 19:23:35 +00:00
Bill Meier 30cee99009 Fix a number of proto_tree_add_item() encoding args.
svn path=/trunk/; revision=39774
2011-11-09 17:33:18 +00:00
Jeff Morriss bcd55c173b Copy data from the TVB into ep_alloc'd memory, rather than saving a pointer into the TVB.
svn path=/trunk/; revision=37323
2011-05-20 03:22:27 +00:00
Jeff Morriss 8d32d2066a There's no need to pass the result of tvb_get_ptr() as the 'value' in
proto_tree_add_*(): just use proto_tree_add_item().

Replace some tvb_get_ptr()s with tvb_get_ephemeral_string() or
tvb_get_const_stringz().

Use tvb_memeql() & tvb_memcmp().

svn path=/trunk/; revision=35558
2011-01-16 20:51:21 +00:00
Bill Meier 055dd62063 #include <string.h> not needed.
svn path=/trunk/; revision=32410
2010-04-06 21:14:01 +00:00
Bill Meier 09764dd969 Remove unneeded #include <stdio.h>
svn path=/trunk/; revision=32367
2010-04-03 21:55:23 +00:00
Bill Meier 37547c1791 Fix a few gcc _Wshadow warnings ....
svn path=/trunk/; revision=31580
2010-01-19 23:51:27 +00:00
Bill Meier a8f30cbca1 Fix some typos and spelling (mostly in text strings)
svn path=/trunk/; revision=27037
2008-12-17 17:23:37 +00:00
Bill Meier 98256ca547 Revert SVN #26644: The fix is not needed ....
(The funcions writing to COL_INFO are only
called after checking if the column is present).

svn path=/trunk/; revision=26650
2008-10-31 16:06:23 +00:00
Bill Meier a061f50bb0 Fix two cases of adding to COL_INFO w/o checking first
svn path=/trunk/; revision=26644
2008-10-31 13:46:03 +00:00
Anders Broman df0e82fa10 Dissect the FLUTE "data".
svn path=/trunk/; revision=24228
2008-01-30 22:34:17 +00:00
Guy Harris 5a43799a17 Use G_GINT64_MODIFIER, rather than the PRI[douxX]64 macros, for GLib
routines and routines using those routines.  GLib might use different
modifiers for 64-bit quantities than the platform's C library does.

svn path=/trunk/; revision=21990
2007-05-29 18:52:42 +00:00
Guy Harris 1d73cea470 Add a header that redefines g_array_index() to throw in a "void *" cast
to work around the "data" field of a GArray being a guint8 *, and
defines a g_array_data() macro to extract that field and cast it to void
*.

Use that header where needed.

svn path=/trunk/; revision=21627
2007-04-30 19:24:25 +00:00
Guy Harris 3485b6810a Thou shalt not squelch compiler complaints about an assignment
discarding a qualifier by explicitly casting away the qualifier;
constness should persist, so that attempts to, for example, modify
something you got with tvb_get_ptr() get complained about (as we don't,
and won't, guarantee that you will get correct behavior if you do that).
Just make the pointer to which a const pointer is being assigned const
itself.

Yet *AGAIN* work around GArray's brokenness of having its data pointer
be a guint8 * rather than a void *.

svn path=/trunk/; revision=21623
2007-04-30 08:33:44 +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
Anders Broman 9dd9e3e80f From Julian Onions
- some improvements to the NORM decoder, and the ability to
(optionally) heuristically detect NORM.
- some improvements to FEC block labelling.
- making the LCT header extension handler more generic and to decode more header extensions.

svn path=/trunk/; revision=16280
2005-10-20 18:51:47 +00:00
Jörg Mayer bf1c2080d4 Dominik Kuhlen: Fix a copy/paste bug reported in
http://bugs.ethereal.com/bugzilla/show_bug.cgi?id=211

svn path=/trunk/; revision=14690
2005-06-18 08:49:24 +00:00
Guy Harris 544216dd74 From Stefano Pettini: RMT support for ALC and NORM.
svn path=/trunk/; revision=13029
2005-01-14 11:17:35 +00:00