Re: [Wireshark-dev] Query regarding GTP protocol

2006-09-24 Thread prashanth joshi
Hi, I need to parse GTP' packet consisting in its message fieldthe GCDR and then SRecord. Srecord is the record defined by us. Now obviously I need to add code to the ethereal to do this. I plan to check for the type fields in the pay loadof the packetmyself and then call the corresponding

[Wireshark-dev] Query regarding GTP protocol

2006-09-15 Thread prashanth joshi
Hi , I wanted to print a message in the decode_gtp_cause function. But i did not get any such result in the ethereal display. Please tell me what may be the reason.the following is the function : static int decode_gtp_cause(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree) {

Re: [Wireshark-dev] Query regarding GTP protocol

2006-09-15 Thread Jaap Keuter
On Fri, 15 Sep 2006, prashanth joshi wrote: Hi , I wanted to print a message in the decode_gtp_cause function. But i did not get any such result in the ethereal display. Please tell me what may be the reason. the following is the function : static int decode_gtp_cause(tvbuff_t *tvb,

Re: [Wireshark-dev] Query regarding GTP protocol

2006-09-15 Thread prashanth joshi
Hey i did not c that actually. In the last 24 hours i've had only three (it's 1.30 night here) I've had only 3 hours of sleep, may be i did not observe the Length field getting printed due to the effect of loss of sleep. Thanks for pointing out that. Other wise i wud hav been frustrated. Regards,