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

Hi!

I created a dissector that dissects EtherNet/IP data payload. I also want to create a dissector that will be used as a "link layer" dissector that will read packets created by a vendor specific protocol.

In some cases, I want wireshark to dissect from self created pcap files. In those, I have a different protocol that has the same payload type that otherwise goes through EtherNet/IP. So I would like to reuse the same dissector that I use for dissecting the EtherNet/IP packets.

So, I can create a dissector that understands the protocol on my own files, but how can I then make it so that my first dissector then dissects the payload?

asked 29 Mar '12, 08:39

Martino's gravatar image

Martino
1222
accept rate: 0%

Be the first one to answer this question!
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:

×13
×2
×2
×1

question asked: 29 Mar '12, 08:39

question was seen: 1,222 times

last updated: 29 Mar '12, 08:39

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