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

I have a field in my protocol like this:

IP (which is a set of 32 IP addresses). So should I use an array to display the 32 IP addresses or something else?

If I use the array, how do I register my array in the dissector's proto_register function??

Please help..!!

asked 21 Jul '11, 23:41

sid's gravatar image

sid
45192021
accept rate: 0%


Define one field with FT_IPv4, then reuse that for all items in the sequence of your protocol message.

permanent link

answered 22 Jul '11, 04:36

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:

×637
×6

question asked: 21 Jul '11, 23:41

question was seen: 3,062 times

last updated: 22 Jul '11, 04:36

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