summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorkn <kn@openbsd.org>2019-12-05 18:42:31 +0000
committerkn <kn@openbsd.org>2019-12-05 18:42:31 +0000
commitce2d25888d005354c7aaf3e5207ffd5ebf0e6178 (patch)
tree6ad97fb32de5eecef08d7d2e78ff325c2a1e1506 /lib
parentShrink scsi_mode_do_sense() parameter list by eliminating the three (diff)
downloadwireguard-openbsd-ce2d25888d005354c7aaf3e5207ffd5ebf0e6178.tar.xz
wireguard-openbsd-ce2d25888d005354c7aaf3e5207ffd5ebf0e6178.zip
Document IP6_SOIIKEY_LEN
OK florian jmc
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/sysctl.29
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libc/sys/sysctl.2 b/lib/libc/sys/sysctl.2
index 0d227344810..651dc9a2231 100644
--- a/lib/libc/sys/sysctl.2
+++ b/lib/libc/sys/sysctl.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysctl.2,v 1.33 2019/11/05 08:27:43 claudio Exp $
+.\" $OpenBSD: sysctl.2,v 1.34 2019/12/05 18:42:31 kn Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 5 2019 $
+.Dd $Mdocdate: December 5 2019 $
.Dt SYSCTL 2
.Os
.Sh NAME
@@ -1779,7 +1779,7 @@ The currently defined protocols and names are:
.It ip6 Ta multipath Ta integer Ta yes
.It ip6 Ta neighborgcthresh Ta integer Ta yes
.It ip6 Ta redirect Ta integer Ta yes
-.It ip6 Ta soiikey Ta uint8_t[] Ta yes
+.It ip6 Ta soiikey Ta uint8_t[IP6_SOIIKEY_LEN] Ta yes
.It ip6 Ta use_deprecated Ta integer Ta yes
.El
.Pp
@@ -1955,6 +1955,9 @@ and should normally be enabled on all systems.
This variable configures the secret key for the RFC 7217 algorithm to
calculate a persistent Semantically Opaque Interface Identifier (SOII)
for IPv6 Stateless Address Autoconfiguration (SLAAC) addresses.
+It must be
+.Dv IP6_SOIIKEY_LEN
+bytes long.
.Pp
.It Li ip6.use_deprecated Pq Va net.inet6.ip6.use_deprecated
This variable controls the use of deprecated addresses, specified in