freebsd-src/sbin
Ravi Pokala c7f17f47e7 MFC r318160, 318176: Persistently store NIC's hardware MAC address, and add
a way to retrive it

NOTE: Due to restructuring, the merges didn't apply cleanly; the resulting
change is almost identical to what went into stable/11, but in some cases in
different locations.

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
2017-05-17 22:29:25 +00:00
..
adjkerntz MFC r267667: 2016-10-16 22:02:50 +00:00
atm MFC r306723: 2016-10-16 23:27:03 +00:00
badsect
bsdlabel MFC r306724: 2016-10-16 23:28:58 +00:00
camcontrol MFC r317854: 2017-05-08 18:30:56 +00:00
ccdconfig
clri MFC r306725: 2016-10-16 23:32:35 +00:00
comcontrol
conscontrol
ddb
devd MFC r311572, r311895, r311928, r311985, r312395, r312417 2017-02-28 22:18:05 +00:00
devfs MFC r314924: 2017-03-16 01:59:43 +00:00
dhclient MFC r315199,r315200,r315203: 2017-03-20 03:06:41 +00:00
dmesg
dump
dumpfs
dumpon
etherswitchcfg
fdisk MFC r306731: 2016-10-16 23:39:15 +00:00
fdisk_pc98 MFC r306732: 2016-10-16 23:44:02 +00:00
ffsinfo MFC r267667: 2016-10-16 22:02:50 +00:00
fsck MFC r306733 2017-03-30 02:38:38 +00:00
fsck_ffs MFC r316852: 2017-04-21 10:16:34 +00:00
fsck_msdosfs
fsdb
fsirand MFC r267667: 2016-10-16 22:02:50 +00:00
gbde MFC r292782: Replace sys/crypto/sha2/sha2.c with lib/libmd/sha512c.c 2017-02-27 08:27:38 +00:00
geom MFH (r303289): update example section 2017-03-12 13:42:40 +00:00
ggate MFC r267667: 2016-10-16 22:02:50 +00:00
growfs MFC r289172,r290254: 2017-02-09 22:49:48 +00:00
gvinum MFC r267667: 2016-10-16 22:02:50 +00:00
hastctl MFC r267667: 2016-10-16 22:02:50 +00:00
hastd MFC r267667: 2016-10-16 22:02:50 +00:00
ifconfig MFC r318160, 318176: Persistently store NIC's hardware MAC address, and add 2017-05-17 22:29:25 +00:00
init MFC r306808: 2016-10-28 12:59:21 +00:00
ipf
ipfw MFC: r317343 2017-05-14 13:59:40 +00:00
iscontrol
kldconfig MFC r267667: 2016-10-16 22:02:50 +00:00
kldload MFC r313273: 2017-02-12 09:27:34 +00:00
kldstat MFC r267667: 2016-10-16 22:02:50 +00:00
kldunload MFC r267667: 2016-10-16 22:02:50 +00:00
ldconfig
mca
md5 MFH (r314554): fix date in previous commit 2017-03-12 13:20:07 +00:00
mdconfig MFC r289172,r290254: 2017-02-09 22:49:48 +00:00
mdmfs
mknod
mksnap_ffs
mount MFC r315774: 2017-03-30 05:17:23 +00:00
mount_cd9660 MFC r267667: 2016-10-16 22:02:50 +00:00
mount_fusefs
mount_msdosfs MFC r306276, but don't remove findwin95 2016-10-21 17:39:05 +00:00
mount_nfs MFC: r316793 2017-04-27 21:45:50 +00:00
mount_nullfs MFC r306612: 2016-10-16 22:27:16 +00:00
mount_udf
mount_unionfs MFC r306613: 2016-10-16 22:31:51 +00:00
nandfs
natd MFC r306735: 2016-10-16 23:50:09 +00:00
newfs
newfs_msdos MFC r267667: 2016-10-16 22:02:50 +00:00
newfs_nandfs MFC r314671 (by cem): 2017-04-13 17:11:50 +00:00
nfsiod
nos-tun MFC r306736: 2016-10-16 23:53:10 +00:00
nvmecontrol MFC r267667: 2016-10-16 22:02:50 +00:00
pfctl MFC r306614: 2016-10-16 22:33:03 +00:00
pflogd
ping
ping6
quotacheck
rcorder MFC r309625 2016-12-13 23:13:03 +00:00
reboot MFC r267667: 2016-10-16 22:02:50 +00:00
recoverdisk MFC r267667: 2016-10-16 22:02:50 +00:00
resolvconf
restore
route MFC r315690: 2017-03-27 18:24:27 +00:00
routed
rtsol
savecore
sconfig MFC r306615: 2016-10-16 22:52:05 +00:00
setkey MFC r306616 2017-03-30 02:32:38 +00:00
shutdown MFC r306617 2017-03-30 02:28:49 +00:00
spppcontrol
sunlabel
swapon MFC r315242: Fix late and noauto with geli swap 2017-03-28 10:43:20 +00:00
sysctl
tests MFC r289172,r290254: 2017-02-09 22:49:48 +00:00
tunefs
umount MFC: r308871 2016-12-03 21:56:46 +00:00
zfsbootcfg MFC r308089: zfsbootcfg: a simple tool to set next boot (one time) 2016-11-21 10:14:36 +00:00
Makefile MFC r308089: zfsbootcfg: a simple tool to set next boot (one time) 2016-11-21 10:14:36 +00:00
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.ia64
Makefile.inc
Makefile.mips
Makefile.pc98
Makefile.sparc64