diff options
author | sheldonh <sheldonh@FreeBSD.org> | 2000-03-02 13:53:01 +0000 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 2000-03-02 13:53:01 +0000 |
commit | 11cfb32608d40b43c4aafc7849137c83d70ec559 (patch) | |
tree | 600c41ff57991d5c4c9f1b018979e2a755c0f0f6 /share/man/man4/ipfirewall.4 | |
parent | c5911d1b71e44b3dfef687e70a8c08103bde8045 (diff) | |
download | FreeBSD-src-11cfb32608d40b43c4aafc7849137c83d70ec559.zip FreeBSD-src-11cfb32608d40b43c4aafc7849137c83d70ec559.tar.gz |
Replace the DIAGNOSTICS section and its literal text approximation of
a tag list with a RETURN VALUES section and an ERRORS section
containing a real tag list.
Diffstat (limited to 'share/man/man4/ipfirewall.4')
-rw-r--r-- | share/man/man4/ipfirewall.4 | 30 |
1 files changed, 22 insertions, 8 deletions
diff --git a/share/man/man4/ipfirewall.4 b/share/man/man4/ipfirewall.4 index e857ee7..9702465 100644 --- a/share/man/man4/ipfirewall.4 +++ b/share/man/man4/ipfirewall.4 @@ -180,14 +180,28 @@ These variables are also available via the .Xr sysctl 3 interface. -.Sh DIAGNOSTICS - -[EINVAL] The IP option field was improperly formed; an option - field was shorter than the minimum value or longer than - the option buffer provided. A structural error in - ip_fw structure occurred (n_src_p+n_dst_p too big, - ports set for ALL/ICMP protocols etc.). An invalid - rule number was used. +.Sh RETURN VALUES +The +.Fn setsockopt +function returns 0 on success. +Otherwise, -1 is returned and the global variable +.Va errno +is set to indicate the error. +.Sh ERRORS +The +.Fn setsockopt +function will fail if: +.Bl -tag -width Er +.It Bq Er EINVAL +The IP option field was improperly formed; +an option field was shorter than the minimum value +or longer than the option buffer provided. +.It Bq Er EINVAL +A structural error in ip_fw structure occurred +(n_src_p+n_dst_p too big, ports set for ALL/ICMP protocols etc.). +.It Bq Er EINVAL +An invalid rule number was used. +.El .Sh SEE ALSO .Xr setsockopt 2 , .Xr divert 4 , |