opnsense-src/sbin/ifconfig
Mike Karels 9b8515f71b 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.

Reviewed by:	zlei, kp
Differential Revision:	https://reviews.freebsd.org/D42721

(cherry picked from commit cd201c090858e5cfae3be005453ec634c1fca36a)
2023-12-05 10:17:47 -06:00
..
tests Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
af_inet.c Purge more stray embedded $FreeBSD$ strings 2023-10-24 10:10:12 -07:00
af_inet6.c Purge more stray embedded $FreeBSD$ strings 2023-10-24 10:10:12 -07:00
af_link.c Purge more stray embedded $FreeBSD$ strings 2023-10-24 10:10:12 -07:00
af_nd6.c Purge more stray embedded $FreeBSD$ strings 2023-10-24 10:10:12 -07:00
carp.c Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
ifbridge.c Purge more stray embedded $FreeBSD$ strings 2023-10-24 10:10:12 -07:00
ifclone.c Purge more stray embedded $FreeBSD$ strings 2023-10-24 10:10:12 -07:00
ifconfig.8 ifconfig: add -D option to print driver name for interface 2023-12-05 10:17:47 -06:00
ifconfig.c ifconfig: add -D option to print driver name for interface 2023-12-05 10:17:47 -06:00
ifconfig.h ifconfig: add -D option to print driver name for interface 2023-12-05 10:17:47 -06:00
ifconfig_netlink.c ifconfig: add -D option to print driver name for interface 2023-12-05 10:17:47 -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-10-24 10:10:12 -07:00
ifgre.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
ifgroup.c Purge more stray embedded $FreeBSD$ strings 2023-10-24 10:10:12 -07:00
ifieee80211.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
ifipsec.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
iflagg.c Purge more stray embedded $FreeBSD$ strings 2023-10-24 10:10:12 -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-10-24 10:10:12 -07:00
ifvxlan.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06: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-10-24 10:10:12 -07:00