Deleted Added
full compact
sctp_pcb.h (168299) sctp_pcb.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.

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

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_pcb.h,v 1.21 2005/07/16 01:18:47 suz Exp $ */
32
33#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.

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

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_pcb.h,v 1.21 2005/07/16 01:18:47 suz Exp $ */
32
33#include <sys/cdefs.h>
34__FBSDID("$FreeBSD: head/sys/netinet/sctp_pcb.h 168299 2007-04-03 11:15:32Z rrs $");
34__FBSDID("$FreeBSD: head/sys/netinet/sctp_pcb.h 168943 2007-04-22 11:06:27Z rrs $");
35
36#ifndef __sctp_pcb_h__
37#define __sctp_pcb_h__
38
39#include <netinet/sctp_os.h>
40#include <netinet/sctp.h>
41#include <netinet/sctp_constants.h>
42

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

79#define SCTP_PCB_FLAGS_SOCKET_ALLGONE 0x40000000
80/* flags to copy to new PCB */
81#define SCTP_PCB_COPY_FLAGS 0x0e000004
82
83
84/*
85 * PCB Features (in sctp_features bitmask)
86 */
35
36#ifndef __sctp_pcb_h__
37#define __sctp_pcb_h__
38
39#include <netinet/sctp_os.h>
40#include <netinet/sctp.h>
41#include <netinet/sctp_constants.h>
42

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

79#define SCTP_PCB_FLAGS_SOCKET_ALLGONE 0x40000000
80/* flags to copy to new PCB */
81#define SCTP_PCB_COPY_FLAGS 0x0e000004
82
83
84/*
85 * PCB Features (in sctp_features bitmask)
86 */
87#define SCTP_PCB_FLAGS_EXT_RCVINFO 0x00000004
88#define SCTP_PCB_FLAGS_DONOT_HEARTBEAT 0x00000008
89#define SCTP_PCB_FLAGS_FRAG_INTERLEAVE 0x00000010
87#define SCTP_PCB_FLAGS_EXT_RCVINFO 0x00000002
88#define SCTP_PCB_FLAGS_DONOT_HEARTBEAT 0x00000004
89#define SCTP_PCB_FLAGS_FRAG_INTERLEAVE 0x00000008
90#define SCTP_PCB_FLAGS_INTERLEAVE_STRMS 0x00000010
90#define SCTP_PCB_FLAGS_DO_ASCONF 0x00000020
91#define SCTP_PCB_FLAGS_AUTO_ASCONF 0x00000040
92/* socket options */
93#define SCTP_PCB_FLAGS_NODELAY 0x00000100
94#define SCTP_PCB_FLAGS_AUTOCLOSE 0x00000200
95#define SCTP_PCB_FLAGS_RECVDATAIOEVNT 0x00000400
96#define SCTP_PCB_FLAGS_RECVASSOCEVNT 0x00000800
97#define SCTP_PCB_FLAGS_RECVPADDREVNT 0x00001000
98#define SCTP_PCB_FLAGS_RECVPEERERR 0x00002000
99#define SCTP_PCB_FLAGS_RECVSENDFAILEVNT 0x00004000
100#define SCTP_PCB_FLAGS_RECVSHUTDOWNEVNT 0x00008000
101#define SCTP_PCB_FLAGS_ADAPTATIONEVNT 0x00010000
102#define SCTP_PCB_FLAGS_PDAPIEVNT 0x00020000
103#define SCTP_PCB_FLAGS_AUTHEVNT 0x00040000
104#define SCTP_PCB_FLAGS_STREAM_RESETEVNT 0x00080000
105#define SCTP_PCB_FLAGS_NO_FRAGMENT 0x00100000
91#define SCTP_PCB_FLAGS_DO_ASCONF 0x00000020
92#define SCTP_PCB_FLAGS_AUTO_ASCONF 0x00000040
93/* socket options */
94#define SCTP_PCB_FLAGS_NODELAY 0x00000100
95#define SCTP_PCB_FLAGS_AUTOCLOSE 0x00000200
96#define SCTP_PCB_FLAGS_RECVDATAIOEVNT 0x00000400
97#define SCTP_PCB_FLAGS_RECVASSOCEVNT 0x00000800
98#define SCTP_PCB_FLAGS_RECVPADDREVNT 0x00001000
99#define SCTP_PCB_FLAGS_RECVPEERERR 0x00002000
100#define SCTP_PCB_FLAGS_RECVSENDFAILEVNT 0x00004000
101#define SCTP_PCB_FLAGS_RECVSHUTDOWNEVNT 0x00008000
102#define SCTP_PCB_FLAGS_ADAPTATIONEVNT 0x00010000
103#define SCTP_PCB_FLAGS_PDAPIEVNT 0x00020000
104#define SCTP_PCB_FLAGS_AUTHEVNT 0x00040000
105#define SCTP_PCB_FLAGS_STREAM_RESETEVNT 0x00080000
106#define SCTP_PCB_FLAGS_NO_FRAGMENT 0x00100000
106#define SCTP_PCB_FLAGS_EXPLICIT_EOR 0x00200000
107#define SCTP_PCB_FLAGS_EXPLICIT_EOR 0x00400000
107
108
109#define SCTP_PCBHASH_ALLADDR(port, mask) (port & mask)
110#define SCTP_PCBHASH_ASOC(tag, mask) (tag & mask)
111
112struct sctp_vrf {
113 LIST_ENTRY(sctp_vrf) next_vrf;
114 struct sctp_ifalist *vrf_addr_hash;

--- 462 unchanged lines hidden ---
108
109
110#define SCTP_PCBHASH_ALLADDR(port, mask) (port & mask)
111#define SCTP_PCBHASH_ASOC(tag, mask) (tag & mask)
112
113struct sctp_vrf {
114 LIST_ENTRY(sctp_vrf) next_vrf;
115 struct sctp_ifalist *vrf_addr_hash;

--- 462 unchanged lines hidden ---