diff options
author | tuexen <tuexen@FreeBSD.org> | 2014-03-12 15:30:40 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2014-03-12 15:30:40 +0000 |
commit | 4f721683c98d9bb84b648c93084a19b214062634 (patch) | |
tree | 9835199eeae771ace3b7911365a382614bf84e50 /sys/netinet | |
parent | 073600a858fcbc1722e7484add94330f23f85f89 (diff) | |
download | FreeBSD-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
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/sctp.h | 4 |
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; |