Author: rrs
Date: Tue Jan  6 12:23:19 2009
New Revision: 186815
URL: http://svn.freebsd.org/changeset/base/186815
Log:
  Adds flags for SCTP checksum offload. Prep
  for support for new Intel NIC's that have this
  feature.

Modified:
  head/sys/sys/mbuf.h

Modified: head/sys/sys/mbuf.h
==============================================================================
--- head/sys/sys/mbuf.h Tue Jan  6 12:17:43 2009        (r186814)
+++ head/sys/sys/mbuf.h Tue Jan  6 12:23:19 2009        (r186815)
@@ -241,11 +241,13 @@ struct mbuf {
 #define        CSUM_IP_FRAGS           0x0008          /* will csum IP 
fragments */
 #define        CSUM_FRAGMENT           0x0010          /* will do IP 
fragmentation */
 #define        CSUM_TSO                0x0020          /* will do TSO */
+#define        CSUM_SCTP               0x0040          /* will csum SCTP */
 
 #define        CSUM_IP_CHECKED         0x0100          /* did csum IP */
 #define        CSUM_IP_VALID           0x0200          /*   ... the csum is 
valid */
 #define        CSUM_DATA_VALID         0x0400          /* csum_data field is 
valid */
 #define        CSUM_PSEUDO_HDR         0x0800          /* csum_data has pseudo 
hdr */
+#define        CSUM_SCTP_VALID         0x1000          /* SCTP checksum is 
valid */
 
 #define        CSUM_DELAY_DATA         (CSUM_TCP | CSUM_UDP)
 #define        CSUM_DELAY_IP           (CSUM_IP)       /* XXX add ipv6 here 
too? */
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to