sctp_sysctl.h (179783) | sctp_sysctl.h (180387) |
---|---|
1/*- 2 * Copyright (c) 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. --- 15 unchanged lines hidden (view full) --- 24 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 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 31#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 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. --- 15 unchanged lines hidden (view full) --- 24 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 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 31#include <sys/cdefs.h> |
32__FBSDID("$FreeBSD: head/sys/netinet/sctp_sysctl.h 179783 2008-06-14 07:58:05Z rrs $"); | 32__FBSDID("$FreeBSD: head/sys/netinet/sctp_sysctl.h 180387 2008-07-09 16:45:30Z rrs $"); |
33 34#ifndef __sctp_sysctl_h__ 35#define __sctp_sysctl_h__ 36 37#include <netinet/sctp_os.h> 38#include <netinet/sctp_constants.h> 39 40struct sctp_sysctl { --- 437 unchanged lines hidden (view full) --- 478#if defined (__APPLE__) || defined(SCTP_SO_LOCK_TESTING) 479#define SCTPCTL_OUTPUT_UNLOCKED_DESC "Unlock socket when sending packets down to IP." 480#define SCTPCTL_OUTPUT_UNLOCKED_MIN 0 481#define SCTPCTL_OUTPUT_UNLOCKED_MAX 1 482#define SCTPCTL_OUTPUT_UNLOCKED_DEFAULT SCTPCTL_OUTPUT_UNLOCKED_MIN 483#endif 484 485 | 33 34#ifndef __sctp_sysctl_h__ 35#define __sctp_sysctl_h__ 36 37#include <netinet/sctp_os.h> 38#include <netinet/sctp_constants.h> 39 40struct sctp_sysctl { --- 437 unchanged lines hidden (view full) --- 478#if defined (__APPLE__) || defined(SCTP_SO_LOCK_TESTING) 479#define SCTPCTL_OUTPUT_UNLOCKED_DESC "Unlock socket when sending packets down to IP." 480#define SCTPCTL_OUTPUT_UNLOCKED_MIN 0 481#define SCTPCTL_OUTPUT_UNLOCKED_MAX 1 482#define SCTPCTL_OUTPUT_UNLOCKED_DEFAULT SCTPCTL_OUTPUT_UNLOCKED_MIN 483#endif 484 485 |
486#if defined(_KERNEL) | 486#if defined(_KERNEL) || defined(__Userspace__) |
487#if defined(SYSCTL_DECL) 488SYSCTL_DECL(_net_inet_sctp); 489#endif 490 491void sctp_init_sysctls(void); 492 493#endif /* _KERNEL */ 494#endif /* __sctp_sysctl_h__ */ | 487#if defined(SYSCTL_DECL) 488SYSCTL_DECL(_net_inet_sctp); 489#endif 490 491void sctp_init_sysctls(void); 492 493#endif /* _KERNEL */ 494#endif /* __sctp_sysctl_h__ */ |