tcp_var.h (162277) | tcp_var.h (166405) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 1993, 1994, 1995 3 * The Regents of the University of California. 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 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)tcp_var.h 8.4 (Berkeley) 5/24/95 | 1/*- 2 * Copyright (c) 1982, 1986, 1993, 1994, 1995 3 * The Regents of the University of California. 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 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)tcp_var.h 8.4 (Berkeley) 5/24/95 |
30 * $FreeBSD: head/sys/netinet/tcp_var.h 162277 2006-09-13 13:08:27Z andre $ | 30 * $FreeBSD: head/sys/netinet/tcp_var.h 166405 2007-02-01 18:32:13Z andre $ |
31 */ 32 33#ifndef _NETINET_TCP_VAR_H_ 34#define _NETINET_TCP_VAR_H_ 35 36#include <netinet/tcp.h> 37 38/* --- 158 unchanged lines hidden (view full) --- 197 /* SACK scoreboard (sorted) */ 198 tcp_seq snd_fack; /* last seq number(+1) sack'd by rcv'r*/ 199 int rcv_numsacks; /* # distinct sack blks present */ 200 struct sackblk sackblks[MAX_SACK_BLKS]; /* seq nos. of sack blocks */ 201 tcp_seq sack_newdata; /* New data xmitted in this recovery 202 episode starts at this seq number */ 203 struct sackhint sackhint; /* SACK scoreboard hint */ 204 int t_rttlow; /* smallest observerved RTT */ | 31 */ 32 33#ifndef _NETINET_TCP_VAR_H_ 34#define _NETINET_TCP_VAR_H_ 35 36#include <netinet/tcp.h> 37 38/* --- 158 unchanged lines hidden (view full) --- 197 /* SACK scoreboard (sorted) */ 198 tcp_seq snd_fack; /* last seq number(+1) sack'd by rcv'r*/ 199 int rcv_numsacks; /* # distinct sack blks present */ 200 struct sackblk sackblks[MAX_SACK_BLKS]; /* seq nos. of sack blocks */ 201 tcp_seq sack_newdata; /* New data xmitted in this recovery 202 episode starts at this seq number */ 203 struct sackhint sackhint; /* SACK scoreboard hint */ 204 int t_rttlow; /* smallest observerved RTT */ |
205 u_int32_t rfbuf_ts; /* recv buffer autoscaling timestamp */ 206 int rfbuf_cnt; /* recv buffer autoscaling byte count */ |
|
205}; 206 207#define IN_FASTRECOVERY(tp) (tp->t_flags & TF_FASTRECOVERY) 208#define ENTER_FASTRECOVERY(tp) tp->t_flags |= TF_FASTRECOVERY 209#define EXIT_FASTRECOVERY(tp) tp->t_flags &= ~TF_FASTRECOVERY 210 211#ifdef TCP_SIGNATURE 212/* --- 361 unchanged lines hidden --- | 207}; 208 209#define IN_FASTRECOVERY(tp) (tp->t_flags & TF_FASTRECOVERY) 210#define ENTER_FASTRECOVERY(tp) tp->t_flags |= TF_FASTRECOVERY 211#define EXIT_FASTRECOVERY(tp) tp->t_flags &= ~TF_FASTRECOVERY 212 213#ifdef TCP_SIGNATURE 214/* --- 361 unchanged lines hidden --- |