How do I access a column's data for a packet from my dissector code? asked 28 Jun '11, 09:31 tut087 edited 30 Jun '11, 18:13 cmaynard ♦♦ |
One Answer:
or, in older versions of Wireshark that might not have that macro,
answered 28 Jun '11, 11:06 Guy Harris ♦♦ Thanks a lot.... :) (28 Jun '11, 11:13) tut087 |
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?
I just want the packet number... guess that is there in frame_data. How do I access frame_data?