freebsd-src/sbin/ifconfig
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
..
af_atalk.c MFC r288305: 2015-10-26 03:43:28 +00:00
af_inet6.c MFC r299873 2016-05-20 07:14:03 +00:00
af_inet.c MFC r299873 2016-05-20 07:14:03 +00:00
af_ipx.c Remove IPX over IP tunneling pieces from ifconfig(8), omitted portion of 2007-06-13 18:07:59 +00:00
af_link.c MFC r318160, 318176: Persistently store NIC's hardware MAC address, and add 2017-05-17 22:29:25 +00:00
af_nd6.c MFC r299873 2016-05-20 07:14:03 +00:00
carp.c MFC r288305: 2015-10-26 03:43:28 +00:00
ifbridge.c MFC r288305: 2015-10-26 03:43:28 +00:00
ifclone.c MFC r299873 2016-05-20 07:14:03 +00:00
ifconfig.8 MFC r290450: 2015-11-13 01:03:59 +00:00
ifconfig.c MFC r299873 2016-05-20 07:14:03 +00:00
ifconfig.h MFC r295836: 2016-03-06 08:52:03 +00:00
iffib.c MFC r299873 2016-05-20 07:14:03 +00:00
ifgif.c Re-add deprecated options as no-op to prevent breakage of backward 2015-09-21 03:03:57 +00:00
ifgre.c MFC r299873 2016-05-20 07:14:03 +00:00
ifgroup.c MFC r288305: 2015-10-26 03:43:28 +00:00
ifieee80211.c MFC r299921 2016-06-07 16:53:05 +00:00
iflagg.c MFC r288305: 2015-10-26 03:43:28 +00:00
ifmac.c MFC r299873 2016-05-20 07:14:03 +00:00
ifmedia.c MFC r299873 2016-05-20 07:14:03 +00:00
ifpfsync.c MFC r288305: 2015-10-26 03:43:28 +00:00
ifvlan.c MFC r288305: 2015-10-26 03:43:28 +00:00
ifvxlan.c MFC r288305: 2015-10-26 03:43:28 +00:00
Makefile MFC r270064,r270068,r270069,r270115,r270129,r270287,r270822,r271014, 2015-08-15 17:52:55 +00:00
regdomain.c ifconfig(8) is documented to take a ISO 3166-1 country code to set the 2009-12-15 20:44:12 +00:00
regdomain.h Regulatory fixups: 2009-02-07 01:12:51 +00:00
sfp.c MFC r296902: 2016-04-07 07:12:14 +00:00