ifconfig: add setifcapnv()
authorKonstantin Belousov <kib@FreeBSD.org>
Wed, 15 Dec 2021 03:05:18 +0000 (05:05 +0200)
committerKonstantin Belousov <kib@FreeBSD.org>
Tue, 24 May 2022 20:59:33 +0000 (23:59 +0300)
commit6ca418e4816a9d1db18f2ce55dcab6c04757be27
tree7ebbb818189ad38338e72dda60c5c1de35646fad
parent42d5cb0927f8a2ef0be2dc0630d5520555131c95
ifconfig: add setifcapnv()

which uses SIOCSIFCAPNV to set arbitrary string-named interface
capability.

Reviewed by: hselasky, jhb, kp
Sponsored by: NVIDIA Networking
MFC after: 3 weeks
Differential revision: https://reviews.freebsd.org/D32551
sbin/ifconfig/ifconfig.c
sbin/ifconfig/ifconfig.h