diff options
Diffstat (limited to 'chromium/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_crc32.h')
-rwxr-xr-x | chromium/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_crc32.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/chromium/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_crc32.h b/chromium/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_crc32.h index ee1161adbf5..ac20c10341f 100755 --- a/chromium/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_crc32.h +++ b/chromium/third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_crc32.h @@ -34,25 +34,23 @@ #ifdef __FreeBSD__ #include <sys/cdefs.h> -__FBSDID("$FreeBSD: head/sys/netinet/sctp_crc32.h 309607 2016-12-06 10:21:25Z tuexen $"); +__FBSDID("$FreeBSD: head/sys/netinet/sctp_crc32.h 327200 2017-12-26 12:35:02Z tuexen $"); #endif #ifndef _NETINET_SCTP_CRC32_H_ #define _NETINET_SCTP_CRC32_H_ #if defined(_KERNEL) -#if !defined(SCTP_WITH_NO_CSUM) uint32_t sctp_calculate_cksum(struct mbuf *, uint32_t); -#endif #if defined(__FreeBSD__) +#ifdef SCTP void sctp_delayed_cksum(struct mbuf *, uint32_t offset); #endif +#endif #endif /* _KERNEL */ #if defined(__Userspace__) -#if !defined(SCTP_WITH_NO_CSUM) uint32_t calculate_crc32c(uint32_t, const unsigned char *, unsigned int); uint32_t sctp_finalize_crc32c(uint32_t); uint32_t sctp_calculate_cksum(struct mbuf *, uint32_t); #endif -#endif #endif /* __crc32c_h__ */ |