wireshark-dev October 2010 archive
Main Archive Page > Month Archives  > wireshark-dev archives
wireshark-dev: Re: [Wireshark-dev] How to add a wtap encapsulati

Re: [Wireshark-dev] How to add a wtap encapsulation?

From: Christopher Maynard <Chris.Maynard_at_nospam>
Date: Wed Oct 13 2010 - 15:14:31 GMT
To: wireshark-dev@wireshark.org

Yo Mismo <iokeze@...> writes:

> I have added it (#define WTAP_ENCAP_XXX   127)

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