svn commit: r266080 - stable/9/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Wed May 14 18:57:09 UTC 2014


Author: tuexen
Date: Wed May 14 18:57:09 2014
New Revision: 266080
URL: http://svnweb.freebsd.org/changeset/base/266080

Log:
  MFC r263094:
  
  SCTP uses CRC32C and not Adler anymore. While there change the reference
  to RFC 4960.
  This does not change any code, just comments.

Modified:
  stable/9/sys/netinet/sctp.h
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/netinet/sctp.h
==============================================================================
--- stable/9/sys/netinet/sctp.h	Wed May 14 18:54:34 2014	(r266079)
+++ stable/9/sys/netinet/sctp.h	Wed May 14 18:57:09 2014	(r266080)
@@ -43,13 +43,13 @@ __FBSDID("$FreeBSD$");
 #define SCTP_PACKED __attribute__((packed))
 
 /*
- * SCTP protocol - RFC2960.
+ * SCTP protocol - RFC4960.
  */
 struct sctphdr {
 	uint16_t src_port;	/* source port */
 	uint16_t dest_port;	/* destination port */
 	uint32_t v_tag;		/* verification tag of packet */
-	uint32_t checksum;	/* Adler32 C-Sum */
+	uint32_t checksum;	/* CRC32C checksum */
 	/* chunks follow... */
 }       SCTP_PACKED;
 


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