Deleted Added
full compact
sctp_sysctl.h (168124) sctp_sysctl.h (168299)
1/*-
2 * Copyright (c) 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.

--- 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, 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 168124 2007-03-31 11:47:30Z rrs $");
32__FBSDID("$FreeBSD: head/sys/netinet/sctp_sysctl.h 168299 2007-04-03 11:15:32Z 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
40/*

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

371
372/* strict_data_order: Enforce strict data ordering, abort if control inside data */
373#define SCTPCTL_STRICT_DATA_ORDER 48
374#define SCTPCTL_STRICT_DATA_ORDER_DESC "Enforce strict data ordering, abort if control inside data"
375#define SCTPCTL_STRICT_DATA_ORDER_MIN 0
376#define SCTPCTL_STRICT_DATA_ORDER_MAX 1
377#define SCTPCTL_STRICT_DATA_ORDER_DEFAULT 0
378
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
40/*

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

371
372/* strict_data_order: Enforce strict data ordering, abort if control inside data */
373#define SCTPCTL_STRICT_DATA_ORDER 48
374#define SCTPCTL_STRICT_DATA_ORDER_DESC "Enforce strict data ordering, abort if control inside data"
375#define SCTPCTL_STRICT_DATA_ORDER_MIN 0
376#define SCTPCTL_STRICT_DATA_ORDER_MAX 1
377#define SCTPCTL_STRICT_DATA_ORDER_DEFAULT 0
378
379/* min residual in in a data fragment leftover */
379/* min_residual: min residual in a data fragment leftover */
380#define SCTPCTL_MIN_REDIDUAL 49
381#define SCTPCTL_MIN_RESIDUAL_DESC "Minimum residual data chunk in second part of split"
382#define SCTPCTL_MIN_RESIDUAL_MIN 20
383#define SCTPCTL_MIN_RESIDUAL_MAX 65535
384#define SCTPCTL_MIN_RESIDUAL_DEFAULT 1452
385
380#define SCTPCTL_MIN_REDIDUAL 49
381#define SCTPCTL_MIN_RESIDUAL_DESC "Minimum residual data chunk in second part of split"
382#define SCTPCTL_MIN_RESIDUAL_MIN 20
383#define SCTPCTL_MIN_RESIDUAL_MAX 65535
384#define SCTPCTL_MIN_RESIDUAL_DEFAULT 1452
385
386/* min residual in in a data fragment leftover */
387#define SCTPCTL_MAX_RETRAN 50
388#define SCTPCTL_MAX_RETRAN_DESC "Maximum times a unlucky chunk can be retran'd before assoc abort "
389#define SCTPCTL_MAX_RETRAN_MIN 0
390#define SCTPCTL_MAX_RETRAN_MAX 65535
391#define SCTPCTL_MAX_RETRAN_DEFAULT 30
386/* max_retran_chunk: max chunk retransmissions */
387#define SCTPCTL_MAX_RETRAN_CHUNK 50
388#define SCTPCTL_MAX_RETRAN_CHUNK_DESC "Maximum times an unlucky chunk can be retran'd before assoc abort"
389#define SCTPCTL_MAX_RETRAN_CHUNK_MIN 0
390#define SCTPCTL_MAX_RETRAN_CHUNK_MAX 65535
391#define SCTPCTL_MAX_RETRAN_CHUNK_DEFAULT 30
392
393
392
393
394
395#ifdef SCTP_DEBUG
396/* debug: Configure debug output */
397#define SCTPCTL_DEBUG 51
398#define SCTPCTL_DEBUG_DESC "Configure debug output"
399#define SCTPCTL_DEBUG_MIN 0
400#define SCTPCTL_DEBUG_MAX 0xFFFFFFFF
401#define SCTPCTL_DEBUG_DEFAULT 0
402

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

511 { "strict_data_order", CTLTYPE_INT }, \
512 { "tcbhashsize", CTLTYPE_INT }, \
513 { "pcbhashsize", CTLTYPE_INT }, \
514 { "chunkscale", CTLTYPE_INT }, \
515 { "min_split_point", CTLTYPE_INT }, \
516 { "add_more_on_output", CTLTYPE_INT }, \
517 { "sys_resource", CTLTYPE_INT }, \
518 { "asoc_resource", CTLTYPE_INT }, \
394#ifdef SCTP_DEBUG
395/* debug: Configure debug output */
396#define SCTPCTL_DEBUG 51
397#define SCTPCTL_DEBUG_DESC "Configure debug output"
398#define SCTPCTL_DEBUG_MIN 0
399#define SCTPCTL_DEBUG_MAX 0xFFFFFFFF
400#define SCTPCTL_DEBUG_DEFAULT 0
401

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

510 { "strict_data_order", CTLTYPE_INT }, \
511 { "tcbhashsize", CTLTYPE_INT }, \
512 { "pcbhashsize", CTLTYPE_INT }, \
513 { "chunkscale", CTLTYPE_INT }, \
514 { "min_split_point", CTLTYPE_INT }, \
515 { "add_more_on_output", CTLTYPE_INT }, \
516 { "sys_resource", CTLTYPE_INT }, \
517 { "asoc_resource", CTLTYPE_INT }, \
519 { "max_retran_chunk", CTLTYPE_INT }, \
520 { "min_residual", CTLTYPE_INT }, \
518 { "min_residual", CTLTYPE_INT }, \
519 { "max_retran_chunk", CTLTYPE_INT }, \
521}
522#endif
523
524
525#if defined(_KERNEL)
526
527/*
528 * variable definitions

--- 67 unchanged lines hidden ---
520}
521#endif
522
523
524#if defined(_KERNEL)
525
526/*
527 * variable definitions

--- 67 unchanged lines hidden ---