I thought about doing it this way. It would make building the proto_tree a little dorky, but doable.
I'm still left, though, with how to construct my header field definitions. I could create a hf definition for every group that would match with the value_string definitions, but this would make display filtering dorky, I think. --kan-- -- Kevin A. Noll, KD4WOZ CCIE, CCDP Versatile, Inc. [EMAIL PROTECTED] +1-717-796-1936 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joerg Mayer Sent: Wednesday, May 23, 2007 1:13 PM To: Developer support list for Wireshark Subject: Re: [Wireshark-dev] Arrays of Value String arrays? On Wed, May 23, 2007 at 12:46:00PM -0400, Kevin A. Noll wrote: > > > I'm dissecting TLVs in the WLCCP protocol. The TLVs are defined in a > hierarchical manner, so the TLV is defined by a group_id and a type_id. ... > I'm wondering if I can define a 2-dimensional value_string array sort > of > like: static const value_string wlccp_tlv_group0_type_id ... static const value_string wlccp_tlv_group2_type_id ... ciao Joerg -- Joerg Mayer <[EMAIL PROTECTED]> We are stuck with technology when what we really want is just stuff that works. Some say that should read Microsoft instead of technology. _______________________________________________ Wireshark-dev mailing list Wireshark-dev@wireshark.org http://www.wireshark.org/mailman/listinfo/wireshark-dev _______________________________________________ Wireshark-dev mailing list Wireshark-dev@wireshark.org http://www.wireshark.org/mailman/listinfo/wireshark-dev