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: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Wed, 19 Jan 2005 22:06:01 +0100
Dominique bastien wrote:


    Can someone indicate to me the way to get the name of the companie
    that own the MAC address. I try to find the code inside the
    ethernet dissector but I found that is the call to
    proto_tree_add_ether() that seem to do the job. In my case I
    want to display only the 3 bytes from the payload.
I'm not quite sure about your specific problem.

The manufacturer name resolving of the first three byte portion of an Ethernet MAC address is read in from the "manuf" file of the distribution.

I think this is done in the epan/addr_resolv.c file.

If you want to *suppress* the manufaturer part of that address (I'm not sure why you would like to do that), you might have a look at the various epan/dissectors/packet-eth*.c files.

Hope this helps,

Regards, ULFL