Wireshark-dev: [Wireshark-dev] Ethernet trailer

Date: Tue, 5 May 2009 09:32:18 +0000 (GMT)
Hi all,

I'm defining a heuristic dissector for Ethernet, and I wish to add a trailer which contains a fixed part (the last byte) and a padding part (between 0 and 16 bytes) - I know there is also a 4-bytes CRC but it's not transmitted in tvb so for me it's like if there isn't any. I don't understand how to do and what to use for that (add_ethernet_trailer, register_heur_dissector_list("eth.trailer"..) or something else).

Moreover, I don't understand how ethernet dissector can find if there is padding or not.

Thanks for your help

Yvan