This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Trigger event on selection in packet list

0

I'd like to run some analysis code when the user selects a packet in the packet list. I know nothing about the Wireshark codebase. Is there an event model? Where do I start looking?

Can something like this be done in a dissector?

Thanks.

asked 18 Jan '11, 11:16

joebrucepnnl's gravatar image

joebrucepnnl
1111
accept rate: 0%


One Answer:

2

Running some analysis code when the user selects a packet is basically what Wireshark does for a living. That analysis is called dissection, and tries to analyze all bits in the frame.

If you want to read up on Wireshark development I suggest going for the Developer's Guide and README.developer. Although not complete they should give you a pretty good start.

answered 18 Jan '11, 14:12

Jaap's gravatar image

Jaap ♦
11.7k16101
accept rate: 14%