Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] [Wireshark] Reach Data

From: "POINTEAU Remy" <Remy.POINTEAU@xxxxxxxxxxxxxxxx>
Date: Wed, 10 Jun 2009 11:01:30 +0200
So, if I want just the data, I need to dissect all the packet again?
In the exempl I give you, in the tree view, we can see a branch named "data", do you know where can i find the source for this implementation (the file source) ?

because if i find it, I'll just have to catch the value and send it to my program.


-----Message d'origine-----
De : wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx]De la part de Guy Harris
Envoyé : mercredi 10 juin 2009 10:48
À : Developer support list for Wireshark
Objet : Re: [Wireshark-dev] [Wireshark] Reach Data



On Jun 10, 2009, at 1:13 AM, POINTEAU Remy wrote:

> I give you an exempl of the data I want to recover.
> My problem is I don't now the name of the variable (and the type)  
> which can give me this array.

There's no variable that contains *only* the payload of a UDP packet;  
cfile.pd contains the *entire* packet, including, in the case of that  
packet, the Ethernet header, the IP header, and the UDP header.
___________________________________________________________________________
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