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

how to display an array in proto_tree?????

0

I want to dispaly an array of guint8 in proto_tree.

is there any api for this??????

asked 02 Nov '12, 04:09

Akhil's gravatar image

Akhil
53272831
accept rate: 0%


One Answer:

0

No, you would have to construct the proto_tree your self and put the guint's in there individualy in a loop.

answered 02 Nov '12, 04:25

Anders's gravatar image

Anders ♦
4.6k952
accept rate: 17%

Or put the entire array in as a single FT_BYTES item if that's more appropriate for this particular array.

(02 Nov '12, 15:14) Guy Harris ♦♦