Ethereal-dev: Re: [Ethereal-dev] patch for packet-llc.c

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Mon, 18 Aug 2003 13:45:48 -0700

On Wednesday, August 13, 2003, at 6:00 AM, Daniel Lundqvist wrote:

Here is a patch to allow dissectors to match, or what it's called, on llc.oui.

Is this for protocols where only the OUI matters - i.e., all SNAP packets with that OUI are to be dissected with the same dissector, regardless of the protocol ID - or is it for OUIs that packet-llc.c doesn't support, so that the dissector would then have to get the protocol ID field and have its own dissector tables for that?

If it's for the latter, perhaps we should, instead, have a routine exported by the LLC dissector, to let a subdissector register a dissector table, given an OUI and dissector table name, and have the LLC dissector look up the dissector table for the OUI and, if it finds one, look up the PID in that dissector table.