Ethereal-dev: [Ethereal-dev] How can I dissect the packet deep than ether layer

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Flier Lu <flier.lu@xxxxxxxxx>
Date: Sun, 5 Dec 2004 20:46:58 +0800
hi!

I wrote some python wrapper module for libethereal to extend
PyWireTap, it can dissect packet now, but I can only got ether layer
dissection result like this:

  Frame 50 (589 bytes on wire, 589 bytes captured)
    Arrival Time: Aug  3, 2004 19:11:10.121452000
    Time delta from previous packet: 0.003096000 seconds
    Time since reference or first frame: 6.889848000 seconds
    Frame Number: 50
    Packet Length: 589 bytes
    Capture Length: 589 bytes
  Data (589 bytes)

I have called epan_init, read_prefs, prefs_apply_all, init_dissection
functions in orders, and can got fully protocol/field tree with
proto_get_first_protocol/proto_get_next_protocol functions, what's
else I need ?

thanks :D