Deleted Added
full compact
sctp_dtrace_define.h (219057) sctp_dtrace_define.h (219397)
1/*-
2 * Copyright (c) 2008-2011, by Randall Stewart. All rights reserved.
3 * Copyright (c) 2008-2011, by Michael Tuexen. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7 *
8 * a) Redistributions of source code must retain the above copyright notice,

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

24 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
29 * THE POSSIBILITY OF SUCH DAMAGE.
30 */
31#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2008-2011, by Randall Stewart. All rights reserved.
3 * Copyright (c) 2008-2011, by Michael Tuexen. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7 *
8 * a) Redistributions of source code must retain the above copyright notice,

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

24 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
29 * THE POSSIBILITY OF SUCH DAMAGE.
30 */
31#include <sys/cdefs.h>
32__FBSDID("$FreeBSD: head/sys/netinet/sctp_dtrace_define.h 219057 2011-02-26 15:23:46Z rrs $");
32__FBSDID("$FreeBSD: head/sys/netinet/sctp_dtrace_define.h 219397 2011-03-08 11:58:25Z rrs $");
33#ifndef __sctp_dtrace_define_h__
34#include "opt_kdtrace.h"
35#include <sys/kernel.h>
36#include <sys/sdt.h>
37
38SDT_PROVIDER_DEFINE(sctp);
39
40/********************************************************/

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

73
74
75/* ACK-INCREASE */
76SDT_PROBE_DEFINE(sctp, cwnd, net, rttvar, rttvar);
77/* The Vtag << 32 | localport << 16 | remoteport */
78SDT_PROBE_ARGTYPE(sctp, cwnd, net, rttvar, 0, "uint64_t");
79/* obw | nbw */
80SDT_PROBE_ARGTYPE(sctp, cwnd, net, rttvar, 1, "uint64_t");
33#ifndef __sctp_dtrace_define_h__
34#include "opt_kdtrace.h"
35#include <sys/kernel.h>
36#include <sys/sdt.h>
37
38SDT_PROVIDER_DEFINE(sctp);
39
40/********************************************************/

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

73
74
75/* ACK-INCREASE */
76SDT_PROBE_DEFINE(sctp, cwnd, net, rttvar, rttvar);
77/* The Vtag << 32 | localport << 16 | remoteport */
78SDT_PROBE_ARGTYPE(sctp, cwnd, net, rttvar, 0, "uint64_t");
79/* obw | nbw */
80SDT_PROBE_ARGTYPE(sctp, cwnd, net, rttvar, 1, "uint64_t");
81/* newrtt */
81/* bwrtt | newrtt */
82SDT_PROBE_ARGTYPE(sctp, cwnd, net, rttvar, 2, "uint64_t");
82SDT_PROBE_ARGTYPE(sctp, cwnd, net, rttvar, 2, "uint64_t");
83/* bwrtt */
83/* flight */
84SDT_PROBE_ARGTYPE(sctp, cwnd, net, rttvar, 3, "uint64_t");
85/* (cwnd << 32) | point << 16 | retval(0/1) */
86SDT_PROBE_ARGTYPE(sctp, cwnd, net, rttvar, 4, "uint64_t");
87
88
84SDT_PROBE_ARGTYPE(sctp, cwnd, net, rttvar, 3, "uint64_t");
85/* (cwnd << 32) | point << 16 | retval(0/1) */
86SDT_PROBE_ARGTYPE(sctp, cwnd, net, rttvar, 4, "uint64_t");
87
88
89SDT_PROBE_DEFINE(sctp, cwnd, net, rttstep, rttstep);
90/* The Vtag << 32 | localport << 16 | remoteport */
91SDT_PROBE_ARGTYPE(sctp, cwnd, net, rttstep, 0, "uint64_t");
92/* obw | nbw */
93SDT_PROBE_ARGTYPE(sctp, cwnd, net, rttstep, 1, "uint64_t");
94/* bwrtt | nrtt */
95SDT_PROBE_ARGTYPE(sctp, cwnd, net, rttstep, 2, "uint64_t");
96/* cwnd_saved | stepcnt << 16 | oldstep */
97SDT_PROBE_ARGTYPE(sctp, cwnd, net, rttstep, 3, "uint64_t");
98/* (cwnd << 32) | point << 16 | retval(0/1) */
99SDT_PROBE_ARGTYPE(sctp, cwnd, net, rttstep, 4, "uint64_t");
100
101
89/* FastRetransmit-DECREASE */
90SDT_PROBE_DEFINE(sctp, cwnd, net, fr, fr);
91/* The Vtag for this end */
92SDT_PROBE_ARGTYPE(sctp, cwnd, net, fr, 0, "uint32_t");
93/* The port number of the local side << 16 | port number of remote
94 * in network byte order.
95 */
96SDT_PROBE_ARGTYPE(sctp, cwnd, net, fr, 1, "uint32_t");

--- 120 unchanged lines hidden ---
102/* FastRetransmit-DECREASE */
103SDT_PROBE_DEFINE(sctp, cwnd, net, fr, fr);
104/* The Vtag for this end */
105SDT_PROBE_ARGTYPE(sctp, cwnd, net, fr, 0, "uint32_t");
106/* The port number of the local side << 16 | port number of remote
107 * in network byte order.
108 */
109SDT_PROBE_ARGTYPE(sctp, cwnd, net, fr, 1, "uint32_t");

--- 120 unchanged lines hidden ---