summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2004-01-26 11:48:26 +0000
committeryar <yar@FreeBSD.org>2004-01-26 11:48:26 +0000
commit6b1a5f4424963fe0b389249e8cb19ff29f368a48 (patch)
tree06683081324eb1ad71d488065dec35ab326791e6 /share
parent2f2a10fecb35d53a65357db2b16d843c628eab49 (diff)
downloadFreeBSD-src-6b1a5f4424963fe0b389249e8cb19ff29f368a48.zip
FreeBSD-src-6b1a5f4424963fe0b389249e8cb19ff29f368a48.tar.gz
Extend the description of SIOCSIFCAP.
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/ifnet.912
1 files changed, 12 insertions, 0 deletions
diff --git a/share/man/man9/ifnet.9 b/share/man/man9/ifnet.9
index d659d6b..c2bf431 100644
--- a/share/man/man9/ifnet.9
+++ b/share/man/man9/ifnet.9
@@ -961,6 +961,18 @@ Get interface capabilities, flags, metric, MTU, medium selection.
.It Dv SIOCSIFCAP
Enable or disable interface capabilities.
Caller must have appropriate privilege.
+Before a call to the driver-specific
+.Fn if_ioctl
+routine, the requested mask for enabled capabilities is checked
+against the mask of capabilities supported by the interface,
+.Va if_capabilities.
+Requesting to enable an unsupported capability is invalid.
+The rest is supposed to be done by the driver,
+which includes updating
+.Va if_capenable
+and
+.Va if_data.ifi_hwassist
+appropriately.
.Pp
.It Dv SIOCSIFFLAGS
Change interface flags.
OpenPOWER on IntegriCloud