sctputil.h (168755) | sctputil.h (168757) |
---|---|
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. --- 18 unchanged lines hidden (view full) --- 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 32/* $KAME: sctputil.h,v 1.15 2005/03/06 16:04:19 itojun Exp $ */ 33 34#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. --- 18 unchanged lines hidden (view full) --- 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 32/* $KAME: sctputil.h,v 1.15 2005/03/06 16:04:19 itojun Exp $ */ 33 34#include <sys/cdefs.h> |
35__FBSDID("$FreeBSD: head/sys/netinet/sctputil.h 168755 2007-04-15 11:58:26Z rrs $"); | 35__FBSDID("$FreeBSD: head/sys/netinet/sctputil.h 168757 2007-04-15 13:03:14Z rrs $"); |
36#ifndef __sctputil_h__ 37#define __sctputil_h__ 38 39 40#if defined(_KERNEL) 41 42 43/*- 44 * Any new logging added must also define SCTP_STAT_LOGGING if 45 * its not already defined. 46 */ | 36#ifndef __sctputil_h__ 37#define __sctputil_h__ 38 39 40#if defined(_KERNEL) 41 42 43/*- 44 * Any new logging added must also define SCTP_STAT_LOGGING if 45 * its not already defined. 46 */ |
47#if defined(SCTP_LOG_MAXBURST) | defined(SCTP_LOG_RWND) | defined(SCTP_LOG_RWND) | 47#if defined(SCTP_LOG_MAXBURST) || defined(SCTP_LOG_RWND) || defined(SCTP_LOG_RWND) |
48#ifndef SCTP_STAT_LOGGING 49#define SCTP_STAT_LOGGING 1 50#endif 51#endif 52 | 48#ifndef SCTP_STAT_LOGGING 49#define SCTP_STAT_LOGGING 1 50#endif 51#endif 52 |
53#if defined(SCTP_CWND_LOGGING) | defined(SCTP_CWND_MONITOR) | defined(SCTP_BLK_LOGGING) | 53#if defined(SCTP_CWND_LOGGING) || defined(SCTP_CWND_MONITOR) || defined(SCTP_BLK_LOGGING) |
54#ifndef SCTP_STAT_LOGGING 55#define SCTP_STAT_LOGGING 1 56#endif 57#endif 58 | 54#ifndef SCTP_STAT_LOGGING 55#define SCTP_STAT_LOGGING 1 56#endif 57#endif 58 |
59#if defined(SCTP_STR_LOGGING) | defined(SCTP_FR_LOGGING) defined(SCTP_MAP_LOGGING) | 59#if defined(SCTP_STR_LOGGING) || defined(SCTP_FR_LOGGING) || defined(SCTP_MAP_LOGGING) |
60#ifndef SCTP_STAT_LOGGING 61#define SCTP_STAT_LOGGING 1 62#endif 63#endif 64 | 60#ifndef SCTP_STAT_LOGGING 61#define SCTP_STAT_LOGGING 1 62#endif 63#endif 64 |
65#if defined(SCTP_SACK_LOGGING) | defined(SCTP_LOCK_LOGGING) | defined(SCTP_STAT_LOGGING) | 65#if defined(SCTP_SACK_LOGGING) || defined(SCTP_LOCK_LOGGING) || defined(SCTP_STAT_LOGGING) |
66#ifndef SCTP_STAT_LOGGING 67#define SCTP_STAT_LOGGING 1 68#endif 69#endif 70 | 66#ifndef SCTP_STAT_LOGGING 67#define SCTP_STAT_LOGGING 1 68#endif 69#endif 70 |
71#if defined(SCTP_RTTVAR_LOGGING) | defined(SCTP_SB_LOGGING) | defined(SCTP_EARLYFR_LOGGING) | 71#if defined(SCTP_RTTVAR_LOGGING) || defined(SCTP_SB_LOGGING) || defined(SCTP_EARLYFR_LOGGING) |
72#ifndef SCTP_STAT_LOGGING 73#define SCTP_STAT_LOGGING 1 74#endif 75#endif 76 | 72#ifndef SCTP_STAT_LOGGING 73#define SCTP_STAT_LOGGING 1 74#endif 75#endif 76 |
77#if defined(SCTP_NAGLE_LOGGING) | defined(SCTP_WAKE_LOGGING) | defined(SCTP_RECV_RWND_LOGGING) | 77#if defined(SCTP_NAGLE_LOGGING) || defined(SCTP_WAKE_LOGGING) || defined(SCTP_RECV_RWND_LOGGING) |
78#ifndef SCTP_STAT_LOGGING 79#define SCTP_STAT_LOGGING 1 80#endif 81#endif 82 | 78#ifndef SCTP_STAT_LOGGING 79#define SCTP_STAT_LOGGING 1 80#endif 81#endif 82 |
83#if defined(SCTP_SACK_RWND_LOGGING) | defined(SCTP_FLIGHT_LOGGING) | defined(SCTP_MBUF_LOGGING) | 83#if defined(SCTP_SACK_RWND_LOGGING) || defined(SCTP_FLIGHT_LOGGING) || defined(SCTP_MBUF_LOGGING) |
84#ifndef SCTP_STAT_LOGGING 85#define SCTP_STAT_LOGGING 1 86#endif 87#endif 88 89#ifdef SCTP_MBUF_LOGGING 90struct mbuf *sctp_m_free(struct mbuf *m); 91void sctp_m_freem(struct mbuf *m); --- 280 unchanged lines hidden --- | 84#ifndef SCTP_STAT_LOGGING 85#define SCTP_STAT_LOGGING 1 86#endif 87#endif 88 89#ifdef SCTP_MBUF_LOGGING 90struct mbuf *sctp_m_free(struct mbuf *m); 91void sctp_m_freem(struct mbuf *m); --- 280 unchanged lines hidden --- |