summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-06-23 04:18:03 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-06-23 04:18:03 +0000
commitc536ca4375094a7debc355f1e1e4465aac246cee (patch)
treeb1bae0e6f92b18178a59385c9f4c8e5224c2e247 /sys
parenta948a67693d36b1fe803bdfb7c752d3a7e5396b5 (diff)
UDP and TCP bits are reversed with respect to documentation
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_txpreg.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/pci/if_txpreg.h b/sys/dev/pci/if_txpreg.h
index 8b08858e053..810de6fef52 100644
--- a/sys/dev/pci/if_txpreg.h
+++ b/sys/dev/pci/if_txpreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_txpreg.h,v 1.29 2001/06/22 20:51:04 jason Exp $ */
+/* $OpenBSD: if_txpreg.h,v 1.30 2001/06/23 04:18:02 jason Exp $ */
/*
* Copyright (c) 2001 Aaron Campbell <aaron@monkey.org>.
@@ -299,11 +299,11 @@ struct txp_rx_desc {
#define RX_STAT_IPFRAG 0x00000008 /* fragment, ipsec not done */
#define RX_STAT_IPSEC 0x00000010 /* ipsec decoded packet */
#define RX_STAT_IPCKSUMBAD 0x00000020 /* ip checksum failed */
-#define RX_STAT_TCPCKSUMBAD 0x00000040 /* tcp checksum failed */
-#define RX_STAT_UDPCKSUMBAD 0x00000080 /* udp checksum failed */
+#define RX_STAT_UDPCKSUMBAD 0x00000040 /* udp checksum failed */
+#define RX_STAT_TCPCKSUMBAD 0x00000080 /* tcp checksum failed */
#define RX_STAT_IPCKSUMGOOD 0x00000100 /* ip checksum succeeded */
-#define RX_STAT_TCPCKSUMGOOD 0x00000200 /* tcp checksum succeeded */
-#define RX_STAT_UDPCKSUMGOOD 0x00000400 /* udp checksum succeeded */
+#define RX_STAT_UDPCKSUMGOOD 0x00000200 /* udp checksum succeeded */
+#define RX_STAT_TCPCKSUMGOOD 0x00000400 /* tcp checksum succeeded */
struct txp_rxbuf_desc {