[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
get MAC address from userspace program
- To: tech_(_at_)_openbsd_(_dot_)_org
- Subject: get MAC address from userspace program
- From: Martin Schmachtel <schmadde_(_at_)_syscall_(_dot_)_de>
- Date: Fri, 19 Jul 2002 11:19:59 +0200
- Mail-followup-to: Martin Schmachtel <schmadde_(_at_)_syscall_(_dot_)_de>, tech_(_at_)_openbsd_(_dot_)_org
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?
thanks
schmadde
Visit your host, monkey.org