ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

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

From: Roland Knall <rknall@xxxxxxxxx>
Date: Wed, 20 Apr 2011 16:23:09 +0200
Hi

This would be more suited for Google, but for example:

Linux:
http://stackoverflow.com/questions/4937529/polling-interface-names-via-siocgifconf-in-linux

Windows:
http://stackoverflow.com/questions/1070351/getadaptersinfo-and-getadaptersaddressess-bufferlength-param

regards, Roland

On Wed, Apr 20, 2011 at 7:41 AM, HaoQi Li <haoqi@xxxxxxx> wrote:
> Hi,
>
> 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.
>
> Thanks in advance for any help.
>
> HaoQi
>
> P.S. I hope this is an appropriate list to ask, if not, please let me
> know where I should ask.
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>