freebsd-dev/sbin/ifconfig
Alexander V. Chernikov c344eff910 netlink: dump interface capabilities with other interface data.
This change exports interface capabilities using the standard
Netlink attribute type, bitset, and switches `ifconfig(8)` to use
it when displaying interface data.
Bitset comes in two representations. The first one is "compact",
where the bits are exported via two arrays - "mask" listing the
"valid" bits and "values, providing the values for those bits.
The second one is more verbose, listing each bit as a separate item,
with its name, id and value. The latter option is handy when submitting
update requests.

The support for setting capabilities will be added in the upcoming diffs.

Differential Revision: https://reviews.freebsd.org/D40331
2023-06-16 15:33:49 +00:00
..
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
af_inet6.c ifconfig: use default (more rigid) WARNS level. 2023-06-16 07:19:22 +00:00
af_inet.c ifconfig: use default (more rigid) WARNS level. 2023-06-16 07:19:22 +00:00
af_link.c ifconfig: use default (more rigid) WARNS level. 2023-06-16 07:19:22 +00:00
af_nd6.c ifconfig: remove (most of) the usages of global 'struct ifreq ifr'. 2023-06-16 07:19:21 +00:00
carp.c ifconfig: remove global 'name' variable. 2023-06-13 06:22:41 +00:00
ifbridge.c ifconfig: remove global 'name' variable. 2023-06-13 06:22:41 +00:00
ifclone.c ifconfig: remove (most of) the usages of global 'struct ifreq ifr'. 2023-06-16 07:19:21 +00:00
ifconfig_netlink.c netlink: dump interface capabilities with other interface data. 2023-06-16 15:33:49 +00:00
ifconfig_netlink.h ifconfig: make interface and address listing use Netlink as transport 2023-05-16 19:39:13 +00:00
ifconfig.8 ifconfig(8): add the dotted format for MAC addresses. 2023-06-13 06:40:15 +00:00
ifconfig.c netlink: dump interface capabilities with other interface data. 2023-06-16 15:33:49 +00:00
ifconfig.h netlink: dump interface capabilities with other interface data. 2023-06-16 15:33:49 +00:00
iffib.c ifconfig: remove (most of) the usages of global 'struct ifreq ifr'. 2023-06-16 07:19:21 +00:00
ifgif.c ifconfig: remove (most of) the usages of global 'struct ifreq ifr'. 2023-06-16 07:19:21 +00:00
ifgre.c ifconfig: remove (most of) the usages of global 'struct ifreq ifr'. 2023-06-16 07:19:21 +00:00
ifgroup.c ifconfig: remove global 'name' variable. 2023-06-13 06:22:41 +00:00
ifieee80211.c ifconfig: fix armv6 build 2023-06-16 08:23:50 +00:00
ifipsec.c ifconfig: remove (most of) the usages of global 'struct ifreq ifr'. 2023-06-16 07:19:21 +00:00
iflagg.c ifconfig: remove global 'name' variable. 2023-06-13 06:22:41 +00:00
ifmac.c ifconfig: remove global 'name' variable. 2023-06-13 06:22:41 +00:00
ifmedia.c ifconfig: remove global 'ifr' usage from ifmedia.c & remove 'ifr'. 2023-06-16 07:19:21 +00:00
ifpfsync.c ifconfig: remove (most of) the usages of global 'struct ifreq ifr'. 2023-06-16 07:19:21 +00:00
ifstf.c ifconfig: remove (most of) the usages of global 'struct ifreq ifr'. 2023-06-16 07:19:21 +00:00
ifvlan.c ifconfig: remove (most of) the usages of global 'struct ifreq ifr'. 2023-06-16 07:19:21 +00:00
ifvxlan.c ifconfig: remove (most of) the usages of global 'struct ifreq ifr'. 2023-06-16 07:19:21 +00:00
Makefile ifconfig: use default (more rigid) WARNS level. 2023-06-16 07:19:22 +00:00
Makefile.depend Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
Makefile.depend.options Add Makefile.depend.options 2019-12-11 17:37:37 +00:00
sfp.c ifconfig: remove global 'name' variable. 2023-06-13 06:22:41 +00:00