Thanks for all answers,

Olivier

Stephen Fisher a écrit :
> On Thu, May 21, 2009 at 05:23:52PM +0200, wsgd wrote:
>
>   
>> Into a plugin dissector,
>> how do I know that :
>> - a new capture has been started
>> - a new file is loaded
>>
>> reset callback of register_tap_listener ?
>> other possibilities ?
>>
>> Can I use (or it is normal to use) the tap system on my own protocol ? 
>> other possibilities ?
>>     
>
> The plugin dissector will be called when a new capture has been started 
> that has packets which belong to your plugin dissector.  When a new file 
> is loaded, the same happens if there are packets belonging to your 
> dissector.  A dissector is called once per packet for every packet 
> belonging to it.  What are you trying to accomplish?
>   
manage global data (which must be reseted when we start a new capture, ...)
>
> Steve
>
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>              mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
>
>
>   


-- 
Wireshark Generic Dissector http://wsgd.free.fr

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Reply via email to