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

Hi,

I would like to build my own dissector based on the parameter severals values of cip.class. I used the function dissector_add_uint("cip.class",VALUE,handle), but it is not working. My dissector is never called.

After research, I think it is because cip.class is not registered, right ? How can I do for use this parameter ?

I see (by trying) that I can use cip.class.iface with value 0. But I don't know what is the attribute, it is never displayed and I don't find where it is read. Someone know where I can find this information ?

Thanks, IJK

asked 04 Feb '14, 07:06

IJK's gravatar image

IJK
11112
accept rate: 0%

edited 04 Feb '14, 18:03

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196


Hi, I think you are mixing filter names and dissector tables. To be able to register in a dissector table the table has to be registered first. You can find existing tables and what's registered in them in the "internals" menu in the top menubar.

permanent link

answered 05 Feb '14, 03:36

Anders's gravatar image

Anders ♦
4.6k952
accept rate: 17%

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:

×637
×4
×3
×1
×1

question asked: 04 Feb '14, 07:06

question was seen: 1,489 times

last updated: 05 Feb '14, 03:36

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