1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-27 11:55:06 +00:00

Made idempotent -- made some of them more consistent with rest of tree.

Reviewed by:
Submitted by:
This commit is contained in:
Paul Richards 1994-08-21 06:14:33 +00:00
parent 1bd7f58c74
commit 5f282528fa
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2173
28 changed files with 175 additions and 109 deletions

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)argo_debug.h 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: argo_debug.h,v 1.2 1994/08/02 07:49:31 davidg Exp $
*/
#ifndef _NETISO_ARGO_DEBUG_H_
#define _NETISO_ARGO_DEBUG_H_
/*****************************************************************
Copyright IBM Corporation 1987
@ -61,12 +64,10 @@ SOFTWARE.
* ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison
*/
/*
* $Header: /home/ncvs/src/sys/netiso/argo_debug.h,v 1.1.1.1 1994/05/24 10:06:38 rgrimes Exp $
* $Header: /home/ncvs/src/sys/netiso/argo_debug.h,v 1.2 1994/08/02 07:49:31 davidg Exp $
* $Source: /home/ncvs/src/sys/netiso/argo_debug.h,v $
*/
#ifndef __ARGO_DEBUG__
#define __ARGO_DEBUG__
#define dump_buf(a, b) Dump_buf((caddr_t)(a), (int)(b))
@ -294,4 +295,4 @@ void dump_mbuf();
#endif /* ARGO_DEBUG */
#endif /* __ARGO_DEBUG__ */
#endif

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)clnl.h 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: clnl.h,v 1.2 1994/08/02 07:49:33 davidg Exp $
*/
#ifndef _NETISO_CLNL_H_
#define _NETISO_CLNL_H_
/***********************************************************
Copyright IBM Corporation 1987
@ -63,3 +66,5 @@ SOFTWARE.
struct clnl_protosw {
int (*clnl_input)(); /* input routine */
};
#endif

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)clnp.h 8.2 (Berkeley) 4/16/94
* $Id$
* $Id: clnp.h,v 1.2 1994/08/02 07:49:34 davidg Exp $
*/
#ifndef _NETISO_CLNP_H_
#define _NETISO_CLNP_H_
/***********************************************************
Copyright IBM Corporation 1987
@ -60,7 +63,7 @@ SOFTWARE.
/*
* ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison
*/
/* $Header: /home/ncvs/src/sys/netiso/clnp.h,v 1.1.1.1 1994/05/24 10:07:27 rgrimes Exp $ */
/* $Header: /home/ncvs/src/sys/netiso/clnp.h,v 1.2 1994/08/02 07:49:34 davidg Exp $ */
/* $Source: /home/ncvs/src/sys/netiso/clnp.h,v $ */
/* should be config option but cpp breaks with too many #defines */
@ -462,3 +465,5 @@ struct mbuf *clnp_reass();
struct troll trollctl;
#endif /* TROLL */
#endif /* KERNEL */
#endif

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)clnp_stat.h 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: clnp_stat.h,v 1.2 1994/08/02 07:49:47 davidg Exp $
*/
#ifndef _NETISO_CLNP_STAT_H_
#define _NETISO_CLNP_STAT_H_
/***********************************************************
Copyright IBM Corporation 1987
@ -60,13 +63,9 @@ SOFTWARE.
/*
* ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison
*/
/* $Header: /home/ncvs/src/sys/netiso/clnp_stat.h,v 1.1.1.1 1994/05/24 10:07:21 rgrimes Exp $ */
/* $Header: /home/ncvs/src/sys/netiso/clnp_stat.h,v 1.2 1994/08/02 07:49:47 davidg Exp $ */
/* $Source: /home/ncvs/src/sys/netiso/clnp_stat.h,v $ */
#ifndef __CLNP_STAT__
#define __CLNP_STAT__
struct clnp_stat {
int cns_total; /* total pkts received */
int cns_toosmall; /* fixed part of header too small */
@ -101,4 +100,4 @@ struct clnp_stat {
#endif /* INCSTAT */
#define INCSTAT(x) clnp_stat./**/x/**/++
#endif /* __CLNP_STAT__ */
#endif

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)cltp_var.h 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: cltp_var.h,v 1.2 1994/08/02 07:49:58 davidg Exp $
*/
#ifndef _NETISO_CLTP_VAR_H_
#define _NETISO_CLTP_VAR_H_
#define UD_TPDU_type 0x40 /* packet type */
#define CLTPOVAL_SRC 0xc1 /* Source TSAP -- required */
@ -53,3 +56,5 @@ struct cltpstat {
struct isopcb cltb;
struct cltpstat cltpstat;
#endif
#endif

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)cons.h 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: cons.h,v 1.2 1994/08/02 07:50:00 davidg Exp $
*/
#ifndef _NETISO_CONS_H_
#define _NETISO_CONS_H_
/***********************************************************
Copyright IBM Corporation 1987
@ -61,7 +64,7 @@ SOFTWARE.
* ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison
*/
/*
* $Header: /home/ncvs/src/sys/netiso/cons.h,v 1.1.1.1 1994/05/24 10:07:18 rgrimes Exp $
* $Header: /home/ncvs/src/sys/netiso/cons.h,v 1.2 1994/08/02 07:50:00 davidg Exp $
* $Source: /home/ncvs/src/sys/netiso/cons.h,v $
*
* interface between TP and CONS
@ -91,3 +94,5 @@ struct dte_addr {
#define PRC_CONS_SEND_DONE 2 /* something unused in protosw.h */
#endif /* KERNEL */
#endif

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)cons_pcb.h 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: cons_pcb.h,v 1.2 1994/08/02 07:50:03 davidg Exp $
*/
#ifndef _NETISO_CONS_PCB_H_
#define _NETISO_CONS_PCB_H_
/***********************************************************
Copyright IBM Corporation 1987
@ -60,7 +63,7 @@ SOFTWARE.
/*
* ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison
*/
/* $Header: /home/ncvs/src/sys/netiso/cons_pcb.h,v 1.1.1.1 1994/05/24 10:07:17 rgrimes Exp $ */
/* $Header: /home/ncvs/src/sys/netiso/cons_pcb.h,v 1.2 1994/08/02 07:50:03 davidg Exp $ */
/* $Source: /home/ncvs/src/sys/netiso/cons_pcb.h,v $ */
/*
@ -192,3 +195,5 @@ struct e_clear_data {
#ifdef KERNEL
#define IncStat(XYZ) cons_stat.XYZ++
#endif /* KERNEL */
#endif

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)eonvar.h 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: eonvar.h,v 1.2 1994/08/02 07:50:06 davidg Exp $
*/
#ifndef _NETISO_EONVAR_H_
#define _NETISO_EOBVAR_H_
/***********************************************************
Copyright IBM Corporation 1987
@ -169,3 +172,5 @@ struct eon_llinfo {
};
#define el_iphdr el_ei.ei_ip
#define el_eonhdr el_ei.ei_eh
#endif

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)esis.h 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: esis.h,v 1.2 1994/08/02 07:50:11 davidg Exp $
*/
#ifndef _NETISO_ESIS_H_
#define _NETISO_ESIS_H_
/***********************************************************
Copyright IBM Corporation 1987
@ -61,7 +64,7 @@ SOFTWARE.
* ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison
*/
/*
* $Header: /home/ncvs/src/sys/netiso/esis.h,v 1.1.1.1 1994/05/24 10:07:15 rgrimes Exp $
* $Header: /home/ncvs/src/sys/netiso/esis.h,v 1.2 1994/08/02 07:50:11 davidg Exp $
* $Source: /home/ncvs/src/sys/netiso/esis.h,v $
*/
@ -134,3 +137,5 @@ struct esis_stat {
#ifdef KERNEL
struct esis_stat esis_stat;
#endif /* KERNEL */
#endif

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)iso.h 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: iso.h,v 1.2 1994/08/02 07:50:28 davidg Exp $
*/
#ifndef _NETISO_ISO_H_
#define _NETISO_ISO_H_
/***********************************************************
Copyright IBM Corporation 1987
@ -60,12 +63,9 @@ SOFTWARE.
/*
* ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison
*/
/* $Header: /home/ncvs/src/sys/netiso/iso.h,v 1.1.1.1 1994/05/24 10:07:12 rgrimes Exp $ */
/* $Header: /home/ncvs/src/sys/netiso/iso.h,v 1.2 1994/08/02 07:50:28 davidg Exp $ */
/* $Source: /home/ncvs/src/sys/netiso/iso.h,v $ */
#ifndef __ISO__
#define __ISO__
/*
* Return true if this is a multicast address
* This assumes that the bit transmission is lsb first. This
@ -193,4 +193,5 @@ __END_DECLS
#endif /* KERNEL */
#define _offsetof(t, m) ((int)((caddr_t)&((t *)0)->m))
#endif /* __ISO__ */
#endif

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)iso_errno.h 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: iso_errno.h,v 1.2 1994/08/02 07:50:34 davidg Exp $
*/
#ifndef _NETISO_ISO_ERRNO_H_
#define _NETISO_ISO_ERRNO_H_
/***********************************************************
Copyright IBM Corporation 1987
@ -61,9 +64,6 @@ SOFTWARE.
* ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison
*/
#ifndef __ISO_ERRNO__
#define __ISO_ERRNO__
#define ISO_ERROR_MASK 0x8000
#define BSD_ERROR_MASK 0x0000
#define TP_ERROR_MASK 0x8800 /* transport layer */
@ -272,4 +272,4 @@ SOFTWARE.
#define CONL_ERROR_MAX 0x1c3
#endif /* __ISO_ERRNO__ */
#endif

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)iso_pcb.h 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: iso_pcb.h,v 1.2 1994/08/02 07:50:40 davidg Exp $
*/
#ifndef _NETISO_ISO_PCB_H_
#define _NETISO_ISO_PCB_H_
/***********************************************************
Copyright IBM Corporation 1987
@ -60,7 +63,7 @@ SOFTWARE.
/*
* ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison
*/
/* $Header: /home/ncvs/src/sys/netiso/iso_pcb.h,v 1.1.1.1 1994/05/24 10:07:10 rgrimes Exp $ */
/* $Header: /home/ncvs/src/sys/netiso/iso_pcb.h,v 1.2 1994/08/02 07:50:40 davidg Exp $ */
/* $Source: /home/ncvs/src/sys/netiso/iso_pcb.h,v $ */
#define MAXX25CRUDLEN 16 /* 16 bytes of call request user data */
@ -112,3 +115,5 @@ struct rawisopcb {
#ifdef KERNEL
struct isopcb *iso_pcblookup();
#endif
#endif

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)iso_snpac.h 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: iso_snpac.h,v 1.2 1994/08/02 07:50:47 davidg Exp $
*/
#ifndef _NETISO_ISO_SNPAC_H_
#define _NETISO_ISO_SNPAC_H_
/***********************************************************
Copyright IBM Corporation 1987
@ -111,3 +114,5 @@ struct llinfo_llc {
#ifdef KERNEL
struct llinfo_llc llinfo_llc; /* head for linked lists */
#endif /* KERNEL */
#endif

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)iso_var.h 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: iso_var.h,v 1.2 1994/08/02 07:50:49 davidg Exp $
*/
#ifndef _NETISO_ISO_VAR_H_
#define _NETISO_ISO_VAR_H_
/***********************************************************
Copyright IBM Corporation 1987
@ -60,7 +63,7 @@ SOFTWARE.
/*
* ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison
*/
/* $Header: /home/ncvs/src/sys/netiso/iso_var.h,v 1.1.1.1 1994/05/24 10:07:03 rgrimes Exp $
/* $Header: /home/ncvs/src/sys/netiso/iso_var.h,v 1.2 1994/08/02 07:50:49 davidg Exp $
* $Source: /home/ncvs/src/sys/netiso/iso_var.h,v $
*/
@ -136,3 +139,5 @@ struct iso_ifaddr *iso_ifaddr; /* linked list of iso address ifaces */
struct iso_ifaddr *iso_localifa(); /* linked list of iso address ifaces */
struct ifqueue clnlintrq; /* clnl packet input queue */
#endif /* KERNEL */
#endif

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)tp_clnp.h 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: tp_clnp.h,v 1.2 1994/08/02 07:50:54 davidg Exp $
*/
#ifndef _NETISO_TP_CLNP_H_
#define _NETISO_TP_CLNP_H_
/***********************************************************
Copyright IBM Corporation 1987
@ -63,17 +66,13 @@ SOFTWARE.
/*
* ARGO TP
*
* $Header: /home/ncvs/src/sys/netiso/tp_clnp.h,v 1.1.1.1 1994/05/24 10:07:00 rgrimes Exp $
* $Header: /home/ncvs/src/sys/netiso/tp_clnp.h,v 1.2 1994/08/02 07:50:54 davidg Exp $
* $Source: /home/ncvs/src/sys/netiso/tp_clnp.h,v $
*
* AF_ISO net-dependent structures and include files
*
*/
#ifndef __TP_CLNP__
#define __TP_CLNP__
#ifndef SOCK_STREAM
#include <sys/socket.h>
#endif /* SOCK_STREAM */
@ -92,4 +91,4 @@ SOFTWARE.
struct isopcb tp_isopcb;
/* queue of active inpcbs for tp ; for tp with dod ip */
#endif /* __TP_CLNP__ */
#endif

View File

@ -1,6 +1,10 @@
/*
* $Id$
* $Id: tp_events.h,v 1.2 1994/08/02 07:51:05 davidg Exp $
*/
#ifndef _NETISO_TP_EVENTS_H_
#define _NETISO_TP_EVENTS_H_
struct tp_event {
int ev_number;
struct timeval e_time;
@ -83,3 +87,5 @@ struct { u_char e_reason; } EV_T_DISC_req;
#define tp_NEVENTS 0x19
#define ATTR(X)ev_union.EV_/**/X/**/
#endif

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)tp_ip.h 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: tp_ip.h,v 1.2 1994/08/02 07:51:13 davidg Exp $
*/
#ifndef _NETISO_TP_IP_H_
#define _NETISO_TP_IP_H_
/***********************************************************
Copyright IBM Corporation 1987
@ -63,17 +66,13 @@ SOFTWARE.
/*
* ARGO TP
*
* $Header: /home/ncvs/src/sys/netiso/tp_ip.h,v 1.1.1.1 1994/05/24 10:06:53 rgrimes Exp $
* $Header: /home/ncvs/src/sys/netiso/tp_ip.h,v 1.2 1994/08/02 07:51:13 davidg Exp $
* $Source: /home/ncvs/src/sys/netiso/tp_ip.h,v $
*
* internet IP-dependent structures and include files
*
*/
#ifndef __TP_IP__
#define __TP_IP__
#ifndef SOCK_STREAM
#include <sys/socket.h>
#endif
@ -89,4 +88,4 @@ SOFTWARE.
struct inpcb tp_inpcb;
/* queue of active inpcbs for tp ; for tp with dod ip */
#endif /* __TP_IP__ */
#endif

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)tp_meas.h 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: tp_meas.h,v 1.2 1994/08/02 07:51:16 davidg Exp $
*/
#ifndef _NETISO_TP_MEAS_H_
#define _NETISO_TP_MEAS_H_
/***********************************************************
Copyright IBM Corporation 1987
@ -93,3 +96,4 @@ extern struct tp_Meas tp_Meas[];
#define TPtime_close 0x09
#endif /* TP_PERF_MEAS */
#endif

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)tp_param.h 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: tp_param.h,v 1.2 1994/08/02 07:51:19 davidg Exp $
*/
#ifndef _NETISO_TP_PARAM_H_
#define _NETISO_TP_PARAM_H_
/***********************************************************
Copyright IBM Corporation 1987
@ -63,15 +66,11 @@ SOFTWARE.
/*
* ARGO TP
*
* $Header: /home/ncvs/src/sys/netiso/tp_param.h,v 1.1.1.1 1994/05/24 10:06:50 rgrimes Exp $
* $Header: /home/ncvs/src/sys/netiso/tp_param.h,v 1.2 1994/08/02 07:51:19 davidg Exp $
* $Source: /home/ncvs/src/sys/netiso/tp_param.h,v $
*
*/
#ifndef __TP_PARAM__
#define __TP_PARAM__
/******************************************************
* compile time parameters that can be changed
*****************************************************/
@ -365,4 +364,4 @@ extern int tp_rttadd, tp_rttdiv;
#endif /* tp_NSTATES */
#endif /* KERNEL */
#endif /* __TP_PARAM__ */
#endif

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)tp_pcb.h 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: tp_pcb.h,v 1.2 1994/08/02 07:51:21 davidg Exp $
*/
#ifndef _NETISO_TP_PCB_H_
#define _NETISO_TP_PCB_H_
/***********************************************************
Copyright IBM Corporation 1987
@ -63,7 +66,7 @@ SOFTWARE.
/*
* ARGO TP
*
* $Header: /home/ncvs/src/sys/netiso/tp_pcb.h,v 1.1.1.1 1994/05/24 10:06:49 rgrimes Exp $
* $Header: /home/ncvs/src/sys/netiso/tp_pcb.h,v 1.2 1994/08/02 07:51:21 davidg Exp $
* $Source: /home/ncvs/src/sys/netiso/tp_pcb.h,v $
*
*
@ -71,9 +74,6 @@ SOFTWARE.
* and a bunch of #define values that are used in the tpcb.
*/
#ifndef __TP_PCB__
#define __TP_PCB__
#include <netiso/tp_param.h>
#include <netiso/tp_timer.h>
#include <netiso/tp_user.h>
@ -354,4 +354,4 @@ extern struct tp_pcb *tp_ftimeolist;
#define tpcbtoso(tp) ((struct socket *)((tp)->tp_sock))
#define tpcbtoref(tp) ((struct tp_ref *)((tp)->tp_ref))
#endif /* __TP_PCB__ */
#endif

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)tp_seq.h 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: tp_seq.h,v 1.2 1994/08/02 07:51:22 davidg Exp $
*/
#ifndef _NETISO_TP_SEQ_H_
#define _NETISO_TP_SEQ_H_
/***********************************************************
Copyright IBM Corporation 1987
@ -63,7 +66,7 @@ SOFTWARE.
/*
* ARGO TP
*
* $Header: /home/ncvs/src/sys/netiso/tp_seq.h,v 1.1.1.1 1994/05/24 10:06:48 rgrimes Exp $
* $Header: /home/ncvs/src/sys/netiso/tp_seq.h,v 1.2 1994/08/02 07:51:22 davidg Exp $
* $Source: /home/ncvs/src/sys/netiso/tp_seq.h,v $
*
* These macros perform sequence number arithmetic modulo (2**7 or 2**31).
@ -74,9 +77,6 @@ SOFTWARE.
* Not exactly fast, but at least it's maintainable.
*/
#ifndef __TP_SEQ__
#define __TP_SEQ__
#define SEQ(tpcb,x) \
((x) & (tpcb)->tp_seqmask)
@ -122,4 +122,4 @@ SOFTWARE.
#define IN_SWINDOW(tpcb, seq, lwe, uwe)\
( SEQ_GT(tpcb, seq, lwe) && SEQ_LEQ(tpcb, seq, uwe) )
#endif /* __TP_SEQ__ */
#endif

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)tp_stat.h 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: tp_stat.h,v 1.2 1994/08/02 07:51:23 davidg Exp $
*/
#ifndef _NETISO_TP_STAT_H_
#define _NETISO_TP_STAT_H_
/***********************************************************
Copyright IBM Corporation 1987
@ -63,16 +66,13 @@ SOFTWARE.
/*
* ARGO TP
*
* $Header: /home/ncvs/src/sys/netiso/tp_stat.h,v 1.1.1.1 1994/05/24 10:06:47 rgrimes Exp $
* $Header: /home/ncvs/src/sys/netiso/tp_stat.h,v 1.2 1994/08/02 07:51:23 davidg Exp $
* $Source: /home/ncvs/src/sys/netiso/tp_stat.h,v $
*
* Here are the data structures in which the global
* statistics(counters) are gathered.
*/
#ifndef __TP_STAT__
#define __TP_STAT__
struct tp_stat {
u_long ts_param_ignored;
u_long ts_unused3;
@ -281,4 +281,4 @@ int PStat_Junk;
#endif /* TP_PERF_MEAS */
#endif /* __TP_STAT__ */
#endif

View File

@ -1,6 +1,10 @@
/*
* $Id: tp_states.h,v 1.2 1994/08/02 07:51:24 davidg Exp $
* $Id: tp_states.h,v 1.3 1994/08/05 12:33:30 davidg Exp $
*/
#ifndef _NETISO_TP_STATES_H_
#define _NETISO_TP_STATES_H_
#define ST_ERROR 0x0
#define TP_CLOSED 0x1
#define TP_CRSENT 0x2
@ -12,3 +16,5 @@
#define TP_CONFIRMING 0x8
#define tp_NSTATES 0x9
#endif

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)tp_timer.h 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: tp_timer.h,v 1.2 1994/08/02 07:51:28 davidg Exp $
*/
#ifndef _NETISO_TP_TIMER_H_
#define _NETISO_TP_TIMER_H_
/***********************************************************
Copyright IBM Corporation 1987
@ -63,16 +66,13 @@ SOFTWARE.
/*
* ARGO TP
*
* $Header: /home/ncvs/src/sys/netiso/tp_timer.h,v 1.1.1.1 1994/05/24 10:06:43 rgrimes Exp $
* $Header: /home/ncvs/src/sys/netiso/tp_timer.h,v 1.2 1994/08/02 07:51:28 davidg Exp $
* $Source: /home/ncvs/src/sys/netiso/tp_timer.h,v $
*
* ARGO TP
* The callout structures used by the tp timers.
*/
#ifndef __TP_TIMER__
#define __TP_TIMER__
#define SET_DELACK(t) {\
(t)->tp_flags |= TPF_DELACK; \
if ((t)->tp_fasttimeo == 0)\
@ -91,4 +91,4 @@ SOFTWARE.
{ if((p)->tp_timer[w] > (t)) (p)->tp_timer[w] = (t);}
#endif /* TP_DEBUG_TIMERS */
#endif /* __TP_TIMER__ */
#endif

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)tp_tpdu.h 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: tp_tpdu.h,v 1.2 1994/08/02 07:51:29 davidg Exp $
*/
#ifndef _NETISO_TP_TPDU_H_
#define _NETISO_TP_TPDU_H_
/***********************************************************
Copyright IBM Corporation 1987
@ -63,16 +66,13 @@ SOFTWARE.
/*
* ARGO TP
*
* $Header: /home/ncvs/src/sys/netiso/tp_tpdu.h,v 1.1.1.1 1994/05/24 10:06:43 rgrimes Exp $
* $Header: /home/ncvs/src/sys/netiso/tp_tpdu.h,v 1.2 1994/08/02 07:51:29 davidg Exp $
* $Source: /home/ncvs/src/sys/netiso/tp_tpdu.h,v $
*
* This ghastly set of macros makes it possible to
* refer to tpdu structures without going mad.
*/
#ifndef __TP_TPDU__
#define __TP_TPDU__
#ifndef BYTE_ORDER
/*
* Definitions for byte order,
@ -294,4 +294,4 @@ struct tpdu {
union tpdu_fixed_rest _tpdufr;
};
#endif /* __TP_TPDU__ */
#endif

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)tp_trace.h 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: tp_trace.h,v 1.2 1994/08/02 07:51:31 davidg Exp $
*/
#ifndef _NETISO_TP_TRACE_H_
#define _NETISO_TP_TRACE_H_
/***********************************************************
Copyright IBM Corporation 1987
@ -63,17 +66,13 @@ SOFTWARE.
/*
* ARGO TP
*
* $Header: /home/ncvs/src/sys/netiso/tp_trace.h,v 1.1.1.1 1994/05/24 10:06:42 rgrimes Exp $
* $Header: /home/ncvs/src/sys/netiso/tp_trace.h,v 1.2 1994/08/02 07:51:31 davidg Exp $
* $Source: /home/ncvs/src/sys/netiso/tp_trace.h,v $
*
*
* Definitions needed for the protocol trace mechanism.
*/
#ifndef __TP_TRACE__
#define __TP_TRACE__
#define TPPTsendack 1
#define TPPTgotack 2
#define TPPTXack 3
@ -194,6 +193,4 @@ int tp_Tracen = 0;
#endif /* TPPT */
#endif /* __TP_TRACE__ */
#endif

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)tp_user.h 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: tp_user.h,v 1.2 1994/08/02 07:51:32 davidg Exp $
*/
#ifndef _NETISO_TP_USER_H_
#define _NETISO_TP_USER_H_
/***********************************************************
Copyright IBM Corporation 1987
@ -63,7 +66,7 @@ SOFTWARE.
/*
* ARGO TP
*
* $Header: /home/ncvs/src/sys/netiso/tp_user.h,v 1.1.1.1 1994/05/24 10:06:41 rgrimes Exp $
* $Header: /home/ncvs/src/sys/netiso/tp_user.h,v 1.2 1994/08/02 07:51:32 davidg Exp $
* $Source: /home/ncvs/src/sys/netiso/tp_user.h,v $
*
* These are the values a real-live user ;-) needs.
@ -73,9 +76,6 @@ SOFTWARE.
#include <sys/types.h>
#endif
#ifndef __TP_USER__
#define __TP_USER__
struct tp_conn_param {
/* PER CONNECTION parameters */
short p_Nretrans;
@ -160,4 +160,4 @@ struct tp_disc_reason {
*/
#endif /* __TP_USER__ */
#endif

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)tuba_table.h 8.1 (Berkeley) 6/10/93
* $Id$
* $Id: tuba_table.h,v 1.2 1994/08/02 07:51:37 davidg Exp $
*/
#ifndef _NETISO_TUBA_TABLE_H_
#define _NETISO_TUBA_TABLE_H_
struct tuba_cache {
struct radix_node tc_nodes[2]; /* convenient lookup */
int tc_refcnt;
@ -58,3 +61,5 @@ extern int tuba_table_size;
extern struct tuba_cache **tuba_table;
extern struct radix_node_head *tuba_tree;
#endif
#endif