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

How do I access a column's data for a packet from my dissector code?

asked 28 Jun '11, 09:31

tut087's gravatar image

accept rate: 0%

edited 30 Jun '11, 18:13

cmaynard's gravatar image

cmaynard ♦♦

Well, the Protocol and Info column reflect what you've put there, so you access them by remembering what you put there.

Many of the other columns are generated from data in the packet_info structure; what particular column or columns do you want?

(28 Jun '11, 10:58) Guy Harris ♦♦

I just want the packet number... guess that is there in frame_data. How do I access frame_data?

(28 Jun '11, 11:02) tut087


or, in older versions of Wireshark that might not have that macro,

permanent link

answered 28 Jun '11, 11:06

Guy%20Harris's gravatar image

Guy Harris ♦♦
accept rate: 19%

Thanks a lot.... :)

(28 Jun '11, 11:13) tut087
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: 28 Jun '11, 09:31

question was seen: 3,368 times

last updated: 30 Jun '11, 18:13

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