Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Wireshark's source question: list devices and their MAC Addr

From: Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx>
Date: Wed, 20 Apr 2011 09:09:51 -0600
On Wed, Apr 20, 2011 at 01:41:27AM -0400, HaoQi Li wrote:

> As a part my college senior project, I'd like to find the Linux, 
> MacOS, and WindowsXP system calls for 1. listing network interfaces 2. 
> their MAC Addresses
> 
> Since Wireshark is cross-platform and can do those things, I've been 
> searching in its source code for many days, but without success.

Wireshark uses libpcap (Unix/Mac) or WinPcap (Windows) for this sort of 
thing.