sctp.h (235990) | sctp.h (246595) |
---|---|
1/*- 2 * Copyright (c) 2001-2008, by Cisco Systems, Inc. All rights reserved. 3 * Copyright (c) 2008-2012, by Randall Stewart. All rights reserved. 4 * Copyright (c) 2008-2012, 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 * --- 17 unchanged lines hidden (view full) --- 26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 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#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2001-2008, by Cisco Systems, Inc. All rights reserved. 3 * Copyright (c) 2008-2012, by Randall Stewart. All rights reserved. 4 * Copyright (c) 2008-2012, 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 * --- 17 unchanged lines hidden (view full) --- 26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 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#include <sys/cdefs.h> |
34__FBSDID("$FreeBSD: head/sys/netinet/sctp.h 235990 2012-05-25 11:14:08Z tuexen $"); | 34__FBSDID("$FreeBSD: head/sys/netinet/sctp.h 246595 2013-02-09 17:26:14Z tuexen $"); |
35 36#ifndef _NETINET_SCTP_H_ 37#define _NETINET_SCTP_H_ 38 39 40#include <sys/types.h> 41 42 --- 452 unchanged lines hidden (view full) --- 495#define SCTP_PCB_FLAGS_DONT_WAKE 0x00800000 496#define SCTP_PCB_FLAGS_WAKEOUTPUT 0x01000000 497#define SCTP_PCB_FLAGS_WAKEINPUT 0x02000000 498#define SCTP_PCB_FLAGS_BOUND_V6 0x04000000 499#define SCTP_PCB_FLAGS_BLOCKING_IO 0x08000000 500#define SCTP_PCB_FLAGS_SOCKET_GONE 0x10000000 501#define SCTP_PCB_FLAGS_SOCKET_ALLGONE 0x20000000 502#define SCTP_PCB_FLAGS_SOCKET_CANT_READ 0x40000000 | 35 36#ifndef _NETINET_SCTP_H_ 37#define _NETINET_SCTP_H_ 38 39 40#include <sys/types.h> 41 42 --- 452 unchanged lines hidden (view full) --- 495#define SCTP_PCB_FLAGS_DONT_WAKE 0x00800000 496#define SCTP_PCB_FLAGS_WAKEOUTPUT 0x01000000 497#define SCTP_PCB_FLAGS_WAKEINPUT 0x02000000 498#define SCTP_PCB_FLAGS_BOUND_V6 0x04000000 499#define SCTP_PCB_FLAGS_BLOCKING_IO 0x08000000 500#define SCTP_PCB_FLAGS_SOCKET_GONE 0x10000000 501#define SCTP_PCB_FLAGS_SOCKET_ALLGONE 0x20000000 502#define SCTP_PCB_FLAGS_SOCKET_CANT_READ 0x40000000 |
503 |
|
503/* flags to copy to new PCB */ 504#define SCTP_PCB_COPY_FLAGS (SCTP_PCB_FLAGS_BOUNDALL|\ 505 SCTP_PCB_FLAGS_WAKEINPUT|\ 506 SCTP_PCB_FLAGS_BOUND_V6) 507 | 504/* flags to copy to new PCB */ 505#define SCTP_PCB_COPY_FLAGS (SCTP_PCB_FLAGS_BOUNDALL|\ 506 SCTP_PCB_FLAGS_WAKEINPUT|\ 507 SCTP_PCB_FLAGS_BOUND_V6) 508 |
508 | |
509/* 510 * PCB Features (in sctp_features bitmask) 511 */ 512#define SCTP_PCB_FLAGS_DO_NOT_PMTUD 0x00000001 513#define SCTP_PCB_FLAGS_EXT_RCVINFO 0x00000002 /* deprecated */ 514#define SCTP_PCB_FLAGS_DONOT_HEARTBEAT 0x00000004 515#define SCTP_PCB_FLAGS_FRAG_INTERLEAVE 0x00000008 516#define SCTP_PCB_FLAGS_INTERLEAVE_STRMS 0x00000010 --- 96 unchanged lines hidden --- | 509/* 510 * PCB Features (in sctp_features bitmask) 511 */ 512#define SCTP_PCB_FLAGS_DO_NOT_PMTUD 0x00000001 513#define SCTP_PCB_FLAGS_EXT_RCVINFO 0x00000002 /* deprecated */ 514#define SCTP_PCB_FLAGS_DONOT_HEARTBEAT 0x00000004 515#define SCTP_PCB_FLAGS_FRAG_INTERLEAVE 0x00000008 516#define SCTP_PCB_FLAGS_INTERLEAVE_STRMS 0x00000010 --- 96 unchanged lines hidden --- |