Ethereal-dev: Re: [Ethereal-dev] OUI: Organization Unique Identifier

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, 20 Jan 2005 02:35:54 -0800
Dominique bastien wrote:

    Can someone indicate to me the way to get the name of the companie
    that own the MAC address.

The routine "get_manuf_name()" takes, as an argument, a "const guint8 *"
that points to a 3-octet OUI, and returns a string that is either the
manufacturer name if MAC address resolution is enabled and there's name
for that OUI in Ethereal's "manuf" file or is XX:XX:XX with the values
of the octets otherwise.

(Perhaps there should be separate user preferences for "resolve MAC
addresses to host names" and "resolve OUIs to manufacturer names".)