Deleted Added
full compact
sctp_crc32.h (169382) sctp_crc32.h (180387)
1/*-
2 * Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are met:
6 *
7 * a) Redistributions of source code must retain the above copyright notice,
8 * this list of conditions and the following disclaimer.

--- 17 unchanged lines hidden (view full) ---

26 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
28 * THE POSSIBILITY OF SUCH DAMAGE.
29 */
30
31/* $KAME: sctp_crc32.h,v 1.5 2004/08/17 04:06:16 itojun Exp $ */
32
33#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are met:
6 *
7 * a) Redistributions of source code must retain the above copyright notice,
8 * this list of conditions and the following disclaimer.

--- 17 unchanged lines hidden (view full) ---

26 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
28 * THE POSSIBILITY OF SUCH DAMAGE.
29 */
30
31/* $KAME: sctp_crc32.h,v 1.5 2004/08/17 04:06:16 itojun Exp $ */
32
33#include <sys/cdefs.h>
34__FBSDID("$FreeBSD: head/sys/netinet/sctp_crc32.h 169382 2007-05-08 17:01:12Z rrs $");
34__FBSDID("$FreeBSD: head/sys/netinet/sctp_crc32.h 180387 2008-07-09 16:45:30Z rrs $");
35
36#ifndef __crc32c_h__
37#define __crc32c_h__
38
39#ifndef SCTP_USE_ADLER32
40
35
36#ifndef __crc32c_h__
37#define __crc32c_h__
38
39#ifndef SCTP_USE_ADLER32
40
41#if defined(_KERNEL)
41#if defined(_KERNEL) || defined(__Userspace__)
42uint32_t update_crc32(uint32_t, unsigned char *, unsigned int);
43
44uint32_t old_update_crc32(uint32_t, unsigned char *, unsigned int);
45
46uint32_t sctp_csum_finalize(uint32_t);
47
48
49#endif /* _KERNEL */
50#endif /* !SCTP_USE_ADLER32 */
51#endif /* __crc32c_h__ */
42uint32_t update_crc32(uint32_t, unsigned char *, unsigned int);
43
44uint32_t old_update_crc32(uint32_t, unsigned char *, unsigned int);
45
46uint32_t sctp_csum_finalize(uint32_t);
47
48
49#endif /* _KERNEL */
50#endif /* !SCTP_USE_ADLER32 */
51#endif /* __crc32c_h__ */