Wireshark-dev: Re: [Wireshark-dev] GTPV2 packets in GPRS Tunneling protocol

From: Manish Kumar <mkumar9009@xxxxxxxxx>
Date: Mon, 3 Jun 2013 02:02:53 +0530
Thanks Pascal for a quick reply.

I was going through the same file but the problem is m not getting how the functions written in this file are being called up from other module.
For instance, how the function dissect_gtpv2_imsi( ...,....,...,..,...) is being called. Or lets I put a filter gtpv2.imsi in the code how its control flow code works. If someone can elaborate it will be really helpful.

Regards,
Manish Kumar


On Sun, Jun 2, 2013 at 10:56 PM, Pascal Quantin <pascal.quantin@xxxxxxxxx> wrote:
Le 02/06/2013 18:01, Manish Kumar a écrit :
> Hi All,
>
> I am a beginner to wireshark development. I want to add a small filter
> related to small information contained in GTPV2 packets. Can any one
> guide me how to go about this.
>
> Which one is the main file in the whole code through I can browse the
> code. Any help will be appreciated.
>
> Regards,
> Manish

Hi Manish,

the GTPv2 dissection code is located in epan/dissectors/packet-gtpv2.c
I recommend you to read doc/README.developer so as to learn how to add
filters and look at the code of the GTPv2 dissector for examples. Once
done, you can submit your patch as explained here:
https://www.wireshark.org/docs/wsdg_html_chunked/ChSrcContribute.html

Regards,
Pascal.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe