Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Mar 2014 15:30:41 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r263094 - head/sys/netinet
Message-ID:  <201403121530.s2CFUfj4063568@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Wed Mar 12 15:30:40 2014
New Revision: 263094
URL: http://svnweb.freebsd.org/changeset/base/263094

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

Modified:
  head/sys/netinet/sctp.h

Modified: head/sys/netinet/sctp.h
==============================================================================
--- head/sys/netinet/sctp.h	Wed Mar 12 15:14:55 2014	(r263093)
+++ head/sys/netinet/sctp.h	Wed Mar 12 15:30:40 2014	(r263094)
@@ -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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403121530.s2CFUfj4063568>