wireshark/epan
Gilbert Ramirez e69b5278aa Implement epan_dissect_new() and epan_dissect_free(). These are the
"top-level" dissectors that libepan-users call, instead of dissect_packet().
The epan_dissect_t holds the tvbuff after dissection so that the tvbuff's
memory is not cleared until after the proto_tree is freed. (I might stuff
the proto_tree into the epan_dissect_t, too).

What remains of dissect_packet() in packet.c handles the tvbuff initialiation.
The real meat of dissect_packet() is now in dissect_frame(), in packet-frame.c
This means that "packet.c" is no longer a dissector, os it is no longer
passed to make-reg-dotc.

Once dissect_fddi() gets two wrapper functions (dissect_fddi_swapped()
and dissect_fddi_nonswapped()), the a dissector handoff routine could
be used instead of the switch statement in dissect_frame(). I'd register
a field like "wtap.encap"

svn path=/trunk/; revision=2478
2000-10-06 10:11:40 +00:00
..
.cvsignore First step in moving core Ethereal routines to libepan. 2000-09-27 04:55:05 +00:00
Makefile.am Simple code movement. 2000-09-28 03:52:12 +00:00
conversation.c First step in moving core Ethereal routines to libepan. 2000-09-27 04:55:05 +00:00
conversation.h First step in moving core Ethereal routines to libepan. 2000-09-27 04:55:05 +00:00
dfilter-grammar.y First step in moving core Ethereal routines to libepan. 2000-09-27 04:55:05 +00:00
dfilter-int.h First step in moving core Ethereal routines to libepan. 2000-09-27 04:55:05 +00:00
dfilter-scanner.l First step in moving core Ethereal routines to libepan. 2000-09-27 04:55:05 +00:00
dfilter.c More EPAN-related code movements. Get rid of usage of #include "globals.h" 2000-09-28 03:16:29 +00:00
dfilter.h First step in moving core Ethereal routines to libepan. 2000-09-27 04:55:05 +00:00
epan.c Implement epan_dissect_new() and epan_dissect_free(). These are the 2000-10-06 10:11:40 +00:00
epan.h Implement epan_dissect_new() and epan_dissect_free(). These are the 2000-10-06 10:11:40 +00:00
except.c First step in moving core Ethereal routines to libepan. 2000-09-27 04:55:05 +00:00
except.h First step in moving core Ethereal routines to libepan. 2000-09-27 04:55:05 +00:00
exceptions.h First step in moving core Ethereal routines to libepan. 2000-09-27 04:55:05 +00:00
filesystem.c More EPAN-related code movements. Get rid of usage of #include "globals.h" 2000-09-28 03:16:29 +00:00
filesystem.h More EPAN-related code movements. Get rid of usage of #include "globals.h" 2000-09-28 03:16:29 +00:00
ipv4.c Simple code movement. 2000-09-28 03:52:12 +00:00
ipv4.h Simple code movement. 2000-09-28 03:52:12 +00:00
packet.c Implement epan_dissect_new() and epan_dissect_free(). These are the 2000-10-06 10:11:40 +00:00
packet.h Implement epan_dissect_new() and epan_dissect_free(). These are the 2000-10-06 10:11:40 +00:00
pint.h More EPAN-related code movements. Get rid of usage of #include "globals.h" 2000-09-28 03:16:29 +00:00
plugins.c More EPAN-related code movements. Get rid of usage of #include "globals.h" 2000-09-28 03:16:29 +00:00
plugins.h First step in moving core Ethereal routines to libepan. 2000-09-27 04:55:05 +00:00
proto.c First step in moving core Ethereal routines to libepan. 2000-09-27 04:55:05 +00:00
proto.h First step in moving core Ethereal routines to libepan. 2000-09-27 04:55:05 +00:00
resolv.c Simple code movement to epan. 2000-09-28 03:28:54 +00:00
resolv.h Simple code movement to epan. 2000-09-28 03:28:54 +00:00
strutil.c If a line consists *solely* of an LF, set "*eol" to point to the LF. 2000-09-30 05:44:48 +00:00
strutil.h More EPAN-related code movements. Get rid of usage of #include "globals.h" 2000-09-28 03:16:29 +00:00
tvbtest.c First step in moving core Ethereal routines to libepan. 2000-09-27 04:55:05 +00:00
tvbuff.c First step in moving core Ethereal routines to libepan. 2000-09-27 04:55:05 +00:00
tvbuff.h First step in moving core Ethereal routines to libepan. 2000-09-27 04:55:05 +00:00