Re: [Wireshark-dev] how do I know that a new capture has been started

2009-05-22 Thread wsgd
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

[Wireshark-dev] how do I know that a new capture has been started

2009-05-21 Thread wsgd
Hello all, 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 ? Thanks, Olivier --

Re: [Wireshark-dev] how do I know that a new capture has been started

2009-05-21 Thread Guy Harris
On May 21, 2009, at 8:23 AM, wsgd wrote: Into a plugin dissector, how do I know that : - a new capture has been started - a new file is loaded You call register_init_routine() in your protocol registration routine, passing it a pointer to a function (no arguments, no return value)

Re: [Wireshark-dev] how do I know that a new capture has been started

2009-05-21 Thread Stephen Fisher
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

Re: [Wireshark-dev] how do I know that a new capture has been started

2009-05-21 Thread Yang Ning
To: Developer support list for Wireshark Subject: [Wireshark-dev] how do I know that a new capture has been started Hello all, 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