summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2022-08-11 09:15:36 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2022-08-11 09:15:36 +0000
commit9ec82828391c17231ef1e3ecc3ddf7037acf0829 (patch)
treec1845deec55aabdfdc53b2587fcb2260e802b5ba /share/man
parent068e2adeaf7d379a528fea6b3a900f385d86c9e7 (diff)
Add information about TCP_INFO. Be a bit vague about struct tcp_info since
it is not standardised.
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man4/tcp.414
1 files changed, 12 insertions, 2 deletions
diff --git a/share/man/man4/tcp.4 b/share/man/man4/tcp.4
index dc3f7696aa4..7a81b9a2803 100644
--- a/share/man/man4/tcp.4
+++ b/share/man/man4/tcp.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tcp.4,v 1.25 2022/03/31 17:27:21 naddy Exp $
+.\" $OpenBSD: tcp.4,v 1.26 2022/08/11 09:15:35 claudio Exp $
.\" $NetBSD: tcp.4,v 1.3 1994/11/30 16:22:35 jtc Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)tcp.4 8.1 (Berkeley) 6/5/93
.\"
-.Dd $Mdocdate: March 31 2022 $
+.Dd $Mdocdate: August 11 2022 $
.Dt TCP 4
.Os
.Sh NAME
@@ -113,6 +113,16 @@ supports several socket options which are set with
and tested with
.Xr getsockopt 2 .
.Bl -ohang
+.It Cd TCP_INFO
+Retrieve information about a socket's underlying TCP session.
+.Dv TCP_INFO
+is only used with
+.Fn getsockopt .
+The argument is a pointer to an instance of
+.Vt "struct tcp_info"
+(from
+.In netinet/tcp.h ) .
+.Pp
.It Cd TCP_NODELAY
Under most circumstances,
.Tn TCP