diff options
author | paul <paul@FreeBSD.org> | 1994-08-21 06:14:33 +0000 |
---|---|---|
committer | paul <paul@FreeBSD.org> | 1994-08-21 06:14:33 +0000 |
commit | bf2ae5d599a2f5a9f638828f93c045982405b000 (patch) | |
tree | 8de245885aa7bc7e724c07a5a133cf6ca5906468 /sys | |
parent | d896477249299bf76589d974f61d8c8f8a1d2cba (diff) | |
download | FreeBSD-src-bf2ae5d599a2f5a9f638828f93c045982405b000.zip FreeBSD-src-bf2ae5d599a2f5a9f638828f93c045982405b000.tar.gz |
Made idempotent -- made some of them more consistent with rest of tree.
Reviewed by:
Submitted by:
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netiso/argo_debug.h | 11 | ||||
-rw-r--r-- | sys/netiso/clnl.h | 7 | ||||
-rw-r--r-- | sys/netiso/clnp.h | 9 | ||||
-rw-r--r-- | sys/netiso/clnp_stat.h | 13 | ||||
-rw-r--r-- | sys/netiso/cltp_var.h | 7 | ||||
-rw-r--r-- | sys/netiso/cons.h | 9 | ||||
-rw-r--r-- | sys/netiso/cons_pcb.h | 9 | ||||
-rw-r--r-- | sys/netiso/eonvar.h | 7 | ||||
-rw-r--r-- | sys/netiso/esis.h | 9 | ||||
-rw-r--r-- | sys/netiso/iso.h | 13 | ||||
-rw-r--r-- | sys/netiso/iso_errno.h | 10 | ||||
-rw-r--r-- | sys/netiso/iso_pcb.h | 9 | ||||
-rw-r--r-- | sys/netiso/iso_snpac.h | 7 | ||||
-rw-r--r-- | sys/netiso/iso_var.h | 9 | ||||
-rw-r--r-- | sys/netiso/tp_clnp.h | 13 | ||||
-rw-r--r-- | sys/netiso/tp_events.h | 8 | ||||
-rw-r--r-- | sys/netiso/tp_ip.h | 13 | ||||
-rw-r--r-- | sys/netiso/tp_meas.h | 6 | ||||
-rw-r--r-- | sys/netiso/tp_param.h | 13 | ||||
-rw-r--r-- | sys/netiso/tp_pcb.h | 12 | ||||
-rw-r--r-- | sys/netiso/tp_seq.h | 12 | ||||
-rw-r--r-- | sys/netiso/tp_stat.h | 12 | ||||
-rw-r--r-- | sys/netiso/tp_states.h | 8 | ||||
-rw-r--r-- | sys/netiso/tp_timer.h | 12 | ||||
-rw-r--r-- | sys/netiso/tp_tpdu.h | 12 | ||||
-rw-r--r-- | sys/netiso/tp_trace.h | 15 | ||||
-rw-r--r-- | sys/netiso/tp_user.h | 12 | ||||
-rw-r--r-- | sys/netiso/tuba_table.h | 7 |
28 files changed, 175 insertions, 109 deletions
diff --git a/sys/netiso/argo_debug.h b/sys/netiso/argo_debug.h index 7aff1c2..6adcd52 100644 --- a/sys/netiso/argo_debug.h +++ b/sys/netiso/argo_debug.h @@ -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 diff --git a/sys/netiso/clnl.h b/sys/netiso/clnl.h index ff5451a..2bc739e 100644 --- a/sys/netiso/clnl.h +++ b/sys/netiso/clnl.h @@ -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 diff --git a/sys/netiso/clnp.h b/sys/netiso/clnp.h index 541204b..be162f3 100644 --- a/sys/netiso/clnp.h +++ b/sys/netiso/clnp.h @@ -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 diff --git a/sys/netiso/clnp_stat.h b/sys/netiso/clnp_stat.h index dff55ad..3361342 100644 --- a/sys/netiso/clnp_stat.h +++ b/sys/netiso/clnp_stat.h @@ -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 diff --git a/sys/netiso/cltp_var.h b/sys/netiso/cltp_var.h index 7c4948c..122a272 100644 --- a/sys/netiso/cltp_var.h +++ b/sys/netiso/cltp_var.h @@ -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 diff --git a/sys/netiso/cons.h b/sys/netiso/cons.h index 5b0faed..60b4996 100644 --- a/sys/netiso/cons.h +++ b/sys/netiso/cons.h @@ -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 diff --git a/sys/netiso/cons_pcb.h b/sys/netiso/cons_pcb.h index c132b56..95ac89f 100644 --- a/sys/netiso/cons_pcb.h +++ b/sys/netiso/cons_pcb.h @@ -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 diff --git a/sys/netiso/eonvar.h b/sys/netiso/eonvar.h index 9466526..edbc46d 100644 --- a/sys/netiso/eonvar.h +++ b/sys/netiso/eonvar.h @@ -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 diff --git a/sys/netiso/esis.h b/sys/netiso/esis.h index 3176036..1b864c9 100644 --- a/sys/netiso/esis.h +++ b/sys/netiso/esis.h @@ -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 diff --git a/sys/netiso/iso.h b/sys/netiso/iso.h index ad5043d..089d85e 100644 --- a/sys/netiso/iso.h +++ b/sys/netiso/iso.h @@ -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 diff --git a/sys/netiso/iso_errno.h b/sys/netiso/iso_errno.h index 3516908..184fd2c 100644 --- a/sys/netiso/iso_errno.h +++ b/sys/netiso/iso_errno.h @@ -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 diff --git a/sys/netiso/iso_pcb.h b/sys/netiso/iso_pcb.h index 015d578..1431363 100644 --- a/sys/netiso/iso_pcb.h +++ b/sys/netiso/iso_pcb.h @@ -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 diff --git a/sys/netiso/iso_snpac.h b/sys/netiso/iso_snpac.h index 3bc1114..180a438 100644 --- a/sys/netiso/iso_snpac.h +++ b/sys/netiso/iso_snpac.h @@ -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 diff --git a/sys/netiso/iso_var.h b/sys/netiso/iso_var.h index b470db1..d260de5 100644 --- a/sys/netiso/iso_var.h +++ b/sys/netiso/iso_var.h @@ -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 diff --git a/sys/netiso/tp_clnp.h b/sys/netiso/tp_clnp.h index aecca19..528e3f0 100644 --- a/sys/netiso/tp_clnp.h +++ b/sys/netiso/tp_clnp.h @@ -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 diff --git a/sys/netiso/tp_events.h b/sys/netiso/tp_events.h index 6837904..16d622b 100644 --- a/sys/netiso/tp_events.h +++ b/sys/netiso/tp_events.h @@ -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 diff --git a/sys/netiso/tp_ip.h b/sys/netiso/tp_ip.h index 63a50cc..0849813 100644 --- a/sys/netiso/tp_ip.h +++ b/sys/netiso/tp_ip.h @@ -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 diff --git a/sys/netiso/tp_meas.h b/sys/netiso/tp_meas.h index ab61124..5613db5 100644 --- a/sys/netiso/tp_meas.h +++ b/sys/netiso/tp_meas.h @@ -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 diff --git a/sys/netiso/tp_param.h b/sys/netiso/tp_param.h index 16d4153..a9c0ff2 100644 --- a/sys/netiso/tp_param.h +++ b/sys/netiso/tp_param.h @@ -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 diff --git a/sys/netiso/tp_pcb.h b/sys/netiso/tp_pcb.h index 86e414d..bfdc134 100644 --- a/sys/netiso/tp_pcb.h +++ b/sys/netiso/tp_pcb.h @@ -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 diff --git a/sys/netiso/tp_seq.h b/sys/netiso/tp_seq.h index 046f38b..2441e6a 100644 --- a/sys/netiso/tp_seq.h +++ b/sys/netiso/tp_seq.h @@ -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 diff --git a/sys/netiso/tp_stat.h b/sys/netiso/tp_stat.h index c18869d..c5a3f3f 100644 --- a/sys/netiso/tp_stat.h +++ b/sys/netiso/tp_stat.h @@ -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 diff --git a/sys/netiso/tp_states.h b/sys/netiso/tp_states.h index 8b3514c..aff73fe 100644 --- a/sys/netiso/tp_states.h +++ b/sys/netiso/tp_states.h @@ -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 diff --git a/sys/netiso/tp_timer.h b/sys/netiso/tp_timer.h index 966745b..0ee6182 100644 --- a/sys/netiso/tp_timer.h +++ b/sys/netiso/tp_timer.h @@ -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 diff --git a/sys/netiso/tp_tpdu.h b/sys/netiso/tp_tpdu.h index 5779d5d..c281ecf 100644 --- a/sys/netiso/tp_tpdu.h +++ b/sys/netiso/tp_tpdu.h @@ -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 diff --git a/sys/netiso/tp_trace.h b/sys/netiso/tp_trace.h index b6b36e2..fb5365f 100644 --- a/sys/netiso/tp_trace.h +++ b/sys/netiso/tp_trace.h @@ -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 diff --git a/sys/netiso/tp_user.h b/sys/netiso/tp_user.h index 557d12a..3916865 100644 --- a/sys/netiso/tp_user.h +++ b/sys/netiso/tp_user.h @@ -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 diff --git a/sys/netiso/tuba_table.h b/sys/netiso/tuba_table.h index 5015446..5d2b2fd 100644 --- a/sys/netiso/tuba_table.h +++ b/sys/netiso/tuba_table.h @@ -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 |