[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: get MAC address from userspace program
Martin Schmachtel <email@example.com>:
> 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?
Maybe this diff will help:
It's just a matter of opinion.