summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_crc32.h
diff options
context:
space:
mode:
authorrrs <rrs@FreeBSD.org>2008-07-09 16:45:30 +0000
committerrrs <rrs@FreeBSD.org>2008-07-09 16:45:30 +0000
commita51aa927fad5ab9ebbb294340935d462f68ee19b (patch)
tree4a87f4aa4fe465871cb0aabaa4a65bf4595791b3 /sys/netinet/sctp_crc32.h
parentc0ef832fd278f80304905d075e4657c1a92b196b (diff)
downloadFreeBSD-src-a51aa927fad5ab9ebbb294340935d462f68ee19b.zip
FreeBSD-src-a51aa927fad5ab9ebbb294340935d462f68ee19b.tar.gz
1) Adds the rest of the VIMAGE change macros
2) Adds some __UserSpace__ on some of the common defines that the user space code needs 3) Fixes a bug when we send up data to a user that failed. We need to a) trim off the data chunk headers, if present, and b) make sure the frag bit is communicated properly for the msgs coming off the stream queues... i.e. we see if some of the msg has been taken. Obtained from: jeli contributed the VIMAGE changes on this pass Thanks Julain!
Diffstat (limited to 'sys/netinet/sctp_crc32.h')
-rw-r--r--sys/netinet/sctp_crc32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctp_crc32.h b/sys/netinet/sctp_crc32.h
index 3d118e5..88739ed 100644
--- a/sys/netinet/sctp_crc32.h
+++ b/sys/netinet/sctp_crc32.h
@@ -38,7 +38,7 @@ __FBSDID("$FreeBSD$");
#ifndef SCTP_USE_ADLER32
-#if defined(_KERNEL)
+#if defined(_KERNEL) || defined(__Userspace__)
uint32_t update_crc32(uint32_t, unsigned char *, unsigned int);
uint32_t old_update_crc32(uint32_t, unsigned char *, unsigned int);
OpenPOWER on IntegriCloud