Deleted Added
full compact
sctp_constants.h (164181) sctp_constants.h (164205)
1/*-
2 * Copyright (c) 2001-2006, 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_constants.h,v 1.17 2005/03/06 16:04:17 itojun Exp $ */
32
33#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2001-2006, 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_constants.h,v 1.17 2005/03/06 16:04:17 itojun Exp $ */
32
33#include <sys/cdefs.h>
34__FBSDID("$FreeBSD: head/sys/netinet/sctp_constants.h 164181 2006-11-11 15:59:01Z rrs $");
34__FBSDID("$FreeBSD: head/sys/netinet/sctp_constants.h 164205 2006-11-11 22:44:12Z rrs $");
35
36#ifndef __sctp_constants_h__
37#define __sctp_constants_h__
38
39#if defined(_KERNEL)
40#include <sys/kernel.h>
41#endif
42

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

302#define SCTP_OUTPUT_FROM_HB_TMR 6
303#define SCTP_OUTPUT_FROM_SHUT_ACK_TMR 7
304#define SCTP_OUTPUT_FROM_ASCONF_TMR 8
305#define SCTP_OUTPUT_FROM_STRRST_TMR 9
306#define SCTP_OUTPUT_FROM_AUTOCLOSE_TMR 10
307#define SCTP_OUTPUT_FROM_EARLY_FR_TMR 11
308#define SCTP_OUTPUT_FROM_STRRST_REQ 12
309#define SCTP_OUTPUT_FROM_USR_RCVD 13
35
36#ifndef __sctp_constants_h__
37#define __sctp_constants_h__
38
39#if defined(_KERNEL)
40#include <sys/kernel.h>
41#endif
42

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

302#define SCTP_OUTPUT_FROM_HB_TMR 6
303#define SCTP_OUTPUT_FROM_SHUT_ACK_TMR 7
304#define SCTP_OUTPUT_FROM_ASCONF_TMR 8
305#define SCTP_OUTPUT_FROM_STRRST_TMR 9
306#define SCTP_OUTPUT_FROM_AUTOCLOSE_TMR 10
307#define SCTP_OUTPUT_FROM_EARLY_FR_TMR 11
308#define SCTP_OUTPUT_FROM_STRRST_REQ 12
309#define SCTP_OUTPUT_FROM_USR_RCVD 13
310#define SCTP_OUTPUT_FROM_COOKIE_ACK 14
310/* SCTP chunk types are moved sctp.h for application (NAT, FW) use */
311
312/* align to 32-bit sizes */
313#define SCTP_SIZE32(x) ((((x)+3) >> 2) << 2)
314
315#define IS_SCTP_CONTROL(a) ((a)->chunk_type != SCTP_DATA)
316#define IS_SCTP_DATA(a) ((a)->chunk_type == SCTP_DATA)
317

--- 588 unchanged lines hidden ---
311/* SCTP chunk types are moved sctp.h for application (NAT, FW) use */
312
313/* align to 32-bit sizes */
314#define SCTP_SIZE32(x) ((((x)+3) >> 2) << 2)
315
316#define IS_SCTP_CONTROL(a) ((a)->chunk_type != SCTP_DATA)
317#define IS_SCTP_DATA(a) ((a)->chunk_type == SCTP_DATA)
318

--- 588 unchanged lines hidden ---