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

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%


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.

permanent link

answered 18 Jan '11, 14:12

Jaap's gravatar image

Jaap ♦
11.7k16101
accept rate: 14%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×248
×18
×5
×3

question asked: 18 Jan '11, 11:16

question was seen: 3,949 times

last updated: 18 Jan '11, 14:12

p​o​w​e​r​e​d by O​S​Q​A