summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_crc32.h
diff options
context:
space:
mode:
authorpiso <piso@FreeBSD.org>2009-02-07 18:49:42 +0000
committerpiso <piso@FreeBSD.org>2009-02-07 18:49:42 +0000
commitd34fad29235ccc0edbe6d08993a47cfe168f59d9 (patch)
treeb37eefe3826754719d7024fb68cb7d239167d799 /sys/netinet/sctp_crc32.h
parentfabbde3ecefd44749fcd5f1c5d4349bda2c61c54 (diff)
parent8af3d78dd29ac07a9612994c5bdf8ea196ee5599 (diff)
downloadFreeBSD-src-d34fad29235ccc0edbe6d08993a47cfe168f59d9.zip
FreeBSD-src-d34fad29235ccc0edbe6d08993a47cfe168f59d9.tar.gz
Add SCTP NAT support.
Submitted by: CAIA (http://caia.swin.edu.au)
Diffstat (limited to 'sys/netinet/sctp_crc32.h')
-rw-r--r--sys/netinet/sctp_crc32.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/sctp_crc32.h b/sys/netinet/sctp_crc32.h
index 634acd4..2c353d2 100644
--- a/sys/netinet/sctp_crc32.h
+++ b/sys/netinet/sctp_crc32.h
@@ -39,6 +39,8 @@ __FBSDID("$FreeBSD$");
#if defined(_KERNEL) || defined(__Userspace__)
uint32_t sctp_calculate_cksum(struct mbuf *, uint32_t);
void sctp_delayed_cksum(struct mbuf *);
+uint32_t update_crc32(uint32_t, unsigned char *, unsigned int);
+uint32_t sctp_finalize_crc32(uint32_t);
#endif /* _KERNEL */
OpenPOWER on IntegriCloud