Deleted Added
full compact
sctp_uio.h (235075) sctp_uio.h (235081)
1/*-
2 * Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved.
3 * Copyright (c) 2008-2011, by Randall Stewart. All rights reserved.
4 * Copyright (c) 2008-2011, by Michael Tuexen. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are met:
8 *

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

27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33/* $KAME: sctp_uio.h,v 1.11 2005/03/06 16:04:18 itojun Exp $ */
34#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved.
3 * Copyright (c) 2008-2011, by Randall Stewart. All rights reserved.
4 * Copyright (c) 2008-2011, by Michael Tuexen. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are met:
8 *

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

27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33/* $KAME: sctp_uio.h,v 1.11 2005/03/06 16:04:18 itojun Exp $ */
34#include <sys/cdefs.h>
35__FBSDID("$FreeBSD: head/sys/netinet/sctp_uio.h 235075 2012-05-06 11:02:53Z tuexen $");
35__FBSDID("$FreeBSD: head/sys/netinet/sctp_uio.h 235081 2012-05-06 13:09:13Z tuexen $");
36
37#ifndef __sctp_uio_h__
38#define __sctp_uio_h__
39
40
41#if ! defined(_KERNEL)
42#include <stdint.h>
43#endif

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

291 uint16_t sac_type;
292 uint16_t sac_flags;
293 uint32_t sac_length;
294 uint16_t sac_state;
295 uint16_t sac_error;
296 uint16_t sac_outbound_streams;
297 uint16_t sac_inbound_streams;
298 sctp_assoc_t sac_assoc_id;
36
37#ifndef __sctp_uio_h__
38#define __sctp_uio_h__
39
40
41#if ! defined(_KERNEL)
42#include <stdint.h>
43#endif

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

291 uint16_t sac_type;
292 uint16_t sac_flags;
293 uint32_t sac_length;
294 uint16_t sac_state;
295 uint16_t sac_error;
296 uint16_t sac_outbound_streams;
297 uint16_t sac_inbound_streams;
298 sctp_assoc_t sac_assoc_id;
299 uint8_t sac_info[];
299};
300
301/* sac_state values */
300};
301
302/* sac_state values */
302#define SCTP_COMM_UP 0x0001
303#define SCTP_COMM_LOST 0x0002
304#define SCTP_RESTART 0x0003
305#define SCTP_SHUTDOWN_COMP 0x0004
306#define SCTP_CANT_STR_ASSOC 0x0005
303#define SCTP_COMM_UP 0x0001
304#define SCTP_COMM_LOST 0x0002
305#define SCTP_RESTART 0x0003
306#define SCTP_SHUTDOWN_COMP 0x0004
307#define SCTP_CANT_STR_ASSOC 0x0005
307
308
308
309/* sac_info values */
310#define SCTP_ASSOC_SUPPORTS_PR 0x01
311#define SCTP_ASSOC_SUPPORTS_AUTH 0x02
312#define SCTP_ASSOC_SUPPORTS_ASCONF 0x03
313#define SCTP_ASSOC_SUPPORTS_MULTIBUF 0x04
314#define SCTP_ASSOC_SUPPORTS_RE_CONFIG 0x05
315#define SCTP_ASSOC_SUPPORTS_MAX 0x05
309/*
310 * Address event
311 */
312struct sctp_paddr_change {
313 uint16_t spc_type;
314 uint16_t spc_flags;
315 uint32_t spc_length;
316 struct sockaddr_storage spc_aaddr;

--- 994 unchanged lines hidden ---
316/*
317 * Address event
318 */
319struct sctp_paddr_change {
320 uint16_t spc_type;
321 uint16_t spc_flags;
322 uint32_t spc_length;
323 struct sockaddr_storage spc_aaddr;

--- 994 unchanged lines hidden ---