summaryrefslogtreecommitdiff
path: root/share/man/man9
diff options
context:
space:
mode:
authorkn <kn@cvs.openbsd.org>2018-08-15 12:10:50 +0000
committerkn <kn@cvs.openbsd.org>2018-08-15 12:10:50 +0000
commitc4bbae0b494d3b137403b7ba558fb2ce3922740b (patch)
tree99b123b5a6e91205a797898f0786fc20ce644055 /share/man/man9
parent64c45cd5566761bf338200ee7763fc64ee64cbe0 (diff)
Fix struct soplice usage
sys/sys/socketvar.h r1.57 (2014) moved various struct socket fields into a new struct sosplice field, this adapts usage accordingly. OK bluhm
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/sosplice.920
1 files changed, 11 insertions, 9 deletions
diff --git a/share/man/man9/sosplice.9 b/share/man/man9/sosplice.9
index d3df2fe83f0..7444281b6ba 100644
--- a/share/man/man9/sosplice.9
+++ b/share/man/man9/sosplice.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sosplice.9,v 1.8 2016/06/13 21:24:43 bluhm Exp $
+.\" $OpenBSD: sosplice.9,v 1.9 2018/08/15 12:10:49 kn Exp $
.\"
.\" Copyright (c) 2011-2013 Alexander Bluhm <bluhm@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: June 13 2016 $
+.Dd $Mdocdate: August 15 2018 $
.Dt SOSPLICE 9
.Os
.Sh NAME
@@ -59,28 +59,30 @@ See the
.Sx ERRORS
section for possible failures.
The connection between both sockets is implemented by setting these
-additional fields in
+additional fields in the
+.Vt struct sosplice Va *so_sp
+field in
.Vt struct socket :
.Pp
.Bl -dash -compact -offset indent
.It
-.Vt struct socket Fa *so_splice
+.Vt struct socket Va *ssp_socket
links from the source to the drain socket.
.It
-.Vt struct socket Fa *so_spliceback
+.Vt struct socket Va *ssp_soback
links back from the drain to the source socket.
.It
-.Vt off_t Fa so_splicelen
+.Vt off_t Va ssp_len
counts the number of bytes spliced so far from this socket.
.It
-.Vt off_t Fa so_splicemax
+.Vt off_t Va ssp_max
specifies the maximum number of bytes to splice from this socket if
non-zero.
.It
-.Vt struct timeval Fa so_idletv
+.Vt struct timeval Va ssp_idletv
specifies the maximum idle time if non-zero.
.It
-.Vt struct timeout Fa so_idleto
+.Vt struct timeout Va ssp_idleto
provides storage for the kernel timeout if idle time is used.
.El
.Pp