summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_sysctl.h
diff options
context:
space:
mode:
authorrrs <rrs@FreeBSD.org>2007-06-13 01:31:53 +0000
committerrrs <rrs@FreeBSD.org>2007-06-13 01:31:53 +0000
commit20ad8ecfb0af809f13b9dc6e5ab994548e0d785c (patch)
tree8d5bbe40650c2eb2f33e58ff8a55f66ae96d6c38 /sys/netinet/sctp_sysctl.h
parentec70de06d657f80cf4eaa0dee9fa7938ca45ac46 (diff)
downloadFreeBSD-src-20ad8ecfb0af809f13b9dc6e5ab994548e0d785c.zip
FreeBSD-src-20ad8ecfb0af809f13b9dc6e5ab994548e0d785c.tar.gz
- Fixed cookie handling to calc an RTO when
its an INIT collision case. - Fixed RTO calc to maintain a seperate variable to track if a RTO calc as been done, this allows the RTO var to be doubled during initial timeouts. - Reduces the amount of stack used by process control. - Use a constant for the peer chunk overhead. - Name change to spell candidate correctly.
Diffstat (limited to 'sys/netinet/sctp_sysctl.h')
-rw-r--r--sys/netinet/sctp_sysctl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/sctp_sysctl.h b/sys/netinet/sctp_sysctl.h
index 609146f..e54bb6a 100644
--- a/sys/netinet/sctp_sysctl.h
+++ b/sys/netinet/sctp_sysctl.h
@@ -101,7 +101,7 @@ __FBSDID("$FreeBSD$");
#define SCTPCTL_PEER_CHKOH_DESC "Amount to debit peers rwnd per chunk sent"
#define SCTPCTL_PEER_CHKOH_MIN 0
#define SCTPCTL_PEER_CHKOH_MAX 0xFFFFFFFF
-#define SCTPCTL_PEER_CHKOH_DEFAULT 0 /* sizeof struct mbuf */
+#define SCTPCTL_PEER_CHKOH_DEFAULT 256
/* maxburst: Default max burst for sctp endpoints */
#define SCTPCTL_MAXBURST 10
@@ -327,6 +327,8 @@ __FBSDID("$FreeBSD$");
#define SCTPCTL_NAT_FRIENDLY_MAX 1
#define SCTPCTL_NAT_FRIENDLY_DEFAULT 1
+
+
/* abc_l_var: SCTP ABC max increase per SACK (L) */
#define SCTPCTL_ABC_L_VAR 42
#define SCTPCTL_ABC_L_VAR_DESC "SCTP ABC max increase per SACK (L)"
OpenPOWER on IntegriCloud