Re: [Wireshark-dev] How to add a string to the tree

2006-09-12 Thread Guy Harris
On Sep 12, 2006, at 12:28 PM, prashanth joshi wrote: > In the following function, > what is pinfo _U_ (pinfo followed by a blank space and then _U_? _U_ is a macro defined by the Wireshark build process. If the compiler is GCC 2.0 or a later GCC release, it expands to __attribute((unused))__

Re: [Wireshark-dev] How to add a string to the tree

2006-09-12 Thread prashanth joshi
formation element of the Private Extension type. Best regards Anders From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of prashanth joshiSent: den 8 september 2006 12:49To: Developer support list for WiresharkSubject: [Wireshark-dev] How to add a string to the tree Hi, My query i

Re: [Wireshark-dev] How to add a string to the tree

2006-09-08 Thread Anders Broman \(AL/EAB\)
iSent: den 8 september 2006 12:49To: Developer support list for WiresharkSubject: [Wireshark-dev] How to add a string to the tree Hi, My query is : How to add a string i.e. a string which is part of the gtp packet , to the tree. I feel proto_tree_add_string ( )  wont work becos: sup

Re: [Wireshark-dev] How to add a string to the tree

2006-09-08 Thread ronnie sahlberg
maybe studying the code, reading the documentation and looking at other dissectors will reveal the answer? On 9/8/06, prashanth joshi <[EMAIL PROTECTED]> wrote: > > > Hi, > My query is : > How to add a string i.e. a string which is part of the gtp packet , to the > tree. > I feel proto_

[Wireshark-dev] How to add a string to the tree

2006-09-08 Thread prashanth joshi
Hi, My query is : How to add a string i.e. a string which is part of the gtp packet , to the tree. I feel proto_tree_add_string ( )  wont work becos: suppose packet contains an integer value, then val_to_str( ) operates on that value and then returns a string. Now proto_tree_add_string ( )