[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: get MAC address from userspace program



Martin Schmachtel <schmadde@syscall.de>:

> 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?
Maybe this diff will help:
http://mniam.net/soft/ifconfig.diff

Regards,
Kamil Andrusz
-- 
It's just a matter of opinion.