diff options
| author | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2002-01-04 18:12:38 +0000 |
|---|---|---|
| committer | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2002-01-04 18:12:38 +0000 |
| commit | 996d4dc27542a2d339ec4d88e30919fc0b5a8132 (patch) | |
| tree | 57f98d98603de866948936b4156dab75cf24653a | |
| parent | e6658b129ef46b580cb211ba2b3dc6905ab4c6cc (diff) | |
Notes
| -rw-r--r-- | lib/libc/sys/getsockopt.2 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/libc/sys/getsockopt.2 b/lib/libc/sys/getsockopt.2 index d932e1d30c8e..45362b343acd 100644 --- a/lib/libc/sys/getsockopt.2 +++ b/lib/libc/sys/getsockopt.2 @@ -309,6 +309,13 @@ on the socket, which will filter incoming connections on a listening stream socket before being presented for .Xr accept 2 . +Once more, +.Xr listen 2 +must be called on the socket before +trying to install the filter on it, +or else the +.Fn setsockopt +call will fail. .Bd -literal struct accept_filter_arg { char af_name[16]; @@ -372,6 +379,10 @@ For this error may also be returned if .Fa optlen is not in a valid part of the process address space. +.It Bq Er EINVAL +Installing an +.Xr accept_filter 9 +on a non-listening socket was attempted. .El .Sh SEE ALSO .Xr ioctl 2 , |
