Commit Graph

21 Commits

Author SHA1 Message Date
Gerald Combs 820af9e2f2 From Paul Erkilla:
2 small fixes from Renzo Tomas

svn path=/trunk/; revision=6310
2002-09-21 03:14:10 +00:00
Jörg Mayer 7c4176d868 Removed trailing whitespaces from .h and .c files using the
winapi_cleanup tool written by Patrik Stridvall for the wine
project.

svn path=/trunk/; revision=6117
2002-08-28 21:04:11 +00:00
Guy Harris 531cb17873 From Albert Chin: fix various non-GCC compiler warnings.
svn path=/trunk/; revision=5600
2002-05-30 08:34:19 +00:00
Guy Harris eb70c97a9b Make a "tcp_dissect_pdus()" with the standard loop for a TCP segment,
extracting PDUs from it and possibly doing reassembly.  Make the COPS,
DNS, DSI, Gryphon, and SCCP dissectors use it.

Add "set_actual_length()", "tcp_dissect_pdus()",
"decode_boolean_bitfield()", "decode_numeric_bitfield()", and
"decode_enumerated_bitfield()" to the list of routines available to
dissectors on platforms where routines in the main program aren't
available to dynamically-loaded code.

Declare routines in "to_str.h" as "extern"; as I remember, that's
necessary to allow the "decode_XXX_bitfield()" routines declared therein
to be made available to plugins as per the above.

Note that new exported routines should be added to the end of the table
if that's the only change being made to the table.

Create a new "plugin_api_decls.h" header file, used to declare both the
"p_" variables and the "p_" structure members in the routine-exporting
mechanism; this reduces the number of places you have to change to
change the list of exported routines.

svn path=/trunk/; revision=5394
2002-05-05 00:16:38 +00:00
Guy Harris f142576b0d Updates from Paul Erkkila.
svn path=/trunk/; revision=5031
2002-03-27 20:29:05 +00:00
Guy Harris db1428be21 Improve the media payload type names some more, and add some new ones I
found in a Cisco document.

svn path=/trunk/; revision=5000
2002-03-21 11:18:44 +00:00
Guy Harris 3f4fdd2af4 Use somewhat nicer names for the media payload types.
svn path=/trunk/; revision=4999
2002-03-21 11:08:39 +00:00
Guy Harris 0410cab974 Updates from Paul Erkkila.
svn path=/trunk/; revision=4996
2002-03-20 23:32:54 +00:00
Guy Harris 5c7464c673 Updates from Paul E. Erkkila.
svn path=/trunk/; revision=4994
2002-03-20 21:01:21 +00:00
Guy Harris 58387eb63b Updates from Paul E. Erkkila.
svn path=/trunk/; revision=4982
2002-03-19 11:26:23 +00:00
Guy Harris 3a3f044570 Put in desegmentation support.
Use "proto_tree_add_item()" to add items to the protocol tree; don't
fetch to a variable if the variable isn't later used (except for the
"unknown" fields).  Put fields into the protocol tree as soon as they're
fetched, so that if an exception is thrown when dissecting a packet, the
fields that didn't cause an exception get put into the protocol tree.

Fix some typos.

svn path=/trunk/; revision=4972
2002-03-19 06:31:16 +00:00
Guy Harris 428f280a40 Skinny Client Control Protocol enhancements, from Paul E. Erkkila.
svn path=/trunk/; revision=4967
2002-03-18 00:45:11 +00:00
Guy Harris 961e0cdfa2 Convert some "col_add_str()" calls to "col_set_str()".
svn path=/trunk/; revision=4592
2002-01-21 23:35:32 +00:00
Guy Harris ee5ca25d31 Include files from the "epan" directory and subdirectories thereof with
"epan/..." pathnames, so as to avoid collisions with header files in any
of the directories in which we look (e.g., "proto.h", as some other
package has its own "proto.h" file which it installs in the top-level
include directory).

Don't add "-I" flags to search "epan", as that's no longer necessary
(and we want includes of "epan" headers to fail if the "epan/" is left
out, so that we don't re-introduce includes lacking "epan/").

svn path=/trunk/; revision=4586
2002-01-21 07:37:49 +00:00
Guy Harris 23319ff023 Move the pointer to the "column_info" structure in the "frame_data"
structure to the "packet_info" structure; only stuff that's permanently
stored with each frame should be in the "frame_data" structure, and the
"column_info" structure is not guaranteed to hold the column values for
that frame at all times - it was only in the "frame_data" structure so
that it could be passed to dissectors, and, as all dissectors are now
passed a pointer to a "packet_info" structure, it could just as well be
put in the "packet_info" structure.

That saves memory, by shrinking the "frame_data" structure (there's one
of those per frame), and also lets us clean up the code a bit.

svn path=/trunk/; revision=4370
2001-12-10 00:26:21 +00:00
Guy Harris bced8711f6 Make "dissector_add()", "dissector_delete()", and "dissector_change()"
take a dissector handle as an argument, rather than a pointer to a
dissector function and a protocol ID.  Associate dissector handles with
dissector table entries.

svn path=/trunk/; revision=4308
2001-12-03 04:00:26 +00:00
Ed Warnicke a810a01338 Switched from calling dissect_data to using call_dissector
svn path=/trunk/; revision=4263
2001-11-25 22:19:25 +00:00
Guy Harris b37cf9406e If we decide that a packet to or from port 2000 isn't really a Skinny
Client Control Protocol packet, at least dissect its payload as data.

svn path=/trunk/; revision=4048
2001-10-20 18:42:01 +00:00
Guy Harris fb2eb0d626 For the SCCP message ID field, use the formerly commented-out version
with the value_string table, as per mail from Joerg.

svn path=/trunk/; revision=4018
2001-10-11 16:04:36 +00:00
Guy Harris 880defb7f1 Get rid of C++ comment.
svn path=/trunk/; revision=4017
2001-10-11 16:01:53 +00:00
Guy Harris 68924359db Initial Skinny Client Control Protocol support, from Joerg Mayer.
svn path=/trunk/; revision=4016
2001-10-11 16:01:10 +00:00