diff options
| author | Randall Stewart <rrs@FreeBSD.org> | 2007-03-31 11:47:30 +0000 |
|---|---|---|
| committer | Randall Stewart <rrs@FreeBSD.org> | 2007-03-31 11:47:30 +0000 |
| commit | 5e54f665f0080ec2137f54649d7321c0985e8491 (patch) | |
| tree | fc7c5aaca2d2ae2e7c1e6abe827b9f910acb9e6b /sys/netinet/sctp_sysctl.c | |
| parent | d5750df2cea67f79341a780fdf3d3703c6d398ab (diff) | |
Notes
Diffstat (limited to 'sys/netinet/sctp_sysctl.c')
| -rw-r--r-- | sys/netinet/sctp_sysctl.c | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/sys/netinet/sctp_sysctl.c b/sys/netinet/sctp_sysctl.c index 37c572f237b1..c2aac0d02a9d 100644 --- a/sys/netinet/sctp_sysctl.c +++ b/sys/netinet/sctp_sysctl.c @@ -91,15 +91,19 @@ uint32_t sctp_chunkscale = SCTP_CHUNKQUEUE_SCALE; uint32_t sctp_cmt_on_off = 0; uint32_t sctp_cmt_use_dac = 0; +uint32_t sctp_max_retran_chunk = SCTPCTL_MAX_RETRAN_DEFAULT; + uint32_t sctp_L2_abc_variable = 1; uint32_t sctp_early_fr = 0; uint32_t sctp_early_fr_msec = SCTP_MINFR_MSEC_TIMER; -uint32_t sctp_use_rttvar_cc = 0; uint32_t sctp_says_check_for_deadlock = 0; uint32_t sctp_asconf_auth_nochk = 0; uint32_t sctp_auth_disable = 0; uint32_t sctp_nat_friendly = 1; +uint32_t sctp_min_residual = SCTPCTL_MIN_RESIDUAL_DEFAULT;; + + struct sctpstat sctpstat; #ifdef SCTP_DEBUG @@ -434,10 +438,6 @@ SYSCTL_UINT(_net_inet_sctp, OID_AUTO, early_fast_retran, CTLFLAG_RW, &sctp_early_fr, 0, "Early Fast Retransmit with timer"); -SYSCTL_UINT(_net_inet_sctp, OID_AUTO, use_rttvar_congctrl, CTLFLAG_RW, - &sctp_use_rttvar_cc, 0, - "Use congestion control via rtt variation"); - SYSCTL_UINT(_net_inet_sctp, OID_AUTO, deadlock_detect, CTLFLAG_RW, &sctp_says_check_for_deadlock, 0, "SMP Deadlock detection on/off"); @@ -486,6 +486,18 @@ SYSCTL_INT(_net_inet_sctp, OID_AUTO, strict_data_order, CTLFLAG_RW, &sctp_strict_data_order, 0, "Enforce strict data ordering, abort if control inside data"); +SYSCTL_INT(_net_inet_sctp, OID_AUTO, min_residual, CTLFLAG_RW, + &sctp_min_residual, 0, + SCTPCTL_MIN_RESIDUAL_DESC); + + +SYSCTL_INT(_net_inet_sctp, OID_AUTO, max_retran_chunk, CTLFLAG_RW, + &sctp_max_retran_chunk, 0, + SCTPCTL_MAX_RETRAN_DESC); + + + + SYSCTL_STRUCT(_net_inet_sctp, OID_AUTO, stats, CTLFLAG_RW, &sctpstat, sctpstat, "SCTP statistics (struct sctps_stat, netinet/sctp.h"); |
