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

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

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 ♦
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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 21 Jul '11, 23:41

question was seen: 3,153 times

last updated: 22 Jul '11, 04:36

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