On Fri, Jul 19, 2002 at 11:19:59AM +0200, Martin Schmachtel wrote:
> Hello,
>
> I need to find out the MAC address of a given ethernet interface from
> a userspace program. I cannot, however, find out how to get this data.
> I thought it should be in struct if_data, but it's not there.
> Can anyone tell me where to look?
try getifaddrs(3).
regards
Stefan