Deleted Added
full compact
tcp_var.h (172074) tcp_var.h (172309)
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 172074 2007-09-07 09:19:22Z rwatson $
30 * $FreeBSD: head/sys/netinet/tcp_var.h 172309 2007-09-24 05:26:24Z silby $
31 */
32
33#ifndef _NETINET_TCP_VAR_H_
34#define _NETINET_TCP_VAR_H_
35
36#include <netinet/tcp.h>
37
38/*

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

91 * Tcp control block, one per tcp; fields:
92 * Organized for 16 byte cacheline efficiency.
93 */
94struct tcpcb {
95 struct tsegqe_head t_segq; /* segment reassembly queue */
96 int t_segqlen; /* segment reassembly queue length */
97 int t_dupacks; /* consecutive dup acks recd */
98
31 */
32
33#ifndef _NETINET_TCP_VAR_H_
34#define _NETINET_TCP_VAR_H_
35
36#include <netinet/tcp.h>
37
38/*

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

91 * Tcp control block, one per tcp; fields:
92 * Organized for 16 byte cacheline efficiency.
93 */
94struct tcpcb {
95 struct tsegqe_head t_segq; /* segment reassembly queue */
96 int t_segqlen; /* segment reassembly queue length */
97 int t_dupacks; /* consecutive dup acks recd */
98
99 struct callout *tt_rexmt; /* retransmit timer */
100 struct callout *tt_persist; /* retransmit persistence */
101 struct callout *tt_keep; /* keepalive */
102 struct callout *tt_2msl; /* 2*msl TIME_WAIT timer */
103 struct callout *tt_delack; /* delayed ACK timer */
99 struct tcp_timer *t_timers; /* All the TCP timers in one struct */
104
105 struct inpcb *t_inpcb; /* back pointer to internet pcb */
106 int t_state; /* state of this connection */
107 u_int t_flags;
108#define TF_ACKNOW 0x000001 /* ack peer immediately */
109#define TF_DELACK 0x000002 /* ack, but try to delay it */
110#define TF_NODELAY 0x000004 /* don't delay packets to coalesce */
111#define TF_NOOPT 0x000008 /* don't use tcp options */

--- 480 unchanged lines hidden ---
100
101 struct inpcb *t_inpcb; /* back pointer to internet pcb */
102 int t_state; /* state of this connection */
103 u_int t_flags;
104#define TF_ACKNOW 0x000001 /* ack peer immediately */
105#define TF_DELACK 0x000002 /* ack, but try to delay it */
106#define TF_NODELAY 0x000004 /* don't delay packets to coalesce */
107#define TF_NOOPT 0x000008 /* don't use tcp options */

--- 480 unchanged lines hidden ---