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;
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"