Wireshark-dev: [Wireshark-dev] proto_tree_add_item with word(hex) mark
From: Vipper82 <vipper82@xxxxxxxxx>
Date: Sun, 25 May 2008 00:35:53 +0100
Hi all,
i'm writing a dissector, i use proto_tree_add_item for marking 1 word (hex) in frame stream.But proto_tree_add_item marks only in byte with offset means in byte.(proto_add_item(tree,hf,offset,offset +1,FALSE);
by hf_register_info, i use FT_STRING and BASE_NONE to display this word on wireshark. but it was not correct.
The question is: how can i mark or cut each word (4 bits) from data stream and display it on wireshark?
Thanks for any answer