tcp_var.h (9c79794016d679440487dea61b3b986397c9ecbb) tcp_var.h (f6dfe47a145263dc5eb67fa4789925ab708709bc)
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

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

30 * $FreeBSD$
31 */
32
33#ifndef _NETINET_TCP_VAR_H_
34#define _NETINET_TCP_VAR_H_
35
36#include <netinet/tcp.h>
37
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

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

30 * $FreeBSD$
31 */
32
33#ifndef _NETINET_TCP_VAR_H_
34#define _NETINET_TCP_VAR_H_
35
36#include <netinet/tcp.h>
37
38struct vnet;
39
38/*
39 * Kernel variables for tcp.
40 */
41#ifdef VIMAGE_GLOBALS
42extern int tcp_do_rfc1323;
43#endif
44
45/* TCP segment queue entry */

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

101 int t_dupacks; /* consecutive dup acks recd */
102
103 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
40/*
41 * Kernel variables for tcp.
42 */
43#ifdef VIMAGE_GLOBALS
44extern int tcp_do_rfc1323;
45#endif
46
47/* TCP segment queue entry */

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

103 int t_dupacks; /* consecutive dup acks recd */
104
105 struct tcp_timer *t_timers; /* All the TCP timers in one struct */
106
107 struct inpcb *t_inpcb; /* back pointer to internet pcb */
108 int t_state; /* state of this connection */
109 u_int t_flags;
110
111 struct vnet *t_vnet; /* back pointer to parent vnet */
112
109 tcp_seq snd_una; /* send unacknowledged */
110 tcp_seq snd_max; /* highest sequence number sent;
111 * used to recognize retransmits
112 */
113 tcp_seq snd_nxt; /* send next */
114 tcp_seq snd_up; /* send urgent pointer */
115
116 tcp_seq snd_wl1; /* window update seg seq number */

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

181 int rcv_numsacks; /* # distinct sack blks present */
182 struct sackblk sackblks[MAX_SACK_BLKS]; /* seq nos. of sack blocks */
183 tcp_seq sack_newdata; /* New data xmitted in this recovery
184 episode starts at this seq number */
185 struct sackhint sackhint; /* SACK scoreboard hint */
186 int t_rttlow; /* smallest observerved RTT */
187 u_int32_t rfbuf_ts; /* recv buffer autoscaling timestamp */
188 int rfbuf_cnt; /* recv buffer autoscaling byte count */
113 tcp_seq snd_una; /* send unacknowledged */
114 tcp_seq snd_max; /* highest sequence number sent;
115 * used to recognize retransmits
116 */
117 tcp_seq snd_nxt; /* send next */
118 tcp_seq snd_up; /* send urgent pointer */
119
120 tcp_seq snd_wl1; /* window update seg seq number */

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

185 int rcv_numsacks; /* # distinct sack blks present */
186 struct sackblk sackblks[MAX_SACK_BLKS]; /* seq nos. of sack blocks */
187 tcp_seq sack_newdata; /* New data xmitted in this recovery
188 episode starts at this seq number */
189 struct sackhint sackhint; /* SACK scoreboard hint */
190 int t_rttlow; /* smallest observerved RTT */
191 u_int32_t rfbuf_ts; /* recv buffer autoscaling timestamp */
192 int rfbuf_cnt; /* recv buffer autoscaling byte count */
189 void *t_pspare[3]; /* toe usrreqs / toepcb * / congestion algo / vimage / 1 general use */
190 struct toe_usrreqs *t_tu; /* offload operations vector */
193 void *t_pspare[3]; /* toe usrreqs / toepcb * / congestion algo / 1 general use */
194 struct toe_usrreqs *t_tu; /* offload operations vector */
191 void *t_toe; /* TOE pcb pointer */
192 int t_bytes_acked; /* # bytes acked during current RTT */
193};
194
195/*
196 * Flags and utility macros for the t_flags field.
197 */
198#define TF_ACKNOW 0x000001 /* ack peer immediately */

--- 448 unchanged lines hidden ---
195 void *t_toe; /* TOE pcb pointer */
196 int t_bytes_acked; /* # bytes acked during current RTT */
197};
198
199/*
200 * Flags and utility macros for the t_flags field.
201 */
202#define TF_ACKNOW 0x000001 /* ack peer immediately */

--- 448 unchanged lines hidden ---