Wireshark mailing list archives

Re: How to add a wtap encapsulation?


From: Yo Mismo <iokeze () hotmail com>
Date: Wed, 13 Oct 2010 15:48:00 +0000


I haven't got #define WTAP_ENCAP_IEEE802_15_4_NOFCS                127 in wtap.h :(I have been reading pcap-common.c, I 
haven't asked for a new DLT_ value because my dissector and the encapsulation are for academic purpose only and wont be 
used in future. >I don't know if this is your problem or not, but there's already a wiretap
encapsulation defined as 127:

#define WTAP_ENCAP_IEEE802_15_4_NOFCS                127

You might also want to have a look at wiretap/pcap-common.c, especially the
"Note" about what to do if you need a new encapsulation type for libpcap files.

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

Current thread: