summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2014-03-12 15:30:40 +0000
committertuexen <tuexen@FreeBSD.org>2014-03-12 15:30:40 +0000
commit4f721683c98d9bb84b648c93084a19b214062634 (patch)
tree9835199eeae771ace3b7911365a382614bf84e50
parent073600a858fcbc1722e7484add94330f23f85f89 (diff)
downloadFreeBSD-src-4f721683c98d9bb84b648c93084a19b214062634.zip
FreeBSD-src-4f721683c98d9bb84b648c93084a19b214062634.tar.gz
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
-rw-r--r--sys/netinet/sctp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/sctp.h b/sys/netinet/sctp.h
index 3310453..46d738f 100644
--- a/sys/netinet/sctp.h
+++ b/sys/netinet/sctp.h
@@ -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;
OpenPOWER on IntegriCloud