sctp_constants.h (207966) | sctp_constants.h (208160) |
---|---|
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. --- 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-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. --- 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 207966 2010-05-12 16:10:33Z tuexen $"); | 34__FBSDID("$FreeBSD: head/sys/netinet/sctp_constants.h 208160 2010-05-16 17:03:56Z rrs $"); |
35 36#ifndef __sctp_constants_h__ 37#define __sctp_constants_h__ 38 39/* IANA assigned port number for SCTP over UDP encapsulation */ 40/* For freebsd we cannot bind the port at 41 * startup. Otherwise what will happen is 42 * we really won't be bound. The user must --- 39 unchanged lines hidden (view full) --- 82 * iterator on an address change. 83 */ 84#define SCTP_ADDRESS_TICK_DELAY 2 85 86#define SCTP_VERSION_STRING "KAME-BSD 1.1" 87/* #define SCTP_AUDITING_ENABLED 1 used for debug/auditing */ 88#define SCTP_AUDIT_SIZE 256 89 | 35 36#ifndef __sctp_constants_h__ 37#define __sctp_constants_h__ 38 39/* IANA assigned port number for SCTP over UDP encapsulation */ 40/* For freebsd we cannot bind the port at 41 * startup. Otherwise what will happen is 42 * we really won't be bound. The user must --- 39 unchanged lines hidden (view full) --- 82 * iterator on an address change. 83 */ 84#define SCTP_ADDRESS_TICK_DELAY 2 85 86#define SCTP_VERSION_STRING "KAME-BSD 1.1" 87/* #define SCTP_AUDITING_ENABLED 1 used for debug/auditing */ 88#define SCTP_AUDIT_SIZE 256 89 |
90/* temporary disabled since it does not work with VNET. */ 91#if 0 92#define SCTP_USE_THREAD_BASED_ITERATOR 1 93#endif | |
94 95#define SCTP_KTRHEAD_NAME "sctp_iterator" 96#define SCTP_KTHREAD_PAGES 0 97 98 99/* If you support Multi-VRF how big to 100 * make the initial array of VRF's to. 101 */ --- 465 unchanged lines hidden (view full) --- 567#define SCTP_TIMER_TYPE_PATHMTURAISE 8 568#define SCTP_TIMER_TYPE_SHUTDOWNACK 9 569#define SCTP_TIMER_TYPE_ASCONF 10 570#define SCTP_TIMER_TYPE_SHUTDOWNGUARD 11 571#define SCTP_TIMER_TYPE_AUTOCLOSE 12 572#define SCTP_TIMER_TYPE_EVENTWAKE 13 573#define SCTP_TIMER_TYPE_STRRESET 14 574#define SCTP_TIMER_TYPE_INPKILL 15 | 90 91#define SCTP_KTRHEAD_NAME "sctp_iterator" 92#define SCTP_KTHREAD_PAGES 0 93 94 95/* If you support Multi-VRF how big to 96 * make the initial array of VRF's to. 97 */ --- 465 unchanged lines hidden (view full) --- 563#define SCTP_TIMER_TYPE_PATHMTURAISE 8 564#define SCTP_TIMER_TYPE_SHUTDOWNACK 9 565#define SCTP_TIMER_TYPE_ASCONF 10 566#define SCTP_TIMER_TYPE_SHUTDOWNGUARD 11 567#define SCTP_TIMER_TYPE_AUTOCLOSE 12 568#define SCTP_TIMER_TYPE_EVENTWAKE 13 569#define SCTP_TIMER_TYPE_STRRESET 14 570#define SCTP_TIMER_TYPE_INPKILL 15 |
575#define SCTP_TIMER_TYPE_ITERATOR 16 | |
576#define SCTP_TIMER_TYPE_EARLYFR 17 577#define SCTP_TIMER_TYPE_ASOCKILL 18 578#define SCTP_TIMER_TYPE_ADDR_WQ 19 579#define SCTP_TIMER_TYPE_ZERO_COPY 20 580#define SCTP_TIMER_TYPE_ZCOPY_SENDQ 21 581#define SCTP_TIMER_TYPE_PRIM_DELETED 22 582/* add new timers here - and increment LAST */ 583#define SCTP_TIMER_TYPE_LAST 23 --- 470 unchanged lines hidden --- | 571#define SCTP_TIMER_TYPE_EARLYFR 17 572#define SCTP_TIMER_TYPE_ASOCKILL 18 573#define SCTP_TIMER_TYPE_ADDR_WQ 19 574#define SCTP_TIMER_TYPE_ZERO_COPY 20 575#define SCTP_TIMER_TYPE_ZCOPY_SENDQ 21 576#define SCTP_TIMER_TYPE_PRIM_DELETED 22 577/* add new timers here - and increment LAST */ 578#define SCTP_TIMER_TYPE_LAST 23 --- 470 unchanged lines hidden --- |