summaryrefslogtreecommitdiffstats
path: root/share/man/man4/tcp.4
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2013-11-08 13:04:14 +0000
committerglebius <glebius@FreeBSD.org>2013-11-08 13:04:14 +0000
commit290e21e968ad5e93272ed64ba9cfa452265507d2 (patch)
tree7cbe899b6e5835542d633ef52801fe64bb7a52cc /share/man/man4/tcp.4
parentfd1717ac3eb3fb2f4e91cdbcbf478dc6da92da07 (diff)
downloadFreeBSD-src-290e21e968ad5e93272ed64ba9cfa452265507d2.zip
FreeBSD-src-290e21e968ad5e93272ed64ba9cfa452265507d2.tar.gz
Make TCP_KEEP* socket options readable. At least PostgreSQL wants
to read the values. Reported by: sobomax
Diffstat (limited to 'share/man/man4/tcp.4')
-rw-r--r--share/man/man4/tcp.411
1 files changed, 6 insertions, 5 deletions
diff --git a/share/man/man4/tcp.4 b/share/man/man4/tcp.4
index aa2755e..1a44542 100644
--- a/share/man/man4/tcp.4
+++ b/share/man/man4/tcp.4
@@ -38,7 +38,7 @@
.\" From: @(#)tcp.4 8.1 (Berkeley) 6/5/93
.\" $FreeBSD$
.\"
-.Dd March 7, 2012
+.Dd November 8, 2013
.Dt TCP 4
.Os
.Sh NAME
@@ -48,6 +48,7 @@
.In sys/types.h
.In sys/socket.h
.In netinet/in.h
+.In netinet/tcp.h
.Ft int
.Fn socket AF_INET SOCK_STREAM 0
.Sh DESCRIPTION
@@ -147,7 +148,7 @@ See
.Xr mod_cc 4
for details.
.It Dv TCP_KEEPINIT
-This write-only
+This
.Xr setsockopt 2
option accepts a per-socket timeout argument of
.Vt "u_int"
@@ -160,7 +161,7 @@ in the
.Sx MIB Variables
section further down.
.It Dv TCP_KEEPIDLE
-This write-only
+This
.Xr setsockopt 2
option accepts an argument of
.Vt "u_int"
@@ -176,7 +177,7 @@ in the
.Sx MIB Variables
section further down.
.It Dv TCP_KEEPINTVL
-This write-only
+This
.Xr setsockopt 2
option accepts an argument of
.Vt "u_int"
@@ -191,7 +192,7 @@ in the
.Sx MIB Variables
section further down.
.It Dv TCP_KEEPCNT
-This write-only
+This
.Xr setsockopt 2
option accepts an argument of
.Vt "u_int"
OpenPOWER on IntegriCloud