freebsd-src/sbin/ifconfig
Mike Karels cd201c0908 ifconfig: add -D option to print driver name for interface
Add -D option to add the drivername and unit number to ifconfig output
for normal display, including -a.  Use ifconfig_get_orig_name() from
libifconfig to fetch the name.  Note that this is the original name
for many drivers, but not for some exceptions like epair (which appends
'a' or 'b' to the unit number).  epair interface pairs both display
as "epair0", etc.  Make -v imply -D; might as well be fully verbose.

MFC after:	1 week
Reviewed by:	zlei, kp
Differential Revision:	https://reviews.freebsd.org/D42721
2023-11-28 13:47:37 -06:00
..
tests Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
af_inet.c netlink: cope with growing requests 2023-10-17 08:47:52 +02:00
af_inet6.c netlink: cope with growing requests 2023-10-17 08:47:52 +02:00
af_link.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
af_nd6.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
carp.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
ifbridge.c ifconfig: add static bridge addresses for vlan 0, not 1 2023-10-15 16:21:53 +02:00
ifclone.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
ifconfig.8 ifconfig: add -D option to print driver name for interface 2023-11-28 13:47:37 -06:00
ifconfig.c ifconfig: add -D option to print driver name for interface 2023-11-28 13:47:37 -06:00
ifconfig.h ifconfig: add -D option to print driver name for interface 2023-11-28 13:47:37 -06:00
ifconfig_netlink.c ifconfig: add -D option to print driver name for interface 2023-11-28 13:47:37 -06:00
ifconfig_netlink.h ifconfig: make interface and address listing use Netlink as transport 2023-05-16 19:39:13 +00:00
iffib.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
ifgif.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
ifgre.c sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
ifgroup.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
ifieee80211.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
ifipsec.c sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
iflagg.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
ifmac.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
ifmedia.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
ifpfsync.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
ifstf.c ifconfig: remove (most of) the usages of global 'struct ifreq ifr'. 2023-06-16 07:19:21 +00:00
ifvlan.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
ifvxlan.c sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
Makefile sbin: Remove ancient SCCS tags. 2023-11-26 22:23:29 -07:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend.options Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
sfp.c Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00