Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Mar 2013 17:24:29 +0330
From:      h bagade <bagadeh@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   how to get mac address info in kernel code?
Message-ID:  <CAARSjE3h87y00_JeurzPzmkDaU5C58v=iLB-etwJ0RdtLh5f%2Bg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi all,

I need to get interface MAC address within the kernel code and I couldn't
use "getifaddrs" because it's user-mode. How can I have the MAC address
information within kernel code?

Any hints or comments are really appreciated.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAARSjE3h87y00_JeurzPzmkDaU5C58v=iLB-etwJ0RdtLh5f%2Bg>