summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_dtrace_define.h
diff options
context:
space:
mode:
authorrrs <rrs@FreeBSD.org>2011-02-26 15:23:46 +0000
committerrrs <rrs@FreeBSD.org>2011-02-26 15:23:46 +0000
commit5b16134320304358fdf7f5b37dc32e4703b65ce7 (patch)
tree1f7b1302d8f5bd9db6d87b45a7c943be9458aeeb /sys/netinet/sctp_dtrace_define.h
parent3fa7ecd6134abe348569c648a52df0da771219ae (diff)
downloadFreeBSD-src-5b16134320304358fdf7f5b37dc32e4703b65ce7.zip
FreeBSD-src-5b16134320304358fdf7f5b37dc32e4703b65ce7.tar.gz
Improvements to CC modules:
1) Add four new points that allow you to get more information to cc algo's 2) Fix the case where user changes module on a existing TCB, in such a case, the initialization module needs to be called on all nets. 3) Move htcp_cc structure to a union that other modules can use. 4) Add 5th point for get/set socket options for cc_module specific options MFC after: 2 months
Diffstat (limited to 'sys/netinet/sctp_dtrace_define.h')
-rw-r--r--sys/netinet/sctp_dtrace_define.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/netinet/sctp_dtrace_define.h b/sys/netinet/sctp_dtrace_define.h
index 6bd8f3a..f773cf1 100644
--- a/sys/netinet/sctp_dtrace_define.h
+++ b/sys/netinet/sctp_dtrace_define.h
@@ -71,6 +71,21 @@ SDT_PROBE_ARGTYPE(sctp, cwnd, net, ack, 3, "int");
/* The new value of the cwnd */
SDT_PROBE_ARGTYPE(sctp, cwnd, net, ack, 4, "int");
+
+/* ACK-INCREASE */
+SDT_PROBE_DEFINE(sctp, cwnd, net, rttvar, rttvar);
+/* The Vtag << 32 | localport << 16 | remoteport */
+SDT_PROBE_ARGTYPE(sctp, cwnd, net, rttvar, 0, "uint64_t");
+/* obw | nbw */
+SDT_PROBE_ARGTYPE(sctp, cwnd, net, rttvar, 1, "uint64_t");
+/* newrtt */
+SDT_PROBE_ARGTYPE(sctp, cwnd, net, rttvar, 2, "uint64_t");
+/* bwrtt */
+SDT_PROBE_ARGTYPE(sctp, cwnd, net, rttvar, 3, "uint64_t");
+/* (cwnd << 32) | point << 16 | retval(0/1) */
+SDT_PROBE_ARGTYPE(sctp, cwnd, net, rttvar, 4, "uint64_t");
+
+
/* FastRetransmit-DECREASE */
SDT_PROBE_DEFINE(sctp, cwnd, net, fr, fr);
/* The Vtag for this end */
OpenPOWER on IntegriCloud