Deleted Added
full compact
tcp.d (296335) tcp.d (298087)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

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

13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 *
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

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

13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 *
21 * $FreeBSD: head/cddl/lib/libdtrace/tcp.d 296335 2016-03-03 02:46:12Z gnn $
21 * $FreeBSD: head/cddl/lib/libdtrace/tcp.d 298087 2016-04-15 20:27:36Z hiren $
22 */
23/*
24 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
25 * Copyright (c) 2013 Mark Johnston <markj@freebsd.org>
26 */
27
28#pragma D depends_on library ip.d
29#pragma D depends_on module kernel

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

103 int32_t tcps_state; /* TCP state */
104 uint32_t tcps_iss; /* Initial sequence # sent */
105 uint32_t tcps_irs; /* Initial sequence # received */
106 uint32_t tcps_suna; /* sequence # sent but unacked */
107 uint32_t tcps_smax; /* highest sequence number sent */
108 uint32_t tcps_snxt; /* next sequence # to send */
109 uint32_t tcps_rack; /* sequence # we have acked */
110 uint32_t tcps_rnxt; /* next sequence # expected */
22 */
23/*
24 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
25 * Copyright (c) 2013 Mark Johnston <markj@freebsd.org>
26 */
27
28#pragma D depends_on library ip.d
29#pragma D depends_on module kernel

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

103 int32_t tcps_state; /* TCP state */
104 uint32_t tcps_iss; /* Initial sequence # sent */
105 uint32_t tcps_irs; /* Initial sequence # received */
106 uint32_t tcps_suna; /* sequence # sent but unacked */
107 uint32_t tcps_smax; /* highest sequence number sent */
108 uint32_t tcps_snxt; /* next sequence # to send */
109 uint32_t tcps_rack; /* sequence # we have acked */
110 uint32_t tcps_rnxt; /* next sequence # expected */
111 uint32_t tcps_swnd; /* send window size */
111 u_long tcps_swnd; /* send window size */
112 int32_t tcps_snd_ws; /* send window scaling */
113 uint32_t tcps_swl1; /* window update seg seq number */
114 uint32_t tcps_swl2; /* window update seg ack number */
115 uint32_t tcps_rup; /* receive urgent pointer */
116 uint32_t tcps_radv; /* advertised window */
112 int32_t tcps_snd_ws; /* send window scaling */
113 uint32_t tcps_swl1; /* window update seg seq number */
114 uint32_t tcps_swl2; /* window update seg ack number */
115 uint32_t tcps_rup; /* receive urgent pointer */
116 uint32_t tcps_radv; /* advertised window */
117 uint32_t tcps_rwnd; /* receive window size */
117 u_long tcps_rwnd; /* receive window size */
118 int32_t tcps_rcv_ws; /* receive window scaling */
118 int32_t tcps_rcv_ws; /* receive window scaling */
119 uint32_t tcps_cwnd; /* congestion window */
120 uint32_t tcps_cwnd_ssthresh; /* threshold for congestion avoidance */
119 u_long tcps_cwnd; /* congestion window */
120 u_long tcps_cwnd_ssthresh; /* threshold for congestion avoidance */
121 uint32_t tcps_srecover; /* for use in NewReno Fast Recovery */
122 uint32_t tcps_sack_fack; /* SACK sequence # we have acked */
123 uint32_t tcps_sack_snxt; /* next SACK seq # for retransmission */
124 uint32_t tcps_rto; /* round-trip timeout, msec */
125 uint32_t tcps_mss; /* max segment size */
126 int tcps_retransmit; /* retransmit send event, boolean */
127 int tcps_srtt; /* smoothed RTT in units of (TCP_RTT_SCALE*hz) */
128 int tcps_debug; /* socket has SO_DEBUG set */

--- 261 unchanged lines hidden ---
121 uint32_t tcps_srecover; /* for use in NewReno Fast Recovery */
122 uint32_t tcps_sack_fack; /* SACK sequence # we have acked */
123 uint32_t tcps_sack_snxt; /* next SACK seq # for retransmission */
124 uint32_t tcps_rto; /* round-trip timeout, msec */
125 uint32_t tcps_mss; /* max segment size */
126 int tcps_retransmit; /* retransmit send event, boolean */
127 int tcps_srtt; /* smoothed RTT in units of (TCP_RTT_SCALE*hz) */
128 int tcps_debug; /* socket has SO_DEBUG set */

--- 261 unchanged lines hidden ---