summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2009-06-30 20:53:56 +0000
committertrasz <trasz@FreeBSD.org>2009-06-30 20:53:56 +0000
commit666e7ae4b7bd7b28c03c9e4d83ded911a0eaf8db (patch)
tree5b86c0f78c46160e1f245d0a87d8c1031a85eb56 /lib
parent45ba0262c049183900d41cfc9f2d139d31ebdcdb (diff)
downloadFreeBSD-src-666e7ae4b7bd7b28c03c9e4d83ded911a0eaf8db.zip
FreeBSD-src-666e7ae4b7bd7b28c03c9e4d83ded911a0eaf8db.tar.gz
Make it clear where to look for for protocol-specific socket options.
Reviewed by: rwatson Approved by: re (kib)
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/getsockopt.29
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/libc/sys/getsockopt.2 b/lib/libc/sys/getsockopt.2
index 80dc4f0..d3472d0 100644
--- a/lib/libc/sys/getsockopt.2
+++ b/lib/libc/sys/getsockopt.2
@@ -139,6 +139,11 @@ argument, defined in
.In sys/time.h .
.Pp
The following options are recognized at the socket level.
+For protocol-specific options, see protocol manual pages,
+e.g.
+.Xr ip 4
+or
+.Xr tcp 4 .
Except as noted, each may be examined with
.Fn getsockopt
and set with
@@ -499,6 +504,10 @@ on a non-listening socket was attempted.
.Xr getprotoent 3 ,
.Xr mac 3 ,
.Xr sysctl 3 ,
+.Xr ip 4 ,
+.Xr ip6 4 ,
+.Xr sctp 4 ,
+.Xr tcp 4 ,
.Xr protocols 5 ,
.Xr sysctl 8 ,
.Xr accept_filter 9 ,
OpenPOWER on IntegriCloud