Ethereal-dev: [Ethereal-dev] 802a dissector

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

Date: Wed, 05 Jan 2005 09:11:10 -0500
I'm trying to develop a dissector for 802a Ethernet frames (http://www.ieee802.org/1/pages/802a.html) in the form:

   <dest><src>0x88b7<oui>...

I've skimmed the mailing list archives, looked at README.developer, and extracted the sample dissector.  I'm starting to fill it in and I'm just not sure how to make my dissector fit into Ethereal.  

First, I assume that my dissector will have to be called by the Ethernet protocol dissector so where it says:

   /* IF PROTO exposes code to other dissectors, then it must be exported
      in a header file. If not, a header file is not needed at all. */
   #include "packet-myproto.h"

I have to provide a header.  What's in it?

Second, how to I register for type 0x88b7 (or only for the OUI I support)?  Is there a dissector I can adapt?  Maybe one for another 802a packet format?

TIA.