-.\" $OpenBSD: socreate.9,v 1.3 2015/02/16 16:38:54 naddy Exp $
+.\" $OpenBSD: socreate.9,v 1.4 2015/10/23 03:16:19 dlg Exp $
.\"
.\" Copyright (c) 2006 Robert N. M. Watson
.\" All rights reserved.
.\"
.\" $FreeBSD: src/share/man/man9/socket.9,v 1.2 2006/12/16 10:32:10 rwatson Exp $
.\"
-.Dd $Mdocdate: February 16 2015 $
+.Dd $Mdocdate: October 23 2015 $
.Dt SOCREATE 9
.Os
.Sh NAME
.Fo soreceive
.Fa "struct socket *so" "struct mbuf **paddr" "struct uio *uio"
.Fa "struct mbuf **mp0" "struct mbuf **controlp" "int *flagsp"
+.Fa "socklen_t controllen"
.Fc
.Ft int
.Fn sosetopt "struct socket *so" "int level" "int optname" "struct mbuf *m0"
.Pf non- Dv NULL
.Fa paddr
argument.
-The caller may optionally retrieve control data mbufs via a
+The caller may optionally retrieve up to
+.Fa controllen
+bytes of control data in mbufs via a
.Pf non- Dv NULL
.Fa controlp
argument.