Ethereal-dev: [Ethereal-dev] Parsing a brand new MAC Layer packet.

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Senthil Sundaram <ssundara@xxxxxxxxxxxx>
Date: Mon, 02 May 2005 18:54:54 -0700
Hi,

Can I use ethereal to parse a packet that is not a packet captured on the network. For example that packet does not have an Ethernet header or IP header or anything like that. Lets consider the file contains a packets of a brand new MAC layer protocol called XYZ. How do I make ethereal understand this file format and packet format?

- Do i enhance the wiretap library to understand the new file format?

- Lets say the XYZ MAC layer protocol encapsulates IP packets. So after I strip off my xyz MAC headers, I would like to able to hand the packets over to the IP layer. How do I acheive this? Can I do this without modifying the IP Layer dissector ?


Thanks
Senthil