sctp_uio.h (168859) | sctp_uio.h (168943) |
---|---|
1/*- 2 * Copyright (c) 2001-2007, 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 31/* $KAME: sctp_uio.h,v 1.11 2005/03/06 16:04:18 itojun Exp $ */ 32#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2001-2007, 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 31/* $KAME: sctp_uio.h,v 1.11 2005/03/06 16:04:18 itojun Exp $ */ 32#include <sys/cdefs.h> |
33__FBSDID("$FreeBSD: head/sys/netinet/sctp_uio.h 168859 2007-04-19 11:28:43Z rrs $"); | 33__FBSDID("$FreeBSD: head/sys/netinet/sctp_uio.h 168943 2007-04-22 11:06:27Z rrs $"); |
34 35#ifndef __sctp_uio_h__ 36#define __sctp_uio_h__ 37 38 39#if ! defined(_KERNEL) 40#include <stdint.h> 41#endif --- 58 unchanged lines hidden (view full) --- 100 uint32_t sinfo_timetolive; 101 uint32_t sinfo_tsn; 102 uint32_t sinfo_cumtsn; 103 sctp_assoc_t sinfo_assoc_id; 104 uint8_t __reserve_pad[SCTP_ALIGN_RESV_PAD]; 105}; 106 107struct sctp_extrcvinfo { | 34 35#ifndef __sctp_uio_h__ 36#define __sctp_uio_h__ 37 38 39#if ! defined(_KERNEL) 40#include <stdint.h> 41#endif --- 58 unchanged lines hidden (view full) --- 100 uint32_t sinfo_timetolive; 101 uint32_t sinfo_tsn; 102 uint32_t sinfo_cumtsn; 103 sctp_assoc_t sinfo_assoc_id; 104 uint8_t __reserve_pad[SCTP_ALIGN_RESV_PAD]; 105}; 106 107struct sctp_extrcvinfo { |
108 uint16_t sinfo_stream; 109 uint16_t sinfo_ssn; 110 uint16_t sinfo_flags; 111 uint32_t sinfo_ppid; 112 uint32_t sinfo_context; 113 uint32_t sinfo_timetolive; 114 uint32_t sinfo_tsn; 115 uint32_t sinfo_cumtsn; 116 sctp_assoc_t sinfo_assoc_id; 117 uint16_t next_flags; 118 uint16_t next_stream; 119 uint32_t next_asocid; 120 uint32_t next_length; 121 uint32_t next_ppid; | 108 struct sctp_sndrcvinfo sreinfo_sinfo; 109 uint16_t sreinfo_next_flags; 110 uint16_t sreinfo_next_stream; 111 uint32_t sreinfo_next_aid; 112 uint32_t sreinfo_next_length; 113 uint32_t sreinfo_next_ppid; |
122 uint8_t __reserve_pad[SCTP_ALIGN_RESV_PAD_SHORT]; 123}; 124 125#define SCTP_NO_NEXT_MSG 0x0000 126#define SCTP_NEXT_MSG_AVAIL 0x0001 127#define SCTP_NEXT_MSG_ISCOMPLETE 0x0002 128#define SCTP_NEXT_MSG_IS_UNORDERED 0x0004 129#define SCTP_NEXT_MSG_IS_NOTIFICATION 0x0008 --- 183 unchanged lines hidden (view full) --- 313/* 314 * Partial Delivery API event 315 */ 316struct sctp_pdapi_event { 317 uint16_t pdapi_type; 318 uint16_t pdapi_flags; 319 uint32_t pdapi_length; 320 uint32_t pdapi_indication; | 114 uint8_t __reserve_pad[SCTP_ALIGN_RESV_PAD_SHORT]; 115}; 116 117#define SCTP_NO_NEXT_MSG 0x0000 118#define SCTP_NEXT_MSG_AVAIL 0x0001 119#define SCTP_NEXT_MSG_ISCOMPLETE 0x0002 120#define SCTP_NEXT_MSG_IS_UNORDERED 0x0004 121#define SCTP_NEXT_MSG_IS_NOTIFICATION 0x0008 --- 183 unchanged lines hidden (view full) --- 305/* 306 * Partial Delivery API event 307 */ 308struct sctp_pdapi_event { 309 uint16_t pdapi_type; 310 uint16_t pdapi_flags; 311 uint32_t pdapi_length; 312 uint32_t pdapi_indication; |
313 uint16_t pdapi_stream; 314 uint16_t pdapi_seq; |
|
321 sctp_assoc_t pdapi_assoc_id; 322}; 323 324/* indication values */ 325#define SCTP_PARTIAL_DELIVERY_ABORTED 0x0001 326 327 328/* --- 734 unchanged lines hidden --- | 315 sctp_assoc_t pdapi_assoc_id; 316}; 317 318/* indication values */ 319#define SCTP_PARTIAL_DELIVERY_ABORTED 0x0001 320 321 322/* --- 734 unchanged lines hidden --- |