sctp_constants.h (170181) | sctp_constants.h (170606) |
---|---|
1/*- 2 * Copyright (c) 2001-2007, 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. --- 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_constants.h,v 1.17 2005/03/06 16:04:17 itojun Exp $ */ 32 33#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2001-2007, 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. --- 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_constants.h,v 1.17 2005/03/06 16:04:17 itojun Exp $ */ 32 33#include <sys/cdefs.h> |
34__FBSDID("$FreeBSD: head/sys/netinet/sctp_constants.h 170181 2007-06-01 11:19:54Z rrs $"); | 34__FBSDID("$FreeBSD: head/sys/netinet/sctp_constants.h 170606 2007-06-12 11:21:00Z rrs $"); |
35 36#ifndef __sctp_constants_h__ 37#define __sctp_constants_h__ 38 39/* Number of packets to get before sack sent by default */ 40#define SCTP_DEFAULT_SACK_FREQ 2 41 42/* Address limit - This variable is calculated --- 635 unchanged lines hidden (view full) --- 678 * How many smallest_mtu's need to increase before a window update sack is 679 * sent (should be a power of 2). 680 */ 681#define SCTP_SEG_TO_RWND_UPD 32 682/* Send window update (incr * this > hiwat). Should be a power of 2 */ 683#define SCTP_SCALE_OF_RWND_TO_UPD 4 684#define SCTP_MINIMAL_RWND (4096) /* minimal rwnd */ 685 | 35 36#ifndef __sctp_constants_h__ 37#define __sctp_constants_h__ 38 39/* Number of packets to get before sack sent by default */ 40#define SCTP_DEFAULT_SACK_FREQ 2 41 42/* Address limit - This variable is calculated --- 635 unchanged lines hidden (view full) --- 678 * How many smallest_mtu's need to increase before a window update sack is 679 * sent (should be a power of 2). 680 */ 681#define SCTP_SEG_TO_RWND_UPD 32 682/* Send window update (incr * this > hiwat). Should be a power of 2 */ 683#define SCTP_SCALE_OF_RWND_TO_UPD 4 684#define SCTP_MINIMAL_RWND (4096) /* minimal rwnd */ 685 |
686#define SCTP_ADDRMAX 20 | 686#define SCTP_ADDRMAX 24 |
687 688/* SCTP DEBUG Switch parameters */ 689#define SCTP_DEBUG_TIMER1 0x00000001 690#define SCTP_DEBUG_TIMER2 0x00000002 /* unused */ 691#define SCTP_DEBUG_TIMER3 0x00000004 /* unused */ 692#define SCTP_DEBUG_TIMER4 0x00000008 693#define SCTP_DEBUG_OUTPUT1 0x00000010 694#define SCTP_DEBUG_OUTPUT2 0x00000020 --- 361 unchanged lines hidden --- | 687 688/* SCTP DEBUG Switch parameters */ 689#define SCTP_DEBUG_TIMER1 0x00000001 690#define SCTP_DEBUG_TIMER2 0x00000002 /* unused */ 691#define SCTP_DEBUG_TIMER3 0x00000004 /* unused */ 692#define SCTP_DEBUG_TIMER4 0x00000008 693#define SCTP_DEBUG_OUTPUT1 0x00000010 694#define SCTP_DEBUG_OUTPUT2 0x00000020 --- 361 unchanged lines hidden --- |