Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] How to reuse the disectors function in my own software?

From: zhenyu wang <wzyzw2008@xxxxxxxxxxxx>
Date: Thu, 19 Apr 2007 20:49:44 +0800 (CST)
 
struct _epan_dissect_t{
  tvbuff_t *tvb;
  proto_tree *tree;
  packet_info pi;
}
tvbuff_t describes the frame data we need to analyse;
in my program,i need to analyze the frame data just like ethereal does, get the result which is similar to proto_tree and packet_info.
i wonder how can we make the best use of ethereal disectors funcion in my own software,
the way should be effective.
i appreiciate your help.
if you're an expet, you can contact me:
wzyzw2008@xxxxxxxxxxxx


锟脚伙拷锟斤拷锟斤拷锟斤拷锟�-3.5G锟斤拷锟斤拷锟斤拷20M锟斤拷锟斤拷