summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2004-06-21 05:13:22 +0000
committeryar <yar@FreeBSD.org>2004-06-21 05:13:22 +0000
commit78bc349bfdf02def00d7baa67312479d51c5f068 (patch)
treedd6de3197b6a5dbf4468aa2ba0fd6bd3de5d1d7b /share
parent21164a78ac496af0257d2d8e6a9cac3101bc6005 (diff)
downloadFreeBSD-src-78bc349bfdf02def00d7baa67312479d51c5f068.zip
FreeBSD-src-78bc349bfdf02def00d7baa67312479d51c5f068.tar.gz
Extend the description of SIOC[GS]IFCAP.
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/netintro.419
1 files changed, 14 insertions, 5 deletions
diff --git a/share/man/man4/netintro.4 b/share/man/man4/netintro.4
index c7e3292..f5d479b 100644
--- a/share/man/man4/netintro.4
+++ b/share/man/man4/netintro.4
@@ -256,18 +256,27 @@ Get point to point address for protocol family and interface.
.It Dv SIOCGIFBRDADDR
Get broadcast address for protocol family and interface.
.It Dv SIOCSIFCAP
-Set interface capabilities field to the value of the
+Attempt to set the enabled capabilities field for the interface
+to the value of the
.Va ifr_reqcap
field of the
.Vt ifreq
structure.
+Note that, depending on the particular interface features,
+some capabilities may appear hard-coded to enabled, or toggling
+a capability may affect the status of other ones.
+The supported capabilities field is read-only, and the
+.Va ifr_curcap
+field is unused by this call.
.It Dv SIOCGIFCAP
-Get interface capabilities field.
-Its value will be returned in the
+Get the interface capabilities fields.
+The values for supported and enabled capabilities will be returned in the
+.Va ifr_reqcap
+and
.Va ifr_curcap
-field of the
+fields of the
.Vt ifreq
-structure.
+structure, respectively.
.It Dv SIOCSIFFLAGS
Set interface flags field.
If the interface is marked down,
OpenPOWER on IntegriCloud