sctp.h (167598) | sctp.h (168943) |
---|---|
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. --- 16 unchanged lines hidden (view full) --- 25 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 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/* $KAME: sctp.h,v 1.18 2005/03/06 16:04:16 itojun Exp $ */ 31 32#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. --- 16 unchanged lines hidden (view full) --- 25 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 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/* $KAME: sctp.h,v 1.18 2005/03/06 16:04:16 itojun Exp $ */ 31 32#include <sys/cdefs.h> |
33__FBSDID("$FreeBSD: head/sys/netinet/sctp.h 167598 2007-03-15 11:27:14Z rrs $"); | 33__FBSDID("$FreeBSD: head/sys/netinet/sctp.h 168943 2007-04-22 11:06:27Z rrs $"); |
34 35#ifndef _NETINET_SCTP_H_ 36#define _NETINET_SCTP_H_ 37 38#include <sys/types.h> 39 40/* 41 * SCTP protocol - RFC2960. --- 176 unchanged lines hidden (view full) --- 218#define SCTP_PEELOFF 0x0000800a 219/* the real worker for sctp_getaddrlen() */ 220#define SCTP_GET_ADDR_LEN 0x0000800b 221/* temporary workaround for Apple listen() issue, no args used */ 222#define SCTP_LISTEN_FIX 0x0000800c 223/* Debug things that need to be purged */ 224#define SCTP_SET_INITIAL_DBG_SEQ 0x00009f00 225 | 34 35#ifndef _NETINET_SCTP_H_ 36#define _NETINET_SCTP_H_ 37 38#include <sys/types.h> 39 40/* 41 * SCTP protocol - RFC2960. --- 176 unchanged lines hidden (view full) --- 218#define SCTP_PEELOFF 0x0000800a 219/* the real worker for sctp_getaddrlen() */ 220#define SCTP_GET_ADDR_LEN 0x0000800b 221/* temporary workaround for Apple listen() issue, no args used */ 222#define SCTP_LISTEN_FIX 0x0000800c 223/* Debug things that need to be purged */ 224#define SCTP_SET_INITIAL_DBG_SEQ 0x00009f00 225 |
226 227/* fragment interleave constants 228 * setting must be one of these or 229 * EINVAL returned. 230 */ 231#define SCTP_FRAG_LEVEL_0 0x00000000 232#define SCTP_FRAG_LEVEL_1 0x00000001 233#define SCTP_FRAG_LEVEL_2 0x00000002 234 |
|
226/* 227 * user state values 228 */ 229#define SCTP_CLOSED 0x0000 230#define SCTP_BOUND 0x1000 231#define SCTP_LISTEN 0x2000 232#define SCTP_COOKIE_WAIT 0x0002 233#define SCTP_COOKIE_ECHOED 0x0004 --- 153 unchanged lines hidden --- | 235/* 236 * user state values 237 */ 238#define SCTP_CLOSED 0x0000 239#define SCTP_BOUND 0x1000 240#define SCTP_LISTEN 0x2000 241#define SCTP_COOKIE_WAIT 0x0002 242#define SCTP_COOKIE_ECHOED 0x0004 --- 153 unchanged lines hidden --- |