On Fri, Nov 01, 2002 at 05:34:42PM -0500, Solomon Peachy wrote: > The plan is to have another DLT/ARP type for this format, but it's not > strictly necessary -- the existing DLT_PRISM format has a > "msgcode/msglen" pair, and the new format keeps these fields and reworks > the rest. Once a new DLT/ARP type is created, I'll submit another > patch.. All Ethereal needs is a new DLT_ type. Libpcap needs to know about the new ARPHRD_ type, but changing it can wait. What do you want me to call it? > packet-prism.c has been modified to recognise the different msgcode, and > pass it off to the packet-wlancap dissector. That's a bit ugly - I'd prefer to just do the new DLT_ type and be done with it. (If not, I'd at least prefer to have "dissect_prism()" call the wlancap dissector through a handle, rather than directly - calling through a handle lets us hide some details of the way dissectors are called in the Ethereal core code.) Also, note that Makefile.nmake's DISSECTOR_SRC macro needs to be changed as well.
Powered by MHonArc 2.6.10