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] Start Dissection from an upper layer?

From: Guillaume Bienkowski <guillaume.bienkowski@xxxxxxxxxxxx>
Date: Thu, 12 Jun 2008 09:07:34 +0200
Eloy Paris a �crit :

Give something like this a try (this code snippet assumes all the
libwireshark initializations have been done already):

[snip]


    fdata->lnk_t = wtap_pcap_encap_to_wtap_encap(DLT_RAW);
 [snip]


Let us know how it goes.

Cheers,

Eloy Paris.-
netexpect.org



Works like a charm, thank you !