svn commit: r205430 - stable/7/sys/sys

Michael Tuexen tuexen at FreeBSD.org
Mon Mar 22 00:11:32 UTC 2010


Author: tuexen
Date: Mon Mar 22 00:11:31 2010
New Revision: 205430
URL: http://svn.freebsd.org/changeset/base/205430

Log:
  MFC 186815
  
  Adds flag for SCTP checksum offloading.
  Requested by Pyun YongHyeon.
  
  Reviewed by: rrs

Modified:
  stable/7/sys/sys/mbuf.h
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/sys/mbuf.h
==============================================================================
--- stable/7/sys/sys/mbuf.h	Sun Mar 21 22:39:11 2010	(r205429)
+++ stable/7/sys/sys/mbuf.h	Mon Mar 22 00:11:31 2010	(r205430)
@@ -237,11 +237,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? */


More information about the svn-src-stable-7 mailing list