summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_crc32.h
diff options
context:
space:
mode:
authorrrs <rrs@FreeBSD.org>2007-01-18 09:58:43 +0000
committerrrs <rrs@FreeBSD.org>2007-01-18 09:58:43 +0000
commit1b181171ae63e565fff3af7d33d65d39a0d9e4cf (patch)
tree91228bff0a0de5565ce6b43594381b40506b287a /sys/netinet/sctp_crc32.h
parenta40cd17e13e0b3a2db6098d58aaab8707ce82bf1 (diff)
downloadFreeBSD-src-1b181171ae63e565fff3af7d33d65d39a0d9e4cf.zip
FreeBSD-src-1b181171ae63e565fff3af7d33d65d39a0d9e4cf.tar.gz
- most all includes (#include <>) migrate to the sctp_os_bsd.h file
- Finally all splxx() are removed - Count error fixed in mapping array which might cause a wrong cumack generation. - Invariants around panic for case D + printf when no invariants. - one-to-one model race condition fixed by using a pre-formed connection and then completing the work so accept won't happen on a non-formed association. - Some additional paranoia checks in sctp_output. - Locks that were missing in the accept code. Approved by: gnn
Diffstat (limited to 'sys/netinet/sctp_crc32.h')
-rw-r--r--sys/netinet/sctp_crc32.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/netinet/sctp_crc32.h b/sys/netinet/sctp_crc32.h
index c9d41c9..30d7d6e 100644
--- a/sys/netinet/sctp_crc32.h
+++ b/sys/netinet/sctp_crc32.h
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2001-2006, Cisco Systems, Inc. All rights reserved.
+ * Copyright (c) 2001-2007, Cisco Systems, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -36,9 +36,6 @@ __FBSDID("$FreeBSD$");
#ifndef __crc32c_h__
#define __crc32c_h__
-
-#include <sys/types.h>
-
#ifndef SCTP_USE_ADLER32
#if defined(_KERNEL)
@@ -49,8 +46,6 @@ uint32_t old_update_crc32(uint32_t, unsigned char *, unsigned int);
uint32_t sctp_csum_finalize(uint32_t);
-
-
#endif /* _KERNEL */
#endif /* !SCTP_USE_ADLER32 */
#endif /* __crc32c_h__ */
OpenPOWER on IntegriCloud