diff options
author | Lawrence Teo <lteo@cvs.openbsd.org> | 2013-03-23 18:33:44 +0000 |
---|---|---|
committer | Lawrence Teo <lteo@cvs.openbsd.org> | 2013-03-23 18:33:44 +0000 |
commit | 69378e871875fff8da9b7a6d918e1cc12b7d9321 (patch) | |
tree | 379a0a8f7b3b5ae11bc26e163ef8296b1d3ae768 /share/man | |
parent | 9e5020b900e2339d111d038939a955d77288141c (diff) |
Sync checksum flags with mbuf.h by renaming M_{TCP,UDP}V4_CSUM_OUT to
M_{TCP,UDP}_CSUM_OUT. Also rename m_pkthdr.csum to m_pkthdr.csum_flags.
Remove "/IPv4" from the descriptions of the M_{TCP,UDP}_CSUM_IN_* flags
since they are also used to calculate TCP or UDP checksums over IPv6,
such as on newer bge(4) chips (pointed out by naddy@).
feedback/ok naddy, ok haesbaert jmc
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man9/mbuf.9 | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9 index e88abe09876..6fb48920f41 100644 --- a/share/man/man9/mbuf.9 +++ b/share/man/man9/mbuf.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mbuf.9,v 1.59 2013/01/03 07:53:22 jmc Exp $ +.\" $OpenBSD: mbuf.9,v 1.60 2013/03/23 18:33:43 lteo Exp $ .\" .\" Copyright (c) 2001 Jean-Jacques Bernard-Gundol <jjbg@openbsd.org> .\" All rights reserved. @@ -25,7 +25,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: January 3 2013 $ +.Dd $Mdocdate: March 23 2013 $ .Dt MBUF 9 .Os .Sh NAME @@ -302,28 +302,28 @@ buffer holding the data (size MHLEN). .El .Pp The -.Fa m_pkthdr.csum +.Fa m_pkthdr.csum_flags variable can take the following values: .Pp .Bl -tag -compact -offset indent -width XXXXXXXXXXXXXXXXXX .It Dv M_IPV4_CSUM_OUT IPv4 checksum needed. -.It Dv M_TCPV4_CSUM_OUT +.It Dv M_TCP_CSUM_OUT TCP checksum needed. -.It Dv M_UDPV4_CSUM_OUT +.It Dv M_UDP_CSUM_OUT UDP checksum needed. .It Dv M_IPV4_CSUM_IN_OK IPv4 checksum verified. .It Dv M_IPV4_CSUM_IN_BAD IPv4 checksum bad. .It Dv M_TCP_CSUM_IN_OK -TCP/IPv4 checksum verified. +TCP checksum verified. .It Dv M_TCP_CSUM_IN_BAD -TCP/IPv4 checksum bad. +TCP checksum bad. .It Dv M_UDP_CSUM_IN_OK -UDP/IPv4 checksum verified. +UDP checksum verified. .It Dv M_UDP_CSUM_IN_BAD -UDP/IPv4 checksum bad. +UDP checksum bad. .El .Pp When only M_EXT flag is set, an external storage buffer is being used to |