Wireshark-dev: Re: [Wireshark-dev] Start Dissection from an upper layer?
From: Guillaume Bienkowski <[email protected]>
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 !