Ethereal-dev: Re: [Ethereal-dev] wlan dissector

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Thu, 29 Dec 2005 04:00:59 -0800
Thomas Sillaber wrote:

    dissector_delete("wlan_mgt.tag.number",QBSS_TAG,qbss_handle);

There isn't a one-to-one correspondence between registered fields and dissector tables. A dissector table that uses the value of a given field is *typically* given the same name, but most fields have no dissector table associated with them (and most fields never will), and some fields are associated with a table with a different name - for example, there's an "ethertype" table for Ethernet types, which is used for several fields (the type field in the Ethernet header, the protocol ID field in SNAP headers with an OUI of 0, etc.).

If you want to make a plugin for particular 802.11 tagged parameter, you'll have to modify the 802.11 dissector to have a dissector table for tagged parameters, and register your plugin with that table.