adopt TCP's policies concerning acks & (among others) use the fast
[unix-history] / usr / src / sys / netiso / tp_timer.h
CommitLineData
7bcd1bb8
KB
1/*-
2 * Copyright (c) 1991 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * %sccs.include.redist.c%
6 *
13cdf5ec 7 * @(#)tp_timer.h 7.6 (Berkeley) %G%
7bcd1bb8
KB
8 */
9
9ef81b30
KS
10/***********************************************************
11 Copyright IBM Corporation 1987
12
13 All Rights Reserved
14
15Permission to use, copy, modify, and distribute this software and its
16documentation for any purpose and without fee is hereby granted,
17provided that the above copyright notice appear in all copies and that
18both that copyright notice and this permission notice appear in
19supporting documentation, and that the name of IBM not be
20used in advertising or publicity pertaining to distribution of the
21software without specific, written prior permission.
22
23IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
24ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
25IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
26ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
27WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
28ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
29SOFTWARE.
30
31******************************************************************/
32
33/*
34 * ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison
35 */
36/*
37 * ARGO TP
38 *
39 * $Header: tp_timer.h,v 5.1 88/10/12 12:21:41 root Exp $
40 * $Source: /usr/argo/sys/netiso/RCS/tp_timer.h,v $
41 *
42 * ARGO TP
43 * The callout structures used by the tp timers.
44 */
45
46#ifndef __TP_CALLOUT__
47#define __TP_CALLOUT__
48
49/* C timers - one per tpcb, generally cancelled */
50
3a2fbed9
KS
51struct Ecallarg {
52 u_int c_arg1;
53 u_int c_arg2;
54 int c_arg3;
9ef81b30
KS
55};
56
3a2fbed9 57struct Ccallout {
9ef81b30 58 int c_time; /* incremental time */
9ef81b30
KS
59};
60
13cdf5ec
KS
61#define SET_DELACK(t) {\
62 (t)->tp_flags |= TPF_DELACK; \
63 if ((t)->tp_fasttimeo == 0)\
64 { (t)->tp_fasttimeo = tp_ftimeolist; tp_ftimeolist = (t); } }
65
9ef81b30 66#endif __TP_CALLOUT__