Deleted Added
full compact
sctp.h (217760) sctp.h (218072)
1/*-
2 * Copyright (c) 2001-2008, by 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/* $KAME: sctp.h,v 1.18 2005/03/06 16:04:16 itojun Exp $ */
31
32#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2001-2008, by 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/* $KAME: sctp.h,v 1.18 2005/03/06 16:04:16 itojun Exp $ */
31
32#include <sys/cdefs.h>
33__FBSDID("$FreeBSD: head/sys/netinet/sctp.h 217760 2011-01-23 19:36:28Z tuexen $");
33__FBSDID("$FreeBSD: head/sys/netinet/sctp.h 218072 2011-01-29 19:55:29Z rrs $");
34
35#ifndef _NETINET_SCTP_H_
36#define _NETINET_SCTP_H_
37
38#include <sys/types.h>
39
40
41#define SCTP_PACKED __attribute__((packed))

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

412/* ABORT and SHUTDOWN COMPLETE FLAG */
413#define SCTP_HAD_NO_TCB 0x01
414
415/* Packet dropped flags */
416#define SCTP_FROM_MIDDLE_BOX SCTP_HAD_NO_TCB
417#define SCTP_BADCRC 0x02
418#define SCTP_PACKET_TRUNCATED 0x04
419
34
35#ifndef _NETINET_SCTP_H_
36#define _NETINET_SCTP_H_
37
38#include <sys/types.h>
39
40
41#define SCTP_PACKED __attribute__((packed))

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

412/* ABORT and SHUTDOWN COMPLETE FLAG */
413#define SCTP_HAD_NO_TCB 0x01
414
415/* Packet dropped flags */
416#define SCTP_FROM_MIDDLE_BOX SCTP_HAD_NO_TCB
417#define SCTP_BADCRC 0x02
418#define SCTP_PACKET_TRUNCATED 0x04
419
420/* Flag for ECN -CWR */
421#define SCTP_CWR_REDUCE_OVERRIDE 0x01
422#define SCTP_CWR_IN_SAME_WINDOW 0x02
423
420#define SCTP_SAT_NETWORK_MIN 400 /* min ms for RTT to set satellite
421 * time */
422#define SCTP_SAT_NETWORK_BURST_INCR 2 /* how many times to multiply maxburst
423 * in sat */
424
425/* Data Chuck Specific Flags */
426#define SCTP_DATA_FRAG_MASK 0x03
427#define SCTP_DATA_MIDDLE_FRAG 0x00

--- 141 unchanged lines hidden ---
424#define SCTP_SAT_NETWORK_MIN 400 /* min ms for RTT to set satellite
425 * time */
426#define SCTP_SAT_NETWORK_BURST_INCR 2 /* how many times to multiply maxburst
427 * in sat */
428
429/* Data Chuck Specific Flags */
430#define SCTP_DATA_FRAG_MASK 0x03
431#define SCTP_DATA_MIDDLE_FRAG 0x00

--- 141 unchanged lines hidden ---