summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2014-10-01 05:43:29 +0000
committertuexen <tuexen@FreeBSD.org>2014-10-01 05:43:29 +0000
commit911b31bff0483b260aefa958602d1d29eef82522 (patch)
treeb49306ad1e5d6ad0db9ac20940e636ea5c6f87a3 /share
parent39a5d322fa85f13ca90cfb24d92061f010447b48 (diff)
downloadFreeBSD-src-911b31bff0483b260aefa958602d1d29eef82522.zip
FreeBSD-src-911b31bff0483b260aefa958602d1d29eef82522.tar.gz
The default for UDPLITE_RECV_CSCOV is zero. RFC 3828 recommend
that this means full checksum coverage for received packets. If an application is willing to accept packets with partial coverage, it is expected to use the socekt option and provice the minimum coverage it accepts. Reviewed by: kevlo MFC after: 3 days
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/udplite.418
1 files changed, 9 insertions, 9 deletions
diff --git a/share/man/man4/udplite.4 b/share/man/man4/udplite.4
index 5d06b14..859c966 100644
--- a/share/man/man4/udplite.4
+++ b/share/man/man4/udplite.4
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd April 7, 2014
+.Dd October 1, 2014
.Dt UDPLITE 4
.Os
.Sh NAME
@@ -55,16 +55,16 @@ and tested with
.Bl -tag -width ".Dv UDPLITE_SEND_CSCOV"
.It Dv UDPLITE_SEND_CSCOV
This option sets the sender checksum coverage.
-A value of zero indicates that the entire packet
-is covered by the checksum.
-A value of 1 to 7 must be discarded by the receiver.
+A value of zero indicates that all sent packets will have
+full checksum coverage.
+A value of 8 to 65535 limits the checksum coverage of all sent packets
+to the value given.
.It Dv UDPLITE_RECV_CSCOV
This option is the receiver-side analogue.
-It is truly optional, i.e. not required to enable traffic
-with partial checksum coverage.
-Its function is that of a traffic filter:
-when enabled, it instructs the kernel to drop
-all packets which have a coverage less than this value.
+A value of zero instructs the kernel to drop all received packets
+not having full checksum coverage.
+A value of 8 to 65535 instructs the kernel to drop all received
+packets with a partial checksum coverage smaller than the value specified.
.El
.Sh ERRORS
A socket operation may fail with one of the following errors returned:
OpenPOWER on IntegriCloud