Deleted Added
full compact
tcp_timer.h (1817) tcp_timer.h (2169)
1/*
2 * Copyright (c) 1982, 1986, 1993
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

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)tcp_timer.h 8.1 (Berkeley) 6/10/93
1/*
2 * Copyright (c) 1982, 1986, 1993
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

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)tcp_timer.h 8.1 (Berkeley) 6/10/93
34 * $Id$
34 * $Id: tcp_timer.h,v 1.3 1994/08/02 07:49:12 davidg Exp $
35 */
36
35 */
36
37#ifndef _NETINET_TCP_TIMER_H_
38#define _NETINET_TCP_TIMER_H_
39
37/*
38 * Definitions of the TCP timers. These timers are counted
39 * down PR_SLOWHZ times a second.
40 */
41#define TCPT_NTIMERS 4
42
43#define TCPT_REXMT 0 /* retransmit */
44#define TCPT_PERSIST 1 /* retransmit persistance */

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

122
123#ifdef KERNEL
124extern int tcp_keepidle; /* time before keepalive probes begin */
125extern int tcp_keepintvl; /* time between keepalive probes */
126extern int tcp_maxidle; /* time to drop after starting probes */
127extern int tcp_ttl; /* time to live for TCP segs */
128extern int tcp_backoff[];
129#endif
40/*
41 * Definitions of the TCP timers. These timers are counted
42 * down PR_SLOWHZ times a second.
43 */
44#define TCPT_NTIMERS 4
45
46#define TCPT_REXMT 0 /* retransmit */
47#define TCPT_PERSIST 1 /* retransmit persistance */

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

125
126#ifdef KERNEL
127extern int tcp_keepidle; /* time before keepalive probes begin */
128extern int tcp_keepintvl; /* time between keepalive probes */
129extern int tcp_maxidle; /* time to drop after starting probes */
130extern int tcp_ttl; /* time to live for TCP segs */
131extern int tcp_backoff[];
132#endif
133
134#endif