opnsense-src/sys
Ravi Pokala ddae57504b Persistently store NIC's hardware MAC address, and add a way to retrive it
The MAC address reported by `ifconfig ${nic} ether' does not always match
the address in the hardware, as reported by the driver during attach. In
particular, NICs which are components of a lagg(4) interface all report the
same MAC.

When attaching, the NIC driver passes the MAC address it read from the
hardware as an argument to ether_ifattach(). Keep a second copy of it, and
create ioctl(SIOCGHWADDR) to return it. Teach `ifconfig' to report it along
with the active MAC address.

PR:		194386
Reviewed by:	glebius
MFC after:	1 week
Sponsored by:	Panasas
Differential Revision:	https://reviews.freebsd.org/D10609
2017-05-10 22:13:47 +00:00
..
amd64
arm Disable the build of the static/embedded DTB for the ARMADA38X kernel. 2017-05-09 18:12:05 +00:00
arm64
boot DIRDEPS_BUILD: Update dependencies. 2017-05-09 01:48:23 +00:00
bsm
cam Add basic programmable early warning error injection to the sa(4) driver. 2017-05-05 20:00:53 +00:00
cddl Fix the encoded instruction for FBT traps on powerpc 2017-05-10 03:47:22 +00:00
compat Fix init order in the LinuxKPI for RCU support. 2017-05-09 12:51:42 +00:00
conf hyperv/vmbus: Reorganize vmbus device tree 2017-05-10 05:28:14 +00:00
contrib Add necessary bits to get FreeBSD booting on the Unifi Security Gateway 2017-05-07 22:04:12 +00:00
crypto
ddb
dev hyperv/vmbus: Reorganize vmbus device tree 2017-05-10 05:28:14 +00:00
fs
gdb
geom
gnu [mips] [rt2880] Add oldest Ralink MIPS SOC RT2880 support code. 2017-05-06 06:20:34 +00:00
i386
isa
kern - Also outside of the KOBJOPLOOKUP macro - which in turn is used by 2017-05-08 21:08:39 +00:00
kgssapi
libkern
mips Add initial support for the floating point implementation register. 2017-05-09 17:35:16 +00:00
modules hyperv/vmbus: Reorganize vmbus device tree 2017-05-10 05:28:14 +00:00
net Persistently store NIC's hardware MAC address, and add a way to retrive it 2017-05-10 22:13:47 +00:00
net80211
netgraph
netinet ipfw nat and natd support multiple aliasing instances with "nat global" feature 2017-05-10 19:41:52 +00:00
netinet6 ip6_output runs with the inp lock held, just like ip_output. 2017-05-10 00:14:55 +00:00
netipsec
netpfil pf: Fix vnet initialisation 2017-05-07 14:33:58 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto Use const with some read-only buffers in opencrypto APIs. 2017-05-09 18:28:42 +00:00
powerpc
riscv
rpc Fix the client side krpc from doing TCP reconnects for ERESTART from sosend(). 2017-05-07 12:12:45 +00:00
security
sparc64
sys Persistently store NIC's hardware MAC address, and add a way to retrive it 2017-05-10 22:13:47 +00:00
teken
tests style(9): sort headers 2017-05-09 05:08:47 +00:00
tools
ufs Remove spl() calls from UFS code. 2017-05-07 14:59:45 +00:00
vm
x86
xdr
xen
Makefile