sctp.h (235009) | sctp.h (235075) |
---|---|
1/*- 2 * Copyright (c) 2001-2008, 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/* $KAME: sctp.h,v 1.18 2005/03/06 16:04:16 itojun Exp $ */ 33 34#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2001-2008, 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/* $KAME: sctp.h,v 1.18 2005/03/06 16:04:16 itojun Exp $ */ 33 34#include <sys/cdefs.h> |
35__FBSDID("$FreeBSD: head/sys/netinet/sctp.h 235009 2012-05-04 15:49:08Z tuexen $"); | 35__FBSDID("$FreeBSD: head/sys/netinet/sctp.h 235075 2012-05-06 11:02:53Z tuexen $"); |
36 37#ifndef _NETINET_SCTP_H_ 38#define _NETINET_SCTP_H_ 39 40#include <sys/types.h> 41 42 43#define SCTP_PACKED __attribute__((packed)) --- 477 unchanged lines hidden (view full) --- 521#define SCTP_PCB_FLAGS_ZERO_COPY_ACTIVE 0x00000080 522/* socket options */ 523#define SCTP_PCB_FLAGS_NODELAY 0x00000100 524#define SCTP_PCB_FLAGS_AUTOCLOSE 0x00000200 525#define SCTP_PCB_FLAGS_RECVDATAIOEVNT 0x00000400 /* deprecated */ 526#define SCTP_PCB_FLAGS_RECVASSOCEVNT 0x00000800 527#define SCTP_PCB_FLAGS_RECVPADDREVNT 0x00001000 528#define SCTP_PCB_FLAGS_RECVPEERERR 0x00002000 | 36 37#ifndef _NETINET_SCTP_H_ 38#define _NETINET_SCTP_H_ 39 40#include <sys/types.h> 41 42 43#define SCTP_PACKED __attribute__((packed)) --- 477 unchanged lines hidden (view full) --- 521#define SCTP_PCB_FLAGS_ZERO_COPY_ACTIVE 0x00000080 522/* socket options */ 523#define SCTP_PCB_FLAGS_NODELAY 0x00000100 524#define SCTP_PCB_FLAGS_AUTOCLOSE 0x00000200 525#define SCTP_PCB_FLAGS_RECVDATAIOEVNT 0x00000400 /* deprecated */ 526#define SCTP_PCB_FLAGS_RECVASSOCEVNT 0x00000800 527#define SCTP_PCB_FLAGS_RECVPADDREVNT 0x00001000 528#define SCTP_PCB_FLAGS_RECVPEERERR 0x00002000 |
529#define SCTP_PCB_FLAGS_RECVSENDFAILEVNT 0x00004000 | 529#define SCTP_PCB_FLAGS_RECVSENDFAILEVNT 0x00004000 /* deprecated */ |
530#define SCTP_PCB_FLAGS_RECVSHUTDOWNEVNT 0x00008000 531#define SCTP_PCB_FLAGS_ADAPTATIONEVNT 0x00010000 532#define SCTP_PCB_FLAGS_PDAPIEVNT 0x00020000 533#define SCTP_PCB_FLAGS_AUTHEVNT 0x00040000 534#define SCTP_PCB_FLAGS_STREAM_RESETEVNT 0x00080000 535#define SCTP_PCB_FLAGS_NO_FRAGMENT 0x00100000 536#define SCTP_PCB_FLAGS_EXPLICIT_EOR 0x00400000 537#define SCTP_PCB_FLAGS_NEEDS_MAPPED_V4 0x00800000 538#define SCTP_PCB_FLAGS_MULTIPLE_ASCONFS 0x01000000 539#define SCTP_PCB_FLAGS_PORTREUSE 0x02000000 540#define SCTP_PCB_FLAGS_DRYEVNT 0x04000000 541#define SCTP_PCB_FLAGS_RECVRCVINFO 0x08000000 542#define SCTP_PCB_FLAGS_RECVNXTINFO 0x10000000 543#define SCTP_PCB_FLAGS_ASSOC_RESETEVNT 0x20000000 544#define SCTP_PCB_FLAGS_STREAM_CHANGEEVNT 0x40000000 | 530#define SCTP_PCB_FLAGS_RECVSHUTDOWNEVNT 0x00008000 531#define SCTP_PCB_FLAGS_ADAPTATIONEVNT 0x00010000 532#define SCTP_PCB_FLAGS_PDAPIEVNT 0x00020000 533#define SCTP_PCB_FLAGS_AUTHEVNT 0x00040000 534#define SCTP_PCB_FLAGS_STREAM_RESETEVNT 0x00080000 535#define SCTP_PCB_FLAGS_NO_FRAGMENT 0x00100000 536#define SCTP_PCB_FLAGS_EXPLICIT_EOR 0x00400000 537#define SCTP_PCB_FLAGS_NEEDS_MAPPED_V4 0x00800000 538#define SCTP_PCB_FLAGS_MULTIPLE_ASCONFS 0x01000000 539#define SCTP_PCB_FLAGS_PORTREUSE 0x02000000 540#define SCTP_PCB_FLAGS_DRYEVNT 0x04000000 541#define SCTP_PCB_FLAGS_RECVRCVINFO 0x08000000 542#define SCTP_PCB_FLAGS_RECVNXTINFO 0x10000000 543#define SCTP_PCB_FLAGS_ASSOC_RESETEVNT 0x20000000 544#define SCTP_PCB_FLAGS_STREAM_CHANGEEVNT 0x40000000 |
545#define SCTP_PCB_FLAGS_RECVNSENDFAILEVNT 0x80000000 |
|
545 546/*- 547 * mobility_features parameters (by micchie).Note 548 * these features are applied against the 549 * sctp_mobility_features flags.. not the sctp_features 550 * flags. 551 */ 552#define SCTP_MOBILITY_BASE 0x00000001 --- 62 unchanged lines hidden --- | 546 547/*- 548 * mobility_features parameters (by micchie).Note 549 * these features are applied against the 550 * sctp_mobility_features flags.. not the sctp_features 551 * flags. 552 */ 553#define SCTP_MOBILITY_BASE 0x00000001 --- 62 unchanged lines hidden --- |