Perhaps what you are looking for is proto_tree_add_uint_format. packet-sctp is one of the dissectors which uses this.
On Dec 15, 2007 5:07 AM, bijjou2000 <
bijjou2000@xxxxxxxxxxxx> wrote:
hello
i musst display an adress with 9 bytes in HEX form. but i will not define it with proto_tree_bytes because the the displayed adress is without 0x in the front.
i have to try it with sproto_tree_add_string then convert it in HEX form .
my question is :is this the only possibility or there are othe predfined functions in wireshark to do this.
i would be very grateful for help .
bijjou
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
http://www.wireshark.org/mailman/listinfo/wireshark-dev